[FFmpeg-devel] [PATCH] doc/ffmpeg: extend -dts_delta_threshold option description

Stefano Sabatini stefasab at gmail.com
Wed Jan 25 03:07:44 EET 2023


---
 doc/ffmpeg.texi | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 67b3294256..122f7e3387 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -1823,8 +1823,21 @@ results, but increase memory use and latency.
 
 The default value is 10 seconds.
 
- at item -dts_delta_threshold
-Timestamp discontinuity delta threshold.
+ at item -dts_delta_threshold @var{threshold}
+Timestamp discontinuity delta threshold, expressed as a floating point
+number of @var{AV_TIME_BASE} units.
+
+If a timestamp discontinuity is detected whose absolute value is
+greater than @var{threshold} * @var{AV_TIME_BASE}, ffmpeg will remove the
+discontinuity by decreasing/increasing the current DTS and PTS by the
+corresponding delta value.
+
+Timestamp discontinuity correction can be inhibited by setting a big value for
+ at var{threshold}, and is automatically disabled when employing the
+ at code{-copy_ts} option.
+
+Default value is 10.
+
 @item -dts_error_threshold @var{seconds}
 Timestamp error delta threshold. This threshold use to discard crazy/damaged
 timestamps and the default is 30 hours which is arbitrarily picked and quite
-- 
2.25.1



More information about the ffmpeg-devel mailing list