[FFmpeg-devel] some question about cook decoder

George Tung dxzk7
Mon Jul 23 05:07:58 CEST 2007


Hi:


Recently,I arrempted transplant the MPlayer to the ARM platform.
After Compiled.I can use the player to broadcast mp3 on the ARM  platform.
But cannot broadcast real audio.It seems that the cook decoder cannot work in ARM platform.

Here's the console information:

/=====================begining======================/

/mnt/udisk$./mplayer lx.rm                          
                                      
CPU: ARM        
Creating config file: /tmp/.mplayer/config                                          

Failed to open /dev/rtc: No such file or directory (it should be readable by the                                                                                
 user.)       
Playing lx.rm.              
REAL file form            
Stream description: Audio Stream                                
Stream mimetype: audio/x-pn-realaudio                                     
Stream mimetype: logical-fileinfo                                 
Clip info:          
 name: 11111            
 author: 11111              
 copyright: 11111                 
==========================================================================                                                                          
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders                                                                
AUDIO: 44100 Hz, 1 ch, s16le, 32.audio_open
prescaler = 2
prescaler = 2
s3c2410-uda1341-superlp: audio_set_dsp_speed:44100 prescaler:66
audio_clear_buf
buf 0: start ffc2b000 dma 839254016
buf 1: start ffc2d000 dma 839262208
buf 2: start ffc2f000 dma 839270400
buf 3: start ffc31000 dma 839278592
buf 4: start ffc33000 dma 839286784
buf 5: start ffc35000 dma 839294976
buf 6: start ffc37000 dma 839303168
buf 7: start ffc39000 dma 839311360
prescaler = 2
prescaler = 2            
s3c2410-uda1341-superlp: audio_set_dsp_speed:44100 prescaler:66
0 kbit/4.54% (ratio: 4005->88200)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
==========================================================================
AO: [oss] 44100Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...
mixer ioctl 2147766295 unknown
A:  -0.0 (unknown) of 267.0 (04:27.0) ??,?%
A:  -0.0 (unknown) of 267.0 (04:27.0) ??,?%
A:  -0.0 (unknown) of 267.0 (04:27.0) ??,?%
A:  -0.0 (unknown) of 267.0 (04:27.0) ??,?%
A:  -0.0 (unknown) of 267.0 (04:27.0) ??,?%
......  

/=====================end======================/

I have insert a break point in avcodec_decode_audio().the Application just implement once.
In normal condition.This function should be circulates the execution.
so I confuse very much this.

All in the Maillist group is expert.could you help me.
Any help is very appreciated!



More information about the ffmpeg-devel mailing list