Using FFMPEG a video can be generated from frames using ffmpeg -r 1/5 -i img%03d.png -c:v libx264 -vf fps=25 -pix_fmt yuv420p out.mp4 Parameters r = ratio if you want to downscale the video i = format of the images, adapt it to your needs!