[FFmpeg-devel] [PATCH] lavf/segment: add -segment_delta option

Stefano Sabatini stefasab at gmail.com
Sun Jul 8 17:48:59 CEST 2012


On date Saturday 2012-07-07 17:53:50 +0200, Michael Niedermayer encoded:
> On Wed, Jul 04, 2012 at 01:50:55AM +0200, Stefano Sabatini wrote:
[...]
> >  @table @option
> > + at item segment_delta @var{delta}
> > +Specify the accuracy in seconds when selecting the start time for a
> > +segment. Default value is "0".
> > +
> > +This is especially useful with video segments, which are split at GOP
> > +boundaries. When delta is specified a given key-frame is selected if
> > +its PTS satisfies the relation:
> > + at example
> > +PTS >= start_time - delta
> > + at end example
> 
> this description is hard to understand, otherwise patch LGTM
> 
> Maybe it would be clearer if the problem segment_delta solves would
> be described, or maybe the effect of a larger or small delta could
> be described

Added a more extensive explanation, together with a complete example.
-- 
FFmpeg = Friendly and Faithless Moronic Proud Elastic Geek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-lavf-segment-add-segment_time_delta-option.patch
Type: text/x-diff
Size: 4974 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120708/d652260c/attachment.bin>


More information about the ffmpeg-devel mailing list