mplayer播放问题
我的arm板子 之前用的16位lvds的显示屏mplayer播放正常。换了32位的lvds屏后。改完驱动后图片显示正常了,但是mplayer无法播放。打印信息如下:# mplayer 001.mp4
MPlayer 1.0rc2.atmel.1-4.4.3 (C) 2000-2007 MPlayer Team
CPU: ARM
Playing 001.mp4.
ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v2
Quicktime/MOV file format detected.
[mov] Video stream found, -vid 0
[mov] Audio stream found, -aid 1
VIDEO: [avc1] 480x272 24bpp 15.000 fps 0.0 kbps ( 0.0 kbyte/s)
vo: couldn't open the X11 display ()!
VO XOverlay need a subdriver
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 22050 Hz, 2 ch, s16le, 32.0 kbit/4.54% (ratio: 4004->88200)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
bytes_per_sample 4, channels 2, sample rate 22050 , bps 88200
alsa_buffer_time 500000, alsa_period_time 125000
set buffer time 1486077 , err 0
[AO_ALSA] buffer_time: 0, period_time :0
alsa-init: got buffersize=131072
alsa-init: got period size 2048
outburst size 8192
AO: [alsa] 22050Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 480 x 272 (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)
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x5ff98c]No accelerated colorspace conversion found
[swscaler @ 0x5ff98c]SwScaler: using unscaled yuv420p -> bgr24 special converter
VO: [fbdev] 480x272 => 480x272 BGR 24-bit
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
FATAL: Could not initialize video filters (-vf) or video output (-vo).
Exiting... (End of file)
#
我尝试 mplayer -vo fbdev2 001.mp4 这个命名后播放出来了。但是颜色有失真。请指点下问题在哪里?是framebuffer有问题吗?应该怎么解决?