i have 1 million gifs in a folder that i would like to convert into a 60 frames per second video file using ffmpeg. Here is my code:
ffmpeg -r 60 -pattern_type glob -i *.gif -c:v libx264 out.mp4
my gifs don't follow a %07d.gif pattern like 0000001.gif 0000002.gif but they are indeed in sequential order. like this: img1.gif, img2.gif ... img10.gif ... img10000.gif ... img1000000.gif.
When i try to execute my code i get this:
-bash: /usr/local/bin/ffmpeg: Argument list too long
please help. thank you.