How to convert video to images

ffmpeg -i your-video.mov -r 2 -s 848x480 -f image2 humble-output-%03d.jpeg  

(-r how many frames per second should be captured)

via ffmpeg Documentation