[MPlayer-users] audio LAVC,couldn't find encoder for codec MP3
Alain Barthélemy
cassandre at bartydeux.be
Sat Oct 27 20:26:15 CEST 2007
Le samedi 27 octobre 2007, 11:41:30 ou environ Giacomo Comes <comes at naic.edu> a écrit:
> On Sat, Oct 27, 2007 at 04:19:32PM +0200, Alain Barthélemy wrote:
> > Debian Etch - Linux 2.6.18-4-amd64
> > dev-SVN-r24859-3-4-6
> >
> > ./configure apparently OK : "checking for toolame:yes"
> > make OK
> > make install OK
> >
> > #! /bin/bash
> >
> > ENDPOS=240
> > FILE=temp1.avi
> > DVD=test.mpeg
> > AVIFILE=temp1.avi
> >
> > cd /extra/avi/essai
> >
> > /usr/local/bin/mencoder -tv driver=v4l2:width=720:height=576:amode=1 -oac lavc -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2200:vratetol=32000:mbd=2:psnr:aspect=4/3:acodec=mp3:abitrate=224 -vf crop=672:528:24:24,pp=lb,scale=576:432,hqdn3d=3:2:5 -sws 1 -noodml -ffourcc DIVX tv:// -o $FILE -endpos $ENDPOS
> >
> > Encoding stopped with message "Audio LAVC, couldn't find encoder for
> > codec MP3"
> >
> > It is the first time it happens with Mencoder (same instruction line!).
> > I apt-get installed Lame, Toolame, Twolame. I missed maybe something?
> >
> > Audio LAVC, couldn't find encoder for codec mp3.
>
> A quick look at the man page gives the answer:
> to encode mp3 audio with libavcodec you need acodec=libmp3lame
>
> Giacomo
In the man page (of MPlayer, I suppose), I read:
acodec=mp2
acodec=mp3
acodec=ac3
acodec=adpos_ima_wav
acodec=soniccodec
No libmp3lame
mp2, ac3, even pcm work. I tried mp3lame, lame, without success.
Apparently, there is no link with the mp3/lame libraries. How to solve
that (parameter with .configure?).
The libmp3lame libraries are present in /usr/lib
--
Alain Barthélemy
cassandre at bartydeux.be
http://www.bartydeux.be
Linux User #315631
More information about the MPlayer-users
mailing list