Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 4 down vote accepted
ffmpeg -i Video.avi %d.jpg


share|improve this answer

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.

See ffmpeg documentation here.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .