[MPlayer-users] Playing movies fullscreen with fbdev

Henric Andersson ha at thedudes.nu
Mon Oct 21 22:09:02 CEST 2002


> > What option am I missing here? I've tried expand and it works great
(makes
> > the movies go fullscreen) but a movie that is bigger than the screen
will
> > not play. I also tried adding scale=640:480, which works fine on any 4:3
> > movie, but screws up the aspectratio on any non 4:3.
>
> try scale=-2:480

Tried it, worked prettywell, but for some strange reason, the movie isn't
scaled down to 480, instead, it's blown up to 768 or something. Whats more,
when I try to force the movie into atleast 640 pixels width, it ignores
it... Totally strange. This is what I do:

~> /usr/local/bin/mplayer -vo fbdev -ao alsa9 -zoom -xy 640 somemovie.mpg

MPlayer 0.90pre8-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Tualatin (Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading /root/.mplayer/codecs.conf: Reading
/usr/local/etc/mplayer/codecs.conf: 38 audio & 106 video codecs
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206
chars)
Using Linux hardware RTC timing (1024Hz)

Playing somemovie.mpg
Detected MPEG-PS file format!
VIDEO:  MPEG2  480x576  (aspect 2)  25.00 fps  3150.0 kbps (393.8 kbyte/s)
==========================================================================
Detected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 28000->176400 (224.0 kbit)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 480 x 576 (preferred csp: Mpeg PES)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 480 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [fbdev] 480x576 => 640x480 Planar YV12  [zoom]
Using MMX2 for colorspace transform
Detected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2)
==========================================================================
AO: [alsa9] 44100Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit
(Little-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa9: 44100 Hz/2 channels/4 bpf/16384 bytes buffer/Signed 16 bit Little
Endian
Start playing...

What happens to the output? Well, it's 480x576 and not 640x480 ... I've
tried putting the -zoom option before and after -xy incase that did the
trick (mplayer seems to very unsensitive to options, since it doesn't
complain if I write a wrong option). Also, removing the option (-zoom) all
together make no difference either. It's like the fact that the movie comes
with a preset aspect ratio that I'm unable to change it.

Please don't tell me that this error is due to the use of mpeg movies?

> > Bottomline:
> > Does anyone have a clue as to what parameters will work with every movie
and
> > make them play fullscreen with the correct aspectratio for a specific
> > resolution? (and yes, I _must_ use fbdev as it is now... DirectFB is
also a
>
> and fbdev:vidix doesn't work too?

Vidix isn't supported on S3 Savage4 (or so I think. Please correct me if I'm
wrong :))

/Henric




More information about the MPlayer-users mailing list