summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2017-09-26 02:55:30 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2017-09-28 18:15:45 +0200
commit07e4be7ec94cbd8e674a260c939054f018d337eb (patch)
tree738af38f94f5311878c626dfeec1d10ac7589ef2 /doc
parentbf209013bff8f70facd9eada39009eff05f8e202 (diff)
movenc: Add an option for enabling negative CTS offsets
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/muxers.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index 38d93919e7..91bbe673c5 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -1117,6 +1117,12 @@ on the implicit end of the previous track fragment).
@item -write_tmcd
Specify @code{on} to force writing a timecode track, @code{off} to disable it
and @code{auto} to write a timecode track only for mov and mp4 output (default).
+@item -movflags negative_cts_offsets
+Enables utilization of version 1 of the CTTS box, in which the CTS offsets can
+be negative. This enables the initial sample to have DTS/CTS of zero, and
+reduces the need for edit lists for some cases such as video tracks with
+B-frames. Additionally, eases conformance with the DASH-IF interoperability
+guidelines.
@end table
@subsection Example