« New addition to the house!Automatix2 for Edgy is here! »

Convert AVI (or something else) to FLV

29/07/07

Permalink 11:44:35 am, Categories: Main

To convert a video to the Flash Video format, use the mencoder command like this:

mencoder {SOURCE_VIDEO} -o {OUTPUT_VIDEO}.flv -of lavf -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames

This assumes you have the lamemp3 libs installed and that the output video rate shoud be 500k (good for web content).

This works fine on Ubuntu 7.04 (and probably any other system with mencoder installed).

Search

A blog on my daily experience with Linux, with all the successes and challenges that I meet along the road. From a Uber Geek (acording to Dick Dalton).

User tools

powered by b2evolution