View Single Post
Old 12-31-2008, 11:41 AM   #56
tuxi
New Member
 
Join Date: Mar 2007
Location: Katy, TX
Model: 8800
Carrier: AT&T
Posts: 7
Default vid2bb.sh using mencoder -- Ubuntu 8.10

Quote:
Originally Posted by harryzuluberries View Post
Speaking of adding things and figuring it out (Ubuntu newb here):

<<snip>>

Ok......got it to work using the info here:
(link removed) Mencoder: Audio LAVC, couldn’t find encoder for codec mp3. :: mcinroy.org

One problem left......won't play on my 8330. Lol. Well, I'm half way there!
Thanks for the link. I used
Code:
mencoder "$FILE" \
-o "${FILE%.*}_bb.avi" \
-of avi \
-ovc lavc \
-oac lavc \
-lavcopts vcodec=mpeg4:vbitrate=$VBR:acodec=libmp3lame:abitrate=$ABR \
-vf scale=$RES
(note the change from the original is the "acodec=libmp3lame" bit).

I had tried "ffmpeg -i foo.mpeg -s qvga foo.mp4" but the resulting video dropped too many frames on my 8800. The video from using vid2bb.sh with the correction above dropped much fewer (or no) frames.
__________________
Tuxi
BlackBerry 8800
AT&T
BES (version unknown)
Windows XP, Ubuntu 8.10
Offline   Reply With Quote