[FFmpeg-devel] [PATCH] ffmpeg: add otsoffset option
Michael Niedermayer
michaelni at gmx.at
Tue Jan 28 01:24:34 CET 2014
On Mon, Jan 27, 2014 at 07:53:33PM +0100, Stefano Sabatini wrote:
> 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?
whichever you prefer
patch LGTM
a fate test might also be a good idea
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
What does censorship reveal? It reveals fear. -- Julian Assange
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140128/4f36ff91/attachment.asc>
More information about the ffmpeg-devel
mailing list