4

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 at 1 minute intervals.

I have tried these commands, but they didn't work:

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.

Zanna
  • 69,223
  • 56
  • 216
  • 327
parmeshwar89
  • 91
  • 1
  • 2
  • 5
  • Take a look at the accepted answer for [How to make a stop-motion or time-lapse video with webcam?](http://askubuntu.com/questions/50339/how-to-make-a-stop-motion-or-time-lapse-video-with-webcam), you might get some good ideas :) – Nitin Venkatesh Feb 25 '13 at 07:20
  • Exact duplicate of [Extracting images from video in 1 minute intervals](http://superuser.com/q/557006/110524). – llogan Feb 25 '13 at 22:33

1 Answers1

2

You can use:

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

Zanna
  • 69,223
  • 56
  • 216
  • 327
Mostafa Shahverdy
  • 4,982
  • 2
  • 20
  • 34