aboutsummaryrefslogtreecommitdiffstats
path: root/doc/formats.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2015-06-01 17:15:20 +0200
committerStefano Sabatini <stefasab@gmail.com>2015-06-01 18:34:40 +0200
commit56fe1bb9b373e69e19c6ea7fec40efb5935432a9 (patch)
tree42e8df62b656f9ef929015b40088b4c32c7e5fb2 /doc/formats.texi
parent627dd7fe7ee68259a76c742ea9fdb0916101d152 (diff)
downloadffmpeg-56fe1bb9b373e69e19c6ea7fec40efb5935432a9.tar.gz
doc/formats.texi: document max_interlave_delta muxing option
The option was added in commit d9ae1031f5edbd25c8526b4cb51aba66d3bee931 but it was never documented. The text is based on the one written by the commit author for the corresponding AVFormatContext.max_interleave_delta field.
Diffstat (limited to 'doc/formats.texi')
-rw-r--r--doc/formats.texi19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/formats.texi b/doc/formats.texi
index aa39d4bdef..617cda54a9 100644
--- a/doc/formats.texi
+++ b/doc/formats.texi
@@ -127,6 +127,25 @@ Consider all spec non compliancies as errors.
Consider things that a sane encoder should not do as an error.
@end table
+@item max_interleave_delta @var{integer} (@emph{output})
+Set maximum buffering duration for interleaving. The duration is
+expressed in microseconds, and defaults to 1000000 (1 second).
+
+To ensure all the streams are interleaved correctly, libavformat will
+wait until it has at least one packet for each stream before actually
+writing any packets to the output file. When some streams are
+"sparse" (i.e. there are large gaps between successive packets), this
+can result in excessive buffering.
+
+This field specifies the maximum difference between the timestamps of the
+first and the last packet in the muxing queue, above which libavformat
+will output a packet regardless of whether it has queued a packet for all
+the streams.
+
+If set to 0, libavformat will continue buffering packets until it has
+a packet for each stream, regardless of the maximum timestamp
+difference between the buffered packets.
+
@item use_wallclock_as_timestamps @var{integer} (@emph{input})
Use wallclock as timestamps.