aboutsummaryrefslogtreecommitdiff
path: root/doc/formats.texi
diff options
context:
space:
mode:
authorStefano Sabatini2014-01-27 19:16:45 +0100
committerStefano Sabatini2014-02-02 13:16:17 +0100
commit5871ee5072f725fce77cd51597ee91570de3743d (patch)
treed468a50fff2ad91786ff18475128203015dacc50 /doc/formats.texi
parenta535d3952c66b93fc96752421da46ce2fd96158a (diff)
lavf: add output_ts_offset option to AVFormatContext
This option can be generally useful to set an output offset, needed when setting an absolute index in the output.
Diffstat (limited to 'doc/formats.texi')
-rw-r--r--doc/formats.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/formats.texi b/doc/formats.texi
index ba9d2776ef..bdd144e451 100644
--- a/doc/formats.texi
+++ b/doc/formats.texi
@@ -148,6 +148,18 @@ Correct single timestamp overflows if set to 1. Default is 1.
Flush the underlying I/O stream after each packet. Default 1 enables it, and
has the effect of reducing the latency; 0 disables it and may slightly
increase performance in some cases.
+
+@item output_ts_offset @var{offset} (@emph{output})
+Set the output time offset.
+
+@var{offset} must be a time duration specification,
+see @ref{time duration syntax,,the Time duration section in the ffmpeg-utils(1) manual,ffmpeg-utils}.
+
+The offset is added by the muxer to the output timestamps.
+
+Specifying a positive offset means that the corresponding streams are
+delayed bt the time duration specified in @var{offset}. Default value
+is @code{0} (meaning that no offset is applied).
@end table
@c man end FORMAT OPTIONS