X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=doc%2Fdemuxers.texi;h=9ec2fcef3d7734d480248ed6582a937dd97c8d41;hb=7fad19a63dc52db4bf2bebbd9d261675956b1b34;hp=ffaadfe4f91a9aee996a523f80d26b376821e1b7;hpb=6d91045d835635fe889f684bdf77f68e00b15d0b;p=ffmpeg diff --git a/doc/demuxers.texi b/doc/demuxers.texi index ffaadfe4f91..9ec2fcef3d7 100644 --- a/doc/demuxers.texi +++ b/doc/demuxers.texi @@ -49,19 +49,19 @@ sequence of filenames of the form @file{i%m%g-1.jpg}, The size, the pixel format, and the format of each image must be the same for all the files in the sequence. -The following example shows how to use @file{ffmpeg} for creating a +The following example shows how to use @command{ffmpeg} for creating a video from the images in the file sequence @file{img-001.jpeg}, -@file{img-002.jpeg}, ..., assuming an input framerate of 10 frames per +@file{img-002.jpeg}, ..., assuming an input frame rate of 10 frames per second: @example -ffmpeg -r 10 -f image2 -i 'img-%03d.jpeg' out.avi +ffmpeg -i 'img-%03d.jpeg' -r 10 out.mkv @end example Note that the pattern must not necessarily contain "%d" or "%0@var{N}d", for example to convert a single image file @file{img.jpeg} you can employ the command: @example -ffmpeg -f image2 -i img.jpeg img.png +ffmpeg -i img.jpeg img.png @end example @section applehttp