View Single Post
Old 01-19-2008, 06:34 PM   #37
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Default

Quote:
Originally Posted by tuxi View Post
Code:
        -oac mp3lame \
Using mp3lame gave me a usable video with audio that was fine. There may be some fine tuning for this, but I haven't done too much more fiddling with it.
Yeah, mencoder/mplayer can be compiled with all sorts of different stuff, it's a very confusing set of options they've got going on. If you need to use -oac mp3lame, then you want a line with -lameopts for the bitrate (and anything else), like so:

Code:
        -oac mp3lame \
        -lameopts abr:br=$ABR \
...and edit the -lavcopts line to remove the audio options now:

Code:
        -lavcopts vcodec=mpeg4:vbitrate=$VBR
Complete:
Code:
mencoder "$FILE" \
        -o "${FILE%.*}_bb.avi" \
        -of avi \
        -ovc lavc \
        -oac mp3lame \
        -lavcopts vcodec=mpeg4:vbitrate=$VBR \
        -lameopts abr:br=$ABR \
        -vf scale=$RES
Obviously tweak the -lameopts as much as you'd like and/or need, but the defaults should work pretty good.
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline   Reply With Quote