summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGyan Doshi <ffmpeg@gyani.pro>2021-02-01 18:19:18 +0530
committerGyan Doshi <ffmpeg@gyani.pro>2021-02-05 22:54:18 +0530
commitd99cc1782563672bcdb46fb5ec51135847db8c99 (patch)
treeef4abee116e19db63157615b85f1b7b508a0a3ea /doc
parent6b8ef5119cab9e772c6afd23e474bbd543c47039 (diff)
ffmpeg: add -fpsmax to clamp output framerate
Useful when encoding in batch or with aberrant inputs.
Diffstat (limited to 'doc')
-rw-r--r--doc/ffmpeg.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 8eb012b7c0..b0d1cf0710 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -759,6 +759,13 @@ If in doubt use @option{-framerate} instead of the input option @option{-r}.
As an output option, duplicate or drop input frames to achieve constant output
frame rate @var{fps}.
+@item -fpsmax[:@var{stream_specifier}] @var{fps} (@emph{output,per-stream})
+Set maximum frame rate (Hz value, fraction or abbreviation).
+
+Clamps output frame rate when output framerate is auto-set and is higher than this value.
+Useful in batch processing or when input framerate is wrongly detected as very high.
+It cannot be set together with @code{-r}. It is ignored during streamcopy.
+
@item -s[:@var{stream_specifier}] @var{size} (@emph{input/output,per-stream})
Set frame size.