Just done a quick google and found this:
[SOLVED] [HELP]Mencoder doesnt wrok after update!! - Ubuntu Forums
The only thing you could try from that post is:
use -oac faac instead of -oac lavc.
since reinstalling with the new ububtu my commandline for re-encoding isnt workin with mencoder, im getting this error:
ive installed libfaac0 and libfaac-develCode:Audio LAVC, couldn't find encoder for codec libfaac.
my command is
and it used to work fineCode:mencoder $f -oac lavc -ovc lavc -of lavf -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:vbitrate=2500:acodec=libfaac -af lavcresample=48000 -vf scale=320:240,harddup -lavfopts format=psp -ofps 30000/1001 -o $f.mp4
RabbieBurns (10th November 2009)
that seems to be it going now.. hopefullyy itll output a playable file.. cheers
No problem, glad to have been some help
file encoded ok but playback doesnt have any audio
I've just had a play around with it on my Fedora machine.
I got the same error as you with lavc.
I then tried faac and it encoded it but the sound was very poor.
I then tried using mp3lame instead and that seems to work fine.
Give that ago and see if that works ok for you
Is the keyNote: Right now there is no way to encode AAC audio with FFmpeg from the Karmic Koala repository. You will have to compile FFmpeg yourself to do so. Refer to option A. Compile FFmpeg yourself if you would like to encode to AAC audio with FFmpeg. Another option is to use a separate encoder and then combine the video and audio.
Then I had toNow it works if i do:Code:svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg cd ffmpeg ./configure --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab make sudo checkinstall --fstrans=no --install=yes --pkgname=ffmpeg --pkgversion "4:0.5+svn`date +%Y%m%d`" --default
Im not sure if ive solved my original problem or just found another way to do it?Code:ffmpeg -i input.avi -acodec libfaac -ab 128k -ac 2 -vcodec mpeg4 -s 320x240 -vb 500k output.mp4
I find it amusing that I google a problem Im sure Ive had previously, and my original post about it is the number 1 hit on Google.
There are currently 1 users browsing this thread. (0 members and 1 guests)