This blog post will explain how to extract frames from a video with FFMPEG. Each frame extracted from the video will be saved as an image file. The command below will take input.mp4 as an input file. The %04d deliminter will encode each frame as 0000.png, 0001.png, 0002.png, and so on.
ffmpeg -i input.mp4 img/%04d.png
