aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKeyun Tong <ktong@fb.com>2021-06-20 21:42:29 +0200
committerThilo Borgmann <thilo.borgmann@mail.de>2021-07-16 09:50:19 +0200
commitb7266302a40ba48fea7a5644f08623159b3dcac7 (patch)
tree20f3f62082c0ac96e44b5c74163732e12d5f24e3 /doc
parentb7e350af3e8eaeb4825646a4bcef7fa051bd0a73 (diff)
downloadffmpeg-b7266302a40ba48fea7a5644f08623159b3dcac7.tar.gz
fftools/ffmpeg: Add new variant source_no_drop to the force_key_frames option
Suggested-By: ffmpeg@fb.com
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 b27b9fe2c4..dad21c6ae6 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -1011,6 +1011,7 @@ Deprecated see -bsf
@item -force_key_frames[:@var{stream_specifier}] @var{time}[,@var{time}...] (@emph{output,per-stream})
@item -force_key_frames[:@var{stream_specifier}] expr:@var{expr} (@emph{output,per-stream})
@item -force_key_frames[:@var{stream_specifier}] source (@emph{output,per-stream})
+@item -force_key_frames[:@var{stream_specifier}] source_no_drop (@emph{output,per-stream})
@var{force_key_frames} can take arguments of the following form:
@@ -1072,6 +1073,12 @@ starting from second 13:
If the argument is @code{source}, ffmpeg will force a key frame if
the current frame being encoded is marked as a key frame in its source.
+@item source_no_drop
+If the argument is @code{source_no_drop}, ffmpeg will force a key frame if
+the current frame being encoded is marked as a key frame in its source.
+In cases where this particular source frame has to be dropped,
+enforce the next available frame to become a key frame instead.
+
@end table
Note that forcing too many keyframes is very harmful for the lookahead