[MPlayer-dev-eng] mplayer can't run under arm's framebuffer

Arpi arpi at thot.banki.hu
Mon Sep 25 11:31:45 CEST 2006


Hi,

> I have the same problem under my ARM Platform. Whether my framebuffer is 565
> and mplayer video out is 888??? Anyone have some idea about this. The
> following is my error message.

you'll probably have to write your own vo driver for your arm platform.
i worked with arm-based embedded platforms recently, and the framebuffer
driver in linux kernel does not implement (or even worse: seems to
be implemented but actually ignored) some functions, including the
resolution and color space settings. these are hardwired in arm
platforms and cannot be changed from userspace programs (on some
hardware not even from kernel parameters), thus mplayer is confused.

i wrote minimalist driver which only queries the current mode and
forces color space conversion to that mode, it worked.
(but it's for mplayer g3)

A'rpi

> 
> /mnt/tmpfs/tmp # ./mplayer -nosound -vo fbdev
> /mnt/config/mmcdir/silverstein.mp4
> MPlayer 1.0pre7-3.4.1 (C) 2000-2005 MPlayer Team
>  for Zaurus 1.1.5 (C) 2004-2005 AGAWA Koji (atty)
> CPU: ARM
> CommandLine: '-nosound' '-vo' 'fbdev' '/mnt/config/mmcdir/silverstein.mp4'
> Playing /mnt/config/mmcdir/silverstein.mp4.
> ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v1
> QuickTime/MOV file format detected.
> --------------
> MOV track #0: 1 chunks, 0 samples
> Generic track - not completely understood! (id: 0)
> --------------
> MOV track #1: 1 chunks, 0 samples
> Generic track - not completely understood! (id: 1)
> --------------
> MOV track #2: 2384 chunks, 5912 samples
> MOV: Found MPEG4 movie Elementary Stream Descriptor atom (107)!
> Image size: 320 x 240 (0 bpp)
> Display size: 320 x 240
> Fourcc: mp4v  Codec: ''
> --------------
> MOV track #3: 2395 chunks, 7390 samples
> Audio bits: 16  chans: 2  rate: 32000
> MOV: Found MPEG4 audio Elementary Stream Descriptor atom (47)!
> Fourcc: mp4a
> --------------
> MOV: longest streams: A: #3 (7390 samples)  V: #2 (5912 samples)
> VIDEO:  [mp4v]  320x240  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
> ==========================================================================
> 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 csp: Planar YV12)
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> The selected video_out device is incompatible with this codec.
> V:  34.0 850/850 45%  0%  0.0% 0 0
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> 
> 



More information about the MPlayer-dev-eng mailing list