img2 encoder: use more descriptive vsync names

Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/240/head
rogerdpack 8 years ago committed by Michael Niedermayer
parent 1a956c64c8
commit 8459e6fd12
  1. 6
      doc/muxers.texi

@ -641,7 +641,7 @@ The following example shows how to use @command{ffmpeg} for creating a
sequence of files @file{img-001.jpeg}, @file{img-002.jpeg}, ..., sequence of files @file{img-001.jpeg}, @file{img-002.jpeg}, ...,
taking one image every second from the input video: taking one image every second from the input video:
@example @example
ffmpeg -i in.avi -vsync 1 -r 1 -f image2 'img-%03d.jpeg' ffmpeg -i in.avi -vsync cfr -r 1 -f image2 'img-%03d.jpeg'
@end example @end example
Note that with @command{ffmpeg}, if the format is not specified with the Note that with @command{ffmpeg}, if the format is not specified with the
@ -649,12 +649,12 @@ Note that with @command{ffmpeg}, if the format is not specified with the
format, the image2 muxer is automatically selected, so the previous format, the image2 muxer is automatically selected, so the previous
command can be written as: command can be written as:
@example @example
ffmpeg -i in.avi -vsync 1 -r 1 'img-%03d.jpeg' ffmpeg -i in.avi -vsync cfr -r 1 'img-%03d.jpeg'
@end example @end example
Note also that the pattern must not necessarily contain "%d" or Note also that the pattern must not necessarily contain "%d" or
"%0@var{N}d", for example to create a single image file "%0@var{N}d", for example to create a single image file
@file{img.jpeg} from the input video you can employ the command: @file{img.jpeg} from the start of the input video you can employ the command:
@example @example
ffmpeg -i in.avi -f image2 -frames:v 1 img.jpeg ffmpeg -i in.avi -f image2 -frames:v 1 img.jpeg
@end example @end example

Loading…
Cancel
Save