Dave's Brain

Browse - computer tips - using ffmpeg to convert a video to a sequence of images

Date: 2008jun6

Q.  How do I use ffmpeg to convert a video to a sequence of stills (images)?

A.  Do this:

	ffmpeg -i myvideo.mpg myframe%04d.bmp

This will convert myvideo.mpg into a bunch of BMP files named
myframe0001.bmp, myframe0002.bmp, ...

Many other image formats are supported.
What this info useful to you? You can donate to say thanks

Add a comment

Sign in to add a comment
Copyright © 2008-2012, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Advertisements: