FFMPEG says "No such file or directory" when trying to convert image sequence

ffmpeg

Solution

The following definitely works:

ffmpeg -i images%06d.png -c:v libx264 -r 30 test.mp4 -y

However it doesn't work with GIF pictures.

You can losslessly convert your pictures to PNG and run the above command line.

Problem

From the shell, when I specify a sequence of images via `%d` in the input filename, FFMPEG insists "No such file or directory", despite evidence to the contrary. Looking online, I haven't managed to find any references to generating video from a sequence of images using FFMPEG where `%d` is not used, yet it seems to fail here. My images should be identified by FFMPEG from `img%06d.gif`. Issuing `ls img[0-9][0-9][0-9][0-9][0-9][0-9].gif` succeeds in the very same directory I issue the FFMPEG command. The command I use is: ``` ffmpeg -i img%06d.gif -c:v libx264 -r 30 -pix_fmt yuv720p test.mp4 ``` What could possibly be going wrong???

Original source