Friday, August 7, 2009

How to use ffmpeg extract freams from video file

ffmpeg is a power tool.
Here is a method.

ffmpeg -i input.avi -r 10 -f image2 images%05d.png

Here input.avi is input video file.
10 is fps.
image2 is image format.
%05d means that it has five numbers behind images. eg.images99999.png

No comments: