Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 would like to extract images from a video Exp01.avi, the video is 25 minutes long. I want the images to be extracted from the video after every 1 minute interval. Please someone tell me how to do that.

I have tried these commands, but did not help:

ffmpeg -i video.avi -r 1  -t 00:01:00 -f image image%02d.png


ffmpeg -i video.avi -r 1/1440 -f image image%02d.png

Thank you.

share|improve this question
Take a look at the accepted answer for How to make a stop-motion or time-lapse video with webcam?, you might get some good ideas :) – Nitin Venkatesh Feb 25 '13 at 7:20
@MostafaShahverdy This is a perfectly good question for Ask Ubuntu. ffmpeg is Ubuntu software and we support both officially included Ubuntu software (such as ffmpeg) and third-party applications on Ubuntu. Please see the FAQ. If you believe the OP is not using Ubuntu, please explain. – Eliah Kagan Feb 25 '13 at 11:12
Exact duplicate of Extracting images from video in 1 minute intervals. – LordNeckbeard Feb 25 '13 at 22:33

well, so if this is not an off-topic question then your answer is :

ffmpeg -i video.avi -r 0.01  -t 00:01:00 -f image2 image%02d.png

-r is what you need to change. -t is how long your video will go on ;)

Hope to be helpful

share|improve this answer

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.