I need to do this, so I’m documenting it here.
mencoder -ovc xvid -xvidencopts bitrate=1000 -oac mp3lame -lameopts preset=medium -o ww1.divx.avi vcd://
I don’t have the aspect ratio quite right, and I think therefore that the video needs resizing, but that can wait for another day.
I think it’s something like “-vf scale:xxx,yyy”
Posted by Bill on July 20th, 2005.
You’d also be better off sticking a mode=3 in the lameopts bit too, to make it mono, unless you need stereo. (I dont know what ‘medium’ does, but 96 k should also be plenty for your needs). Might save you a little bit of space which is better used to up the bit rate on the video. (1000 is pretty high though)
Posted by Bill on July 20th, 2005.
Ah, cool. That’s useful. I’m a total novice when it comes to this stuff :)
Posted by sil on July 20th, 2005.
Looks like the winning formula is actually:
mencoder [input-file] -oac mp3lame -lameopts cbr:preset=128 -ovc lavc -lavcopts mbd=2:vcodec=mpeg4:vbitrate=800 -o output-file.archos.avi -vop scale=320:240Posted by sil on August 16th, 2005.
Xalior suggests:
/usr/bin/mencoder “$1″ -o “PMA_$1″ -ovc xvid -oac mp3lame -xvidencopts bitrate=500 -vf scale=320:240 -ofps 24
Posted by sil on December 22nd, 2005.