"C:\YOUR_PATH_TO\mencoder.exe" "C:\YOUR_SOURCE_VIDEO.avi" -o RESULT.flv -mc 0 -ofps 25 -srate 44100 -oac mp3lame -lameopts vbr=2:q=8:aq=0:mode=1:lowpassfreq=16000 -ovc lavc -of lavf -lavfopts format=flv -lavcopts vcodec=flv:vbitrate=277:keyint=125:mbd=2:trell:v4mv:aic:cbp:last_pred=3:predia=4:dia=4:preme=2:vratetol=1100:vpass=1 "C:\YOUR_PATH_TO\mencoder.exe" "C:\YOUR_SOURCE_VIDEO.avi" -o RESULT.flv -mc 0 -ofps 25 -srate 44100 -oac mp3lame -lameopts vbr=2:q=8:aq=0:mode=1:lowpassfreq=16000 -ovc lavc -of lavf -lavfopts format=flv -lavcopts vcodec=flv:vbitrate=277:keyint=125:mbd=2:trell:v4mv:aic:cbp:last_pred=3:predia=4:dia=4:preme=2:vratetol=1100:vpass=2 ; ; Make sure your source video is uncompressed (or lossless x264 / huffyuv) ; with 44.1 kHz 16 or 24 bit WAV audio all the way to feed it to mencoder ; 480x360 pixel resolution preferred, 640x480 576x432, 512x384 also quite possible ; 25 frames/sec. mandatory, and no more than 7 minutes of actual content ; (the shorter the video, the higher the quality will be) ; ; Change value "vbitrate=277" to your likings! ; Use MediaInfo to check FLV bitrate average; : if it's 350 kbits/s or higher, lower vbitrate to match it to reach exactly 349 kbits/s ; ; You can also change values ; keyint=125, q=8, lowpassfreq=16000 ; to achieve a different end-result bitrate. ; ; keyint=100 (a keyframe every 4 seconds) ; keyint=150 (a keyframe every 6 seconds) ; ; q=7 (higher bitrate audio-stream) ; q=9 (lower bitrate audio-stream) ; ; lowpassfreq=15000 (FM stereo quality range, causes lower rate) ; lowpassfreq=19000 (human hearing quality range, causes higher audio rate) ; ; ; mode=1 (joint stereo, best choice for lame vbr mp3 audio) ; mode=3 (mono audio stream, lowers audio bitrate a little) ; ; ; More mencoder options: http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html ; Download mencoder here: http://oss.netfarm.it/mplayer-win32.php ; ; More info: http://forum.videohelp.com/topic345987.html ;