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

Clément Bœsch ubitux at gmail.com
Wed Jul 4 09:43:29 CEST 2012


On Wed, Jul 04, 2012 at 01:38:15AM +0200, Stefano Sabatini wrote:
> On date Tuesday 2012-07-03 01:38:16 +0200, Stefano Sabatini encoded:
> > On date Friday 2012-06-29 17:18:47 +0200, Stefano Sabatini encoded:
> > > Write the start and ending time for each segment. This is required to
> > > make it available this information to external tools without the need
> > > to perform file analysis in the resulting segments.
> > 
> > I'm less sure about this, since it breaks the syntax of the list
> > file. I can eventually add an option for enabling this extension.
> 
> Updated.
> 
> I'm thinking about:
> -segment_list_extend 1 -segment_list out.list
> 
> or
> -segment_list_flags +time
> 
> which looks a bit verbose.
> 
> Alternatively:
> -segment_xlist out.list
> 
> but would clutter the code a bit and is not very extensible at all.
> 
> Alternatively I can break the syntax, as in the current patch.

Is that all the extra information you will ever need?

What about something like:
   -segment_list_values n,file,start,end
   -segment_list_sep ,
?

So it's easy to later add an extra information field, and might ease a
second pass for a script.

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120704/4cc81ac7/attachment.asc>


More information about the ffmpeg-devel mailing list