[FFmpeg-devel] [PATCH] ffmpeg: add otsoffset option

Stefano Sabatini stefasab at gmail.com
Mon Jan 27 19:53:33 CET 2014

On date Thursday 2014-01-23 23:00:25 +0100, Michael Niedermayer encoded:
> On Thu, Jan 23, 2014 at 06:47:36PM +0100, Stefano Sabatini wrote:
> > This option is useful to add a given offset to the output. Since it works
> > at the muxing level, it doesn't need transcoding.
> > 
> > This is slightly more convenient to use than -itsoffset, since it only
> > works with -copyts, while the new option allows to set the absolute
> > offset when -copyts is not selected.

> if the option works at the muxer level then implemegting it in
> libavformat would have the advantage that it would be available to
> all libavformtat using applications and not just ffmpeg.c

Done like that, feel free to nitpick about names.

Note: I'm not sure about the av_format_get_output_ts_offset()
accessors, should I keep them or let the user set them via the
AVOption API?
FFmpeg = Faithless Fostering MultiPurpose Exploitable Gigant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-lavf-add-output_ts_offset-option.patch
Type: text/x-diff
Size: 4793 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140127/6b8d716f/attachment.bin>

More information about the ffmpeg-devel mailing list