[FFmpeg-devel] [PATCH] doc/ffmpeg, formats: avoid to mention ffmpeg options from formats.texi
Stefano Sabatini
stefasab at gmail.com
Tue Mar 19 00:11:15 CET 2013
Also extends documentation for timestamp related ffmpeg options, in order
to make more apparent the fact that muxer processing may change the
timestamps values.
---
doc/ffmpeg-formats.texi | 5 -----
doc/ffmpeg.texi | 10 +++++++++-
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/doc/ffmpeg-formats.texi b/doc/ffmpeg-formats.texi
index 95725e3..63b69e3 100644
--- a/doc/ffmpeg-formats.texi
+++ b/doc/ffmpeg-formats.texi
@@ -148,11 +148,6 @@ When shifting is enabled, all output timestamps are shifted by the
same amount. Audio, video, and subtitles desynching and relative
timestamp differences are preserved compared to how they would have
been without shifting.
-
-When avoid_negative_ts is used together with copyts, vsync or async then
-avoid_negative_ts is applied last. This is neccessary so that containers
-which do not support negative timestamps wont get any and can be used
-with vsync/async and copyts.
@end table
@c man end FORMAT OPTIONS
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 00c9b25..e1c663a 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -902,6 +902,9 @@ Chooses between 1 and 2 depending on muxer capabilities. This is the
default method.
@end table
+Note that timestamps may be further modified by the muxer, for example
+in case the format option @option{avoid_negative_ts} is enabled.
+
With -map you can select from which stream the timestamps should be
taken. You can leave either video or audio unchanged and sync the
remaining stream(s) to the unchanged one.
@@ -911,6 +914,10 @@ Audio sync method. "Stretches/squeezes" the audio stream to match the timestamps
the parameter is the maximum samples per second by which the audio is changed.
-async 1 is a special case where only the start of the audio stream is corrected
without any later correction.
+
+Note that timestamps may be further modified by the muxer, for example
+in case the format option @option{avoid_negative_ts} is enabled.
+
This option has been deprecated. Use the @code{aresample} audio filter instead.
@item -copyts
@@ -919,7 +926,8 @@ to sanitize them. In particular, do not remove the initial start time
offset value.
Note that, depending on the @option{vsync} option or on specific muxer
-processing, the output timestamps may mismatch with the input
+processing (e.g. in case the format option @option{avoid_negative_ts}
+is enabled) the output timestamps may mismatch with the input
timestamps even when this option is selected.
@item -copytb @var{mode}
--
1.7.9.5
More information about the ffmpeg-devel
mailing list