FAQ  •  Register  •  Login

forcing ffmpeg's file level concatenation demuxer

<<

jules

DLNA master

Posts: 173

Joined: Sat Feb 02, 2013 10:21 am

Post Tue Mar 25, 2014 5:27 pm

forcing ffmpeg's file level concatenation demuxer

Hey all,

I'm currently trying to write/test a plugin for comedy central and I've got the writing part down, however, in order to comfortably view the episodes, which are cut into several mp4(h264/aac) segments, i'd need to have "-f concat" appended to ffmpeg's command line (outside of the url parameter).

See this post for more information/syntax: http://stackoverflow.com/a/11175851.
  • the concat protocol won't work because mp4 can't be concatenated at file level,
  • the video filter would require adding a lot of other parameters, and
  • the concat demuxer is probably the cleanest solution with the lowest overhead/error-proneness.

Any way of making this happen? Segmented video is pretty common on the internet for advertising/storage reasons.


On a sidenote: My solution would have been to have the plugin create temporary files using File.createTempFile() containing the "file '<url>'" syntax. If someone happens to have a better, portable solution, I'd be quite happy to hear it.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Mar 25, 2014 7:21 pm

Re: forcing ffmpeg's file level concatenation demuxer

It's currently not possible. I'm going to be working on some concat tickets for local files for 1.5, maybe it could be reused there.
<<

jules

DLNA master

Posts: 173

Joined: Sat Feb 02, 2013 10:21 am

Post Tue Mar 25, 2014 10:55 pm

Re: forcing ffmpeg's file level concatenation demuxer

would be great. are these tickets public so i can subscribe to updates?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Mar 27, 2014 9:49 am

Re: forcing ffmpeg's file level concatenation demuxer

yes, on bitbucket. viewtopic.php?f=5&t=2

Return to Plugin development

Who is online

Users browsing this forum: No registered users and 15 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.