aboutsummaryrefslogtreecommitdiffstats
path: root/doc/ffmpeg.texi
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2015-03-09 10:49:59 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-03-09 10:49:59 +0100
commit4a94f7b22f2474f6cc6cf9d6299a503d2cb59e7e (patch)
tree2c46c3dce440b76239aed0fcb8dedfa3654ca201 /doc/ffmpeg.texi
parentb69238d9badc9cccfdb540c6faa50beaeda401a5 (diff)
downloadffmpeg-4a94f7b22f2474f6cc6cf9d6299a503d2cb59e7e.tar.gz
doc: Improve video creation examples (from image2).
The examples used to drop frames in most cases which was probably not what users expected.
Diffstat (limited to 'doc/ffmpeg.texi')
-rw-r--r--doc/ffmpeg.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 6772f2f685..1dde6824f8 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -1469,7 +1469,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 -framerate 12 -i foo-%03d.jpeg -s WxH foo.avi
@end example
The syntax @code{foo-%03d.jpeg} specifies to use a decimal number
@@ -1484,7 +1484,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 -framerate 12 -i 'foo-*.jpeg' -s WxH foo.avi
@end example
@item