From d99cc1782563672bcdb46fb5ec51135847db8c99 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Mon, 1 Feb 2021 18:19:18 +0530 Subject: ffmpeg: add -fpsmax to clamp output framerate Useful when encoding in batch or with aberrant inputs. --- doc/ffmpeg.texi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') 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. -- cgit v1.2.3