[FFmpeg-devel] [PATCH] lavf/segment: extend format for the segment list file

Stefano Sabatini stefasab at gmail.com
Wed Jul 4 01:35:14 CEST 2012

On date Monday 2012-07-02 20:54:20 -0400, gordon pendleton encoded:
> On Mon, Jul 2, 2012 at 8:14 PM, Stefano Sabatini <stefasab at gmail.com> wrote:
> > On date Monday 2012-07-02 19:39:59 -0400, gordon pendleton encoded:
> > > What about if you have an option to generate different types of lists?
> >  The
> > > simple default list if no option is present.  Then an .m3u8 list with
> > > durations if specified?
> >
> > Uhm... honestly I'm not so eager about that, considering that the
> > generated list may need to be customized (e.g. specifying file
> > prefixes), and I'd prefer to avoid to add more and more
> > format-specific options, especially when writing a custom script for a
> > specific format is trivial.
> > 

> Fair enough.  I think it would be beneficial to have the duration of each
> segment though without having to re-parse them. I just suggested m3u
> because it is simple to prefix each segment entry with #EXTINF: 123.321 for
> duration and wouldn't cause a backwards incompatible change.

We could eventually add a script in tools for parsing and writing a
corresponding m3u file (well, I actually already have it).
FFmpeg = Fast & Fantastic MultiPurpose Entertaining Guru

More information about the ffmpeg-devel mailing list