[FFmpeg-user] ffmpeg generate the video from non-sequential images

Ayush Narsaria ayush.narsaria55 at gmail.com
Mon Oct 29 15:59:43 EET 2018


Hello all,

I am quite new to ffmpeg so still learning many things for creating a video
animation for my chemistry project.
I have multiple “res-%d.png” files but when I try to use ffmpeg to generate
a video it starts from a random .png file.
My png files are numbered from res-5.png to res-180.png.

The command I give is :

ffmpeg -framerate 5 -pattern_type glob -i '*.png' -c:v libx264 output.mp4


Please help! Thank you

Best,
Ayush Narsaria
PhD Student
VU University, Amsterdam


More information about the ffmpeg-user mailing list