summaryrefslogtreecommitdiff
path: root/doc/ffmpeg.texi
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2013-01-02 19:08:08 +0100
committerNicolas George <nicolas.george@normalesup.org>2013-01-19 15:22:34 +0100
commitbeb5d8f07d2aec4da88456f9e21e14d95a38f377 (patch)
treecc2b5a4b607a58622c7282180199d2bca240f40c /doc/ffmpeg.texi
parent938152196871be80d2dfa6cf9728ee0873132604 (diff)
ffmpeg: accept "chapters" as forced key frames.
Allow to force a key frame at the beginning of each chapter.
Diffstat (limited to 'doc/ffmpeg.texi')
-rw-r--r--doc/ffmpeg.texi10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 8a29d5e14b..5aa45629d4 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -555,9 +555,17 @@ Deprecated see -bsf
@item -force_key_frames[:@var{stream_specifier}] @var{time}[,@var{time}...] (@emph{output,per-stream})
Force key frames at the specified timestamps, more precisely at the first
frames after each specified time.
+If one of the times is "@code{chapters}[@var{delta}]", it is expanded into
+the time of the beginning of all chapters in the file, shifted by
+@var{delta}, expressed as a time in seconds.
This option can be useful to ensure that a seek point is present at a
chapter mark or any other designated place in the output file.
-The timestamps must be specified in ascending order.
+
+For example, to insert a key frame at 5 minutes, plus key frames 0.1 second
+before the beginning of every chapter:
+@example
+-force_key_frames 0:05:00,chapters-0.1
+@end example
@item -copyinkf[:@var{stream_specifier}] (@emph{output,per-stream})
When doing stream copy, copy also non-key frames found at the