[MPlayer-users] Using fbdev to play videos on MPlayer

Siddharth Pandey sid_invincible at yahoo.co.in
Wed Sep 20 13:25:09 CEST 2006


hi,
    I am working on a  freescale board(Linux Target mage Builder - Ltib). I have enabled directfb and fbdev for mplayer.When i try to play a video i get the video output but it is smudged.By smudged i mean  i can only see the outline and the colours dont appear.

Below is the log that mplayer provides when trying to play a file

mplayer -vo fbdev 1.mpg 
MPlayer 1.0pre8-3.4.3 (C) 2000-2006 MPlayer Team 
CPU: PowerPC 
 
 
Playing 1.mpg. 
MPEG-PS file format detected. 
VIDEO:  MPEG1  640x480  (aspect 1)  25.000 fps    0.0 kbps ( 0.0 kbyte/s) 
========================================================================== 
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 
AUDIO: 32000 Hz, 2 ch, s16be, 64.0 kbit/6.25% (ratio: 8000->128000) 
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) 
==========================================================================  
========================================================================== 
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough 
VDec: vo config request - 640 x 480 (preferred colorspace: Mpeg PES) 
Could not find matching colorspace - retrying with -vf scale... 
Opening video filter: [scale] 
The selected video_out device is incompatible with this codec. 
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp. 
VDecoder init failed :( 
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b 
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2)) 
========================================================================== 
AO: [oss] 32000Hz 2ch s16be (2 bytes per sample) 
Starting playback... 
VDec: vo config request - 640 x 480 (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 1.33:1 - prescaling to correct movie aspect. 
No accelerated colorspace conversion found 
SwScaler: using unscaled Planar YV12 -> BGR 15-bit special converter 
VO: [fbdev] 640x480 => 640x480 BGR 15-bit 
New_Face failed. Maybe the font path is wrong. 2 ??% ??% ??,?% 0 0 $<50> 
Please supply the text font file (~/.mplayer/subfont.ttf). 
subtitle font: load_sub_face failed. 
A:   0.7 V:   0.6 A-V:  0.105 ct:  0.031  15/ 15 67% 120%  2.5% 0 0 $<50> 
 
MPlayer interrupted by signal 2 in module: decode_video

Please could anyone point out the reason why the video is not playing properly.
Is it some problem with configuring the framebuffers.
Is it a rgb configuration problem. As i am compiling on a little-endian machine and the board is a big-endian machine.

Thanks and Regards,
Siddharth
 		
---------------------------------
 All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.


More information about the MPlayer-users mailing list