[FFmpeg-devel] [PATCH 1/2] movenc: Add an option for enabling negative CTS offsets

Michael Niedermayer michael at niedermayer.cc
Sun Sep 24 20:37:29 EEST 2017


On Sat, Sep 23, 2017 at 06:44:44PM +0300, Jan Ekström wrote:
> From: Martin Storsjö <martin at martin.st>
> 
> This reduces the need for an edit list; streams that start with
> e.g. dts=-1, pts=0 can be encoded as dts=0, pts=0 (which is valid
> in mov/mp4) by shifting the dts values of all packets forward.
> This avoids the need for edit lists for such streams (while they
> still are needed for audio streams with encoder delay).
> 
> This eases conformance with the DASH-IF interoperability guidelines.
> 
> Signed-off-by: Martin Storsjö <martin at martin.st>
> ---
>  libavformat/movenc.c | 28 ++++++++++++++++++++++++----
>  libavformat/movenc.h |  2 ++
>  2 files changed, 26 insertions(+), 4 deletions(-)

This is missing a update to the docs

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170924/85d37da9/attachment.sig>


More information about the ffmpeg-devel mailing list