]> git.sesse.net Git - ffmpeg/commitdiff
doc/ffmpeg: document adrift_threshold
authorGyan Doshi <ffmpeg@gyani.pro>
Sat, 23 Jan 2021 11:11:40 +0000 (16:41 +0530)
committerGyan Doshi <ffmpeg@gyani.pro>
Sat, 23 Jan 2021 11:13:51 +0000 (16:43 +0530)
doc/ffmpeg.texi

index 96f6737412f039850e33b64c07984368a754f3bd..d0d630a0ec72825c57f69a3351c6807cda948b26 100644 (file)
@@ -1505,6 +1505,12 @@ is enabled.
 
 This option has been deprecated. Use the @code{aresample} audio filter instead.
 
+@item -adrift_threshold @var{time}
+Set the minimum difference between timestamps and audio data (in seconds) to trigger
+adding/dropping samples to make it match the timestamps. This option effectively is
+a threshold to select between hard (add/drop) and soft (squeeze/stretch) compensation.
+@code{-async} must be set to a positive value.
+
 @item -copyts
 Do not process input timestamps, but keep their values without trying
 to sanitize them. In particular, do not remove the initial start time