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

gordon pendleton wgordonw1 at gmail.com
Tue Jul 3 02:54:20 CEST 2012

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.

More information about the ffmpeg-devel mailing list