Site icon Bytefreaks.net

How to create a video from thousands of images using ffmpeg

Advertisements

We have this simulation that creates several frames demonstrating the life-cycle of an ant colony.
Having thousands of pictures is not very useful most of the times so we decided to create a video out of those frames.
To do so, we decided to use ffmpeg. The names of the files that we generate are 5 digit zero-leading auto increment numbers (e.g 00001.png and 00002.png) so we ended up with the following command:


ffmpeg -framerate 60 -i %05d.png video.mp4;

This post is also available in: Greek

Exit mobile version