Make Video from Set of Images with ffmpeg

Enter the directory that includes images, and type this command:

ffmpeg -r 30 -f image2 -s 320x240 -i %04d.jpg -vcodec libx264 -crf 0 -pix_fmt yuv420p VideoFileName.avi

-r 30: 30 fps

-s 320×240: Resolution

-i %04d.jpg: File name like 0001.jpg … 9999.jpg


Add a Comment

Your email address will not be published. Required fields are marked *