[FFmpeg-user] image2 examples missing `-f image2`, can that be right?

Jim DeLaHunt from.ffmpeg-user at jdlh.com
Sun Jan 7 09:08:32 EET 2018


Hello, all:

I'm reading the documentation for the image2 demuxer[1]. It has three 
examples, in section 20.9.1 Examples.

ffmpeg -framerate 10 -i 'img-%03d.jpeg' out.mkv
ffmpeg -framerate 10 -start_number 100 -i 'img-%03d.jpeg' out.mkv
ffmpeg -framerate 10 -pattern_type glob -i "*.png" out.mkv

Those examples lack a `-f image2` option. I would expect that option to 
be there; after all, isn't the image2 format exactly what this section 
is trying to explain?

Should those examples instead read,

ffmpeg -f image2 -framerate 10 -i 'img-%03d.jpeg' out.mkv
ffmpeg -f image2 -framerate 10 -start_number 100 -i 'img-%03d.jpeg' out.mkv
ffmpeg -f image2 -framerate 10 -pattern_type glob -i "*.png" out.mkv

Or am I missing something?

[1] http://ffmpeg.org/ffmpeg-all.html#image2-1
[2] http://ffmpeg.org/ffmpeg-all.html#Examples-6

Thank you in advance for your help. Best regards,
      —Jim DeLaHunt, Vancouver, Canada

-- 
     --Jim DeLaHunt, jdlh at jdlh.com     http://blog.jdlh.com/ (http://jdlh.com/)
       multilingual websites consultant

       355-1027 Davie St, Vancouver BC V6E 4L2, Canada
          Canada mobile +1-604-376-8953



More information about the ffmpeg-user mailing list