[MPlayer-dev-eng] [PATCH] codecs.conf AMR change

Roberto Togni r_togni at tiscali.it
Sat Apr 23 16:43:02 CEST 2005


On Sat, 23 Apr 2005 04:58:21 +0000 (UTC)
adland123 <adland123 at yahoo.com> wrote:

> downloaded some AMR codec audio sample files from the web (extension
.amr)
> 
> google
> filetype:amr sample
> 
> All failed with the issue below
> 
> Playing sound.amr.
> Cache fill:  2.21% (23174 bytes)    libavformat file format detected.
>
=======================================================================
===
> Cannot find codec for audio format 0x12000
> 
> patch is my small change to codecs.conf which made playback work
> 
> thanks

This fix works, but i'm not sure it's the best one.
0x12000 is the value of CODEC_ID_AMR_NB, that's part of the codec ids
enum in lavc. I have no idea why the amr demuxer (in lavf) put the
codec id also in the tag field.
I'll mail to ffmpeg-devel to ask if it's ok to fix it so that it puts
the right fourcc (samr), or at least to leave it empty so that i can
convert it via avienc.c

I put the samples in samples/amr/ on mphq, btw sample2.amr and
whatireallywant.amr does not work in mplayer but work ok in ffplay, i
still have to check why.

Ciao,
 Roberto




More information about the MPlayer-dev-eng mailing list