Browse code

img2 encoder: use more descriptive vsync names

Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

rogerdpack authored on 2016/10/26 09:33:30
Showing 1 changed files
... ...
@@ -641,7 +641,7 @@ The following example shows how to use @command{ffmpeg} for creating a
641 641
 sequence of files @file{img-001.jpeg}, @file{img-002.jpeg}, ...,
642 642
 taking one image every second from the input video:
643 643
 @example
644
-ffmpeg -i in.avi -vsync 1 -r 1 -f image2 'img-%03d.jpeg'
644
+ffmpeg -i in.avi -vsync cfr -r 1 -f image2 'img-%03d.jpeg'
645 645
 @end example
646 646
 
647 647
 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
649 649
 format, the image2 muxer is automatically selected, so the previous
650 650
 command can be written as:
651 651
 @example
652
-ffmpeg -i in.avi -vsync 1 -r 1 'img-%03d.jpeg'
652
+ffmpeg -i in.avi -vsync cfr -r 1 'img-%03d.jpeg'
653 653
 @end example
654 654
 
655 655
 Note also that the pattern must not necessarily contain "%d" or
656 656
 "%0@var{N}d", for example to create a single image file
657
-@file{img.jpeg} from the input video you can employ the command:
657
+@file{img.jpeg} from the start of the input video you can employ the command:
658 658
 @example
659 659
 ffmpeg -i in.avi -f image2 -frames:v 1 img.jpeg
660 660
 @end example