Gary Steele described how to use ffmpeg to make a video from images by the command:
ffmpeg -r 10 -b 1800 -i %03d.jpg test1800.mp4
(see: http://electron.mit.edu/~gsteele/ffmpeg/)
This command only can output a very low quality video. To make the video better, you can try following command:
ffmpeg -f image2 -i %03d.jpg -r 10 -s w*h test1800.mp4
where w and h are the width and hight of the video image, such as 640*480.
Showing posts with label ffmpeg. Show all posts
Showing posts with label ffmpeg. Show all posts
Sunday, July 31, 2011
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
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
Subscribe to:
Posts (Atom)