[MPlayer-users] problem with amr_nb audio codec

Mario Valle mvalle at cscs.ch
Tue Jan 10 11:46:02 CET 2006


Antonio wrote:
> Hi to the list,
> 
> I cantt hear the audio of this video:
> 
> http://www.beppegrillo.it/dipendenti_governo.3gp
> 
> I've compiled mplayer pre7 following this procedure to add amr support:
> 
> http://www1.mplayerhq.hu/pipermail/mplayer-users/2005-April/052653.html
> 
> the configure gived me:
> 
>   Checking for amr narrowband ... yes
>   Checking for amr narrowband, fixed point ... no (disabled by amr_nb)
>   Checking for amr wideband ... yes
> 
> and the amr_nb codec went listed in the "Enabled Codecs" line.
> 
> But tring to play the file I still get this error (only for the audio):
> 
>   $ mplayer dipendenti_governo.3gp
>   [cut]
> 
>   ISO: File Type Major Brand: 3GPP Profile 4
>   Rilevato formato file QuickTime/MOV!
>   --------------
>   MOV track #0: 571 chunks, 571 samples
>   MOV: Found unknown movie atom d263 (15)!
>   Image size: 176 x 144 (24 bpp)
>   Display size: 176 x 144
>   Fourcc: s263  Codec: ''
>   --------------
>   MOV track #1: 192 chunks, 192 samples
>   Audio bits: 8  chans: 1  rate: 8000
>   MOV: Found unknown audio atom damr (17)!
>   Fourcc: samr
>   --------------
>   MOV: longest streams: A: #1 (192 samples)  V: #0 (571 samples)
>   VIDEO:  [s263]  176x144  24bpp  15.000 fps    0.0 kbps ( 0.0 kbyte/s)
>   ============================================
>   Apertura decoder audio: [ffmpeg] FFmpeg/libavcodec audio decoders
>   Impossibile trovare il codec 'amr_nb' in libavcodec...
>   Inizializazione ADecoder fallita :(
>   Inizializazione ADecoder fallita :(
>   Impossibile trovare il codec per il formato audio 0x726D6173!
>   Leggi DOCS/it/codecs.html!
> 
> (sorry for the italian loacle but I can't change it setting LANG at runtime)
> 
> Any hits?
> 
> Cheers,
> 
>   ~ Antonio
> 
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
> 

It works for me (see below).
I remember had a problem with codec-cfg program (do not remember what the problem was).
Try a grep amr codecs.conf.h and see if it is listed.
Sorry I'm not able to help you more.
Ciao!
		mario

mplayer: /usr/lib/libGL.so.1: no version information available (required by mplayer)
MPlayer 1.0pre7-3.2.3 (C) 2000-2005 MPlayer Team
CPU: Intel  (Family: 8, Stepping: 10)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


Failed to open /dev/rtc: Permission denied (it should be readable by the user.)
Playing dipendenti_governo.3gp.
ISO: File Type Major Brand: 3GPP Profile 4
QuickTime/MOV file format detected.
--------------
MOV track #0: 571 chunks, 571 samples
MOV: Found unknown movie atom d263 (15)!
Image size: 176 x 144 (24 bpp)
Display size: 176 x 144
Fourcc: s263  Codec: ''
--------------
MOV track #1: 192 chunks, 192 samples
Audio bits: 8  chans: 1  rate: 8000
MOV: Found unknown audio atom damr (17)!
Fourcc: samr
--------------
MOV: longest streams: A: #1 (192 samples)  V: #0 (571 samples)
VIDEO:  [s263]  176x144  24bpp  15.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 8000 Hz, 1 ch, s16le, 128.0 kbit/100.00% (ratio: 16000->16000)
Selected audio codec: [ffamrnb] afm:ffmpeg (AMR Narrowband)
==========================================================================
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh263] vfm:ffmpeg (FFmpeg H.263+ decoder)
==========================================================================
Checking audio filter chain for 8000Hz/1ch/s16le -> 8000Hz/2ch/s16le...
AF_pre: 8000Hz/1ch/s16le
AO: [oss] 8000Hz 2ch s16le (2 bps)
Building audio filter chain for 8000Hz/1ch/s16le -> 8000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 176 x 144 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 176x144 => 192x144 Planar YV12
Building audio filter chain for 8000Hz/1ch/s16le -> 8000Hz/2ch/s16le...
A:  38.1 V:  38.1 A-V:  0.060 ct:  0.054 548/548  0%  0%  0.5% 0 0

Exiting... (End of file)

-- 
Ing. Mario Valle
Visualization Group                              | http://www.cscs.ch/~mvalle
Swiss National Supercomputing Centre (CSCS)      | Tel:  +41 (91) 610.82.60
v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax:  +41 (91) 610.82.82




More information about the MPlayer-users mailing list