Using fbdev to play videos on MPlayer
Siddharth Pandey <[email protected]> Tue, 19 Sep 2006 23:09:20 -0700 (PDT)
| Newsgroups | gmane.linux.fbdev.user |
|---|---|
| Message-ID | <[email protected]> |
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.
Below is the log that mplayer provides whn 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.
Thanks and Regards,
Siddharth
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1ยข/min.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Linux-fbdev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-users