From 8459e6fd122715365a4d8b613d88298b3c4acdd7 Mon Sep 17 00:00:00 2001 From: rogerdpack Date: Tue, 25 Oct 2016 18:33:30 -0600 Subject: img2 encoder: use more descriptive vsync names Signed-off-by: rogerdpack Signed-off-by: Michael Niedermayer --- doc/muxers.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/muxers.texi') diff --git a/doc/muxers.texi b/doc/muxers.texi index 0c3a19847d..ef2116a7f6 100644 --- a/doc/muxers.texi +++ b/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}, ..., taking one image every second from the input video: @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 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 command can be written as: @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 Note also that the pattern must not necessarily contain "%d" or "%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 ffmpeg -i in.avi -f image2 -frames:v 1 img.jpeg @end example -- cgit v1.2.3