Convert a set of Images to a Youtube Video (PNV->AVI->FLV)

If you have a set of png files, let say screenshots of a new application you have created and you want to convert them into a video, then this is how you do it.

mencoder "mf://*.png" -mf fps=0.5 -ovc lavc -lavcopts vhq:vbitrate=1500 -o video.avi
ffmpeg -i video.avi -b 2028k -s 320x480 -r 30 -acodec copy video.flv

This first command will convert the png files in your present directory into an avi file. The second one will convert it from avi to flv. FLV is the format used by youtube.

1 comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.