[MPlayer-users] encoding with libavcodec audio codec

Nico nsabbi at tiscali.it
Mon Dec 15 12:42:56 CET 2003


libavcodec doesn't encode to mp3 (yet).
Please,  run
$ mencoder -v file.avi -o file_compress.avi -ovc lavc -oac lavc 
-lavcopts vcodec=mpeg4:acodec=mp2:abitrate=224  >& log.txt
and post log.txt.
You can also change mp2 ro ac3.

Eduardo Moreno wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi all.
>
> I'm trying to compress a file using the "new" featured audio libavcodec.
>
> I install the new "pre3" source package and i'm using:
>
> mencoder file.avi -o file_compress.avi -ovc lavc -oac lavc -lavcopts 
> vcodec=mpeg4:acodec=mp3
>
> but i receive an error:
> > Couldn't open codec mp3, br=224
>
> and it's the same with acodec=mp2 (the default)...
>
> There is something that i am missing? the libavcodec must be compiled 
> from CVS? or I'm misunderstanding the meaning of this new feature?
>
> Thanks in advance to all.
>
>
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>




More information about the MPlayer-users mailing list