ffmpeg convert video to images code example
Example: ffmpeg images to video
ffmpeg -r 30 -s 1920x1080 -i pic%04d.png -vcodec libx264 -crf 25 -pix_fmt yuv420p test.mp4
ffmpeg -r 30 -s 1920x1080 -i pic%04d.png -vcodec libx264 -crf 25 -pix_fmt yuv420p test.mp4