[MPlayer-users] lavc acodec
Giacomo Comes
comes at naic.edu
Mon Oct 4 17:07:29 CEST 2004
On Sun, Oct 03, 2004 at 02:20:26PM -0700, Ricardo Kleemann wrote:
> Thank you for pointing out my errors.
>
> > The available codecs are listed in the man page under "acodec=". It's
> > all or nothing... If you have libavcodec at all, all of them should
> > work.
>
> Ok, so libacodec works for me, but for some reason mp3 doesn't. The manpage
> shows that acodec supports:
>
> acodec=<value>
> Audio codec (default: mp2):
> mp2
> MPEG Layer 2
> mp3
> MPEG Layer 3
> ac3
> AC3
> adpcm_ima_wav
> IMA Adaptive PCM (4bits per sample, 4:1 compression)
>
>
> So I tried the option "-oac lavc -lavcopts acodec=mp3" and I get this error:
>
> "Audio LAVC, couldn't find encoder for codec mp3"
>
> So what am I missing?
The audio-bit-rate/audio-sample-rate combination of your input
sample is not supported by libavcodec.
If you add, for example, -srate 44100 -lavcopts acodec=mp3:abitrate=128
it will work.
>
> Also, does mencoder have the option for encoding audio with AAC?
No.
Giacomo
More information about the MPlayer-users
mailing list