[Ffmpeg-devel] amr decoding fails

Rick Pannen pannen
Tue Apr 25 20:32:28 CEST 2006


Hi,

I compiled mencoder with amr-support (nb float + wb float). 

When I want to decode a 3gp-Video with amr audio I get an empty output file.

It works fine without amr (no sound but video).


Here's what I'm doing:

--------------
mencoder -oac pcm -af resample=22050:0:1 -ovc raw -vf format=yv12 -of ogg
-mc 0 -o /tmp/test /home/rick/AEG.3gp

[...]
success: format: 0  data: 0x0 - 0x53b06
ISO: File Type Major Brand: 3GPP Profile 4
Quicktime/MOV file format detected.
VIDEO:  [s263]  176x144  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7  fourcc:0x33363273  size:176x144  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[amr_nb @ 0x889b7b0]amr frame too short (1, should be 32)
AUDIO: 8000 Hz, 1 ch, s16le, 128.0 kbit/100.00% (ratio: 16000->16000)
Selected audio codec: [ffamrnb] afm: ffmpeg (AMR Narrowband)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [format fmt=yv12]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh263] vfm: ffmpeg (FFmpeg H.263+ decoder)
==========================================================================
[...]
[amr_nb @ 0x889b7b0]amr frame too short (1, should be 32)-V:0.000 [9123:0]
[amr_nb @ 0x889b7b0]amr frame too short (1, should be 32)-V:0.000 [9123:0]
[amr_nb @ 0x889b7b0]amr frame too short (1, should be 32)-V:0.000 [9123:0]
[... A LOT OF THESE!]

Flushing video frames

Video stream: 7603.200 kbit/s  (950399 B/s)  size: 9884160 bytes  10.400
secs  260 frames

Audio stream:      nan kbit/s  (-2147483648 B/s)  size: 0 bytes  0.000 secs
-------------


 





More information about the ffmpeg-devel mailing list