summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-09 19:45:58 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-13 21:00:26 +0100
commit99a4d166583ba160627abf59dcff8f28c3c2d423 (patch)
tree6c92c5ff325646b739f58f119dbb8c07bb5cd3de /doc
parent46309f262c97ec125857897df1dfb76826e538c6 (diff)
avformat/matroskaenc: Add option to shift data to write cues at front
This is similar to the faststart option of the mov muxer, yet in contrast to it it works together with reserve_index_space (the equivalent to reserved_moov_size): If the reserved space does not suffice, the data is shifted; if not, the Cues are written at the front without shifting the data. Several tests that cover (not only) this have been added. Implements #7017. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/muxers.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index 1ea98a69a3..c49ae3a17b 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -1567,6 +1567,15 @@ A safe size for most use cases should be about 50kB per hour of video.
Note that cues are only written if the output is seekable and this option will
have no effect if it is not.
+
+@item cues_to_front
+If set, the muxer will write the index at the beginning of the file
+by shifting the main data if necessary. This can be combined with
+reserve_index_space in which case the data is only shifted if
+the initially reserved space turns out to be insufficient.
+
+This option is ignored if the output is unseekable.
+
@item default_mode
This option controls how the FlagDefault of the output tracks will be set.
It influences which tracks players should play by default. The default mode