Encoding an SVCD to an Archos PMA400-playable XviD file

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.

5 comments.

  1. I think it’s something like “-vf scale:xxx,yyy”

  2. 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)

  3. Ah, cool. That’s useful. I’m a total novice when it comes to this stuff :)

  4. 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:240

  5. Xalior suggests:
    /usr/bin/mencoder “$1″ -o “PMA_$1″ -ovc xvid -oac mp3lame -xvidencopts bitrate=500 -vf scale=320:240 -ofps 24

Post a comment.