[FFmpeg-user] image2 examples missing `-f image2`, can that be right?
barsnick at gmx.net
Sun Jan 7 21:01:43 EET 2018
On Sat, Jan 06, 2018 at 23:08:32 -0800, Jim DeLaHunt wrote:
> 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?
Do the examples work for you or do they not?
I *believe* the detail that is missed in the documentation is that the
use of a pattern "implies" the image2 demuxer (or muxer, if used as
output). Apparently with such a high priority that I can't even open a
single image named "%03d.jpg" without the image2 demuxer jumping in and
trying to resolve that pattern. ;-)
In other words: For those three examples, "-f image2" just isn't
required. It's optional, but pointing that out *might* be nice.
More information about the ffmpeg-user