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@martin.st>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/273/head
Martin Storsjö7 years agocommitted byMichael Niedermayer
{"use_metadata_tags","Use mdta atom for metadata.",0,AV_OPT_TYPE_CONST,{.i64=FF_MOV_FLAG_USE_MDTA},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},
{"skip_trailer","Skip writing the mfra/tfra/mfro trailer for fragmented files",0,AV_OPT_TYPE_CONST,{.i64=FF_MOV_FLAG_SKIP_TRAILER},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},
{"negative_cts_offsets","Use negative CTS offsets (reducing the need for edit lists)",0,AV_OPT_TYPE_CONST,{.i64=FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},