Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

and

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 :) –  nitstorm 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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.