I have a video sequence, let's say an avi file. I want to transform it into a sequence of .jpg images, named 1.jpg, 2.jpg, .... n.jpg (for n frames in the avi file). How can I accomplish this?
ffmpeg -i Video.avi %d.jpg
In my case, I liked this version, which only captures frames that are >5% different from previous frames:
ffmpeg -i my_video.mp4 -vf select="gt(scene\,0.05)" -vsync 0 -an my_subfolder/my_slides-%05d.jpg
I used this command to convert a video recording (of a basic text Powerpoint slideshow) into simple images of each slide.