[FFmpeg-devel] [PATCH] ffmpeg.texi examples: output opt -r -> -framerate

Ben Price bjmprice at gmail.com
Mon Oct 6 13:11:47 CEST 2014


Novice users reading the documentation would expect the behaviour of
-framerate, not -r when 'creating a video from many images' or 'force
the frame rate of the output'
---
 doc/ffmpeg.texi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 4fc7682..059ae3e 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -58,14 +58,14 @@ ffmpeg -i input.avi -b:v 64k -bufsize 64k output.avi
 @item
 To force the frame rate of the output file to 24 fps:
 @example
-ffmpeg -i input.avi -r 24 output.avi
+ffmpeg -i input.avi -framerate 24 output.avi
 @end example
 
 @item
 To force the frame rate of the input file (valid for raw formats only)
 to 1 fps and the frame rate of the output file to 24 fps:
 @example
-ffmpeg -r 1 -i input.m2v -r 24 output.avi
+ffmpeg -r 1 -i input.m2v -framerate 24 output.avi
 @end example
 @end itemize
 
@@ -1436,7 +1436,7 @@ combination with -ss to start extracting from a certain point in time.
 
 For creating a video from many images:
 @example
-ffmpeg -f image2 -i foo-%03d.jpeg -r 12 -s WxH foo.avi
+ffmpeg -f image2 -i foo-%03d.jpeg -framerate 12 -s WxH foo.avi
 @end example
 
 The syntax @code{foo-%03d.jpeg} specifies to use a decimal number
@@ -1451,7 +1451,7 @@ image2-specific @code{-pattern_type glob} option.
 For example, for creating a video from filenames matching the glob pattern
 @code{foo-*.jpeg}:
 @example
-ffmpeg -f image2 -pattern_type glob -i 'foo-*.jpeg' -r 12 -s WxH foo.avi
+ffmpeg -f image2 -pattern_type glob -i 'foo-*.jpeg' -framerate 12 -s WxH foo.avi
 @end example
 
 @item
-- 
2.1.2



More information about the ffmpeg-devel mailing list