Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 .avi file with me. How can I extract all the frames from it using ffmpeg?

share|improve this question
up vote 2 down vote accepted

You can use the following syntax, derived from the documentation. The %d variable will be replaced, at runtime, with a 0-based incrementing number.

ffmpeg -i input.avi output%d.jpg
share|improve this answer
It works, but it copies each frame multiple times... – Lukas Aug 24 '11 at 23:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.