Reputation: 55
I have more than 100,000 jpg images in a directory and want to create an animation from these files. These files are sequentially numbered from file1 to file125000. I have tried using ImageMagick and many other free tools, but hasn't worked. After 3 hours, imagemagick gave an error saying that the number of files is too large. Is there any tool (Windows) that can process this?
Upvotes: 1
Views: 470
Reputation: 54
You can use ffmpeg with a command like this one:
ffmpeg.exe -f image2 -r 30 -i image%06d.jpg -codec:v libx264 -crf 23 video.mp4
ffmpeg command line have a structure like this:
ffmpeg [input params] -i <input> [output params] <output>
Input params are:
Other params are used to specify output format and video codec. In particular:
FFMpeg windows build can be download from zeranoe
Edit: if your images names don't have leading zeroes try using file%6d.jpg instead of file%06d.jpg as input filename (without 0).
Upvotes: 1