+convert all our images to jpeg's
for f in *ppm ; do convert -quality 100 $f `basename $f ppm`jpg; done
+encode the images files into a movie using either mencoder or ffmpeg
mencoder "mf://*.jpg" -mf fps=10 -o test.avi -ovc lavc
-lavcopts vcodec=msmpeg4v2:vbitrate=800
ffmpeg -r 10 -b 1800 -i %03d.jpg test1800.mp4
Wednesday, February 11, 2009
Making movies from image files using ffmpeg/mencoder
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment