2825 explained code solutions for 75 technologies

ffmpegCreate video from a series of images

ffmpeg -r 1/5 -i img%04d.jpg -c:v libx264 -vf fps=25 -pix_fmt yuv420p out.mp4ctrl + c

basic ffmpeg utility

-r 1/5

show each image for 5 serconds

-i img%04d.jpg

input images names template (e.g. img0001.jpg, img0002.jpg,...)

-c:v libx264

use h264 coded

-vf fps=25

set framerate to 25

-pix_fmt yuv420p

use yuv420p as pixel format


resulting file