[MPlayer-users] DGA scaling problems

Risto A. Paju teknohog.lovelyspam.wonderfulspam at iki.fi
Mon Sep 29 17:14:43 CEST 2003

The current CVS version of MPlayer has problems with fullscreen DGA on my
system. It seems the program chooses the wrong resolution, thus leaving
a lot of empty space on the screen. Sometimes the resulting aspect ratio
is wrong.

The problem has been in the CVS for some time. I have a version from June
4th which works fine, but it lacks some of the new codecs.

System info:
Mandrake Cooker
GCC 3.3.1
GLIBC 2.3.2
XFree86 4.3

Matrox MGA G100 AGP, using the mga driver of XFree86

Output of MPlayer; this movie is stretched too much vertically:

MPlayer dev-CVS-030929-16:06-3.3.1 (C) 2000-2003 MPlayer Team

CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner 447.3 MHz (Family:
6, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Playing media/video/movies/Dune.avi
AVI file format detected.
VIDEO:  [DIV3]  720x272  24bpp  24.000 fps  581.0 kbps (70.9 kbyte/s)
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local
vo_dga: Mode: depth=15, bpp=16, r=007c00, g=0003e0, b=00001f, native (-bpp
vo_dga: Mode: depth=16, bpp=16, r=00f800, g=0007e0, b=00001f, native (-bpp
vo_dga: Mode: depth=24, bpp=24, r=ff0000, g=00ff00, b=0000ff, native (-bpp
vo_dga: Mode: depth=24, bpp=32, r=ff0000, g=00ff00, b=0000ff, native (-bpp
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit
alsa-init: 1 soundcard found, using: hw:0,0
alsa9: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little
AO: [alsa9] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 720 x 272 (preferred csp: Planar YV12)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
VO: [dga] 720x272 => 720x272 BGR 32-bit  [fs]
vo_dga: DGA 2.0 available :-) Can switch resolution AND depth!
vo_dga: Selected hardware mode  720 x  400 @  85 Hz @ depth 24, bitspp 32.
vo_dga: Video parameters by codec: 720 x 272, depth 24, bitspp 32.
vo_dga: Aspect corrected size for SwScaler:  720 x  202.
alsa-uninit: pcm closed-0.001 ct:  0.026  112/112  15%  0%  3.5% 2 0 0%

Mr Risto A. Paju ::: http://www.iki.fi/teknohog/

More information about the MPlayer-users mailing list