[MPlayer-users] I can't play pcm file with mplayer on arm board

bytex bytex at 163.com
Fri Aug 15 04:38:19 CEST 2008


 
 
 First , Thanks cooleyr(RC) for giving me so many help!

I cross compiled mplayer1.0rc2 with the following config:

/configure --cc=arm-linux-gcc --target=arm-armv4l-linux \
--as=arm-linux-as --ar=arm-linux-ar --ranlib=arm-linux-ranlib \
--host-cc=gcc --enable-static \
--disable-win32dll --disable-dvdread --disable-libdvdcss-internal \
--disable-network \
--enable-fbdev --disable-mencoder --disable-live \
--enable-alsa --enable-ossaudio \
--enable-libavcodec_a --enable-mp3lib

my cross compiler is arm-linux-gcc 3.3.2

No mistakes have occured during the compiling process.

I try to play a pcm file on my arm board, the output is :
-------------------------------------------------------------
MPlayer 1.0rc2-3.4.1 (C) 2000-2007 MPlayer Team
CPU: ARM

Playing nfly.pcm.


Exiting... (End of file)
-------------------------------------------------------------

but I can't hear any sound. 
It seems it played the file, because the "Playing nfly.pcm." delayed about two minutes

I can hear the sound if I use:
cat nfly.pcm > /dev/dsp

So, I think the sound driver is OK.

If I want play pcm file with mplayer, what shall I do?

Or any other advice?

Thanks.


 
 


More information about the MPlayer-users mailing list