[MPlayer-users] I can't play sound and correct color with mplayer on arm926EJS board

bytex bytex at 163.com
Tue Mar 11 08:38:25 CET 2008


 I have ported mplayer to arm926EJS board.
compiler: arm-linux-gcc-3.3.2
mplayer: MPlayer-1.0pre8
The sound drivers and framebuffer driver is ok.
conifugration:
/configure --host-cc=gcc --cc=arm-linux-gcc --target=arm-armv4l-linux --enable-static --prefix=/rootfs/usr/local/mplayer --disable-win32  --disable-dvdread --enable-fbdev --disable-mencoder --disable-live --enable-libavcodec --language=zh_CN --with-codecsdir=/usr/lib/codecs/ 
 
and execute make successfully.
 
but I can't play sound: 
#mplayer a.pcm
the following is the message:
-----------------------------------------
MPlayer 1.0pre8-3.3.2 (C) 2000-2006 MPlayer Team
CPU: ARM
Linux RTC init error in ioctl (rtc_irqp_set 1024): Inappropriate ioctl for device
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Playing a.pcm.
Exiting... (End of file)
-----------------------------------------
The sound driver is ok. I can play sound use:
cat a.pcm > /dev/dsp
 
 
If I play video file, it can play fluent, but the colour is not correct.
#mplayer -nosound a.avi
the following is the message:
-----------------------------------------
MPlayer 1.0pre8-3.3.2 (C) 2000-2006 MPlayer Team
CPU: ARM
Linux RTC init error in ioctl (rtc_irqp_set 1024): Inappropriate ioctl for device
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.  
Playing a.avi.
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
No accelerated colorspace conversion found   
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter 
AVI file format detected.
AVI_NI: No audio stream found -> no sound. 
VIDEO:  [XVID]  320x240  12bpp  23.980 fps  442.5 kbps (54.0 kbyte/s)
Clip info:
Software: MEncoder Sherpya-r20258-MinGW-4.1.1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================                                                    Audio: no sound
Starting playback...  
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)  
Could not find matching colorspace - retrying with -vf scale... 
Opening video filter: [scale] 
VDec: using Planar YV12 as output csp (no 0)
VO: [fbdev] 320x240 => 320x240 BGR 16-bit 
V:   5.3 129/129 77% 8028629%  0.0% 0 0   
 
-----------------------------------------
 
 
how can i play sound and the correct color?
 
 
 
 


More information about the MPlayer-users mailing list