[Mplayer-users] fullscreen change with new version?

Mengmeng Zhang mengmeng at io.com
Sat Jun 30 14:05:16 CEST 2001


I've noticed with both the xmga and xv -vo drivers that MPlayer 0.18pre3
has a different behavior with the fullscreen (-fs) option than before. In
previous versions (latest I tested was 0.17cvs-010618-23:45), full screen
would fill the entire screen under xmga and xv, but now it's just a
maximized window. Is this a bug? Or just a deliberate change? I liked the
old fullscreen mode a bit better.

I'm running on a PII-400, Matrox G450, XFree 4.1.0 with DRI and Xv
enabled, gcc 2.95.3-release, Linux kernel 2.4.5, with the mga_vid module
(of course). It's technically RedHat 5.1 but I've upgraded all the
packages to about RH 6.2/7.0 equiv, I think.  It's sort of a weird
frankenstein of updated rpm's and tarballs. Oh, -vo mga -fs behaves the
same under both versions; just the video superimposed on the screen. The
output from both versions with -vo xv is below.

Here's the output for the old version with xv:
---
[mengmeng at ttyq4 ~/tmp/mplayer-cvs]$ ./mplayer -vo xv -fs
/mnt/mp3/tmp/pm.avi


MPlayer 0.17cvs-010618-23:45  (C) 2000-2001 Arpad Gereoffy
<arpi at thot.banki.hu>
Reading /home/mengmeng/.mplayer/codecs.conf: 15 audio & 28 video codecs
Font /home/mengmeng/.mplayer/font/font.desc loaded successfully! (495
chars)
Detected AVI file format!
==> Found video stream: 0
==> Found audio stream: 1
VIDEO:  [DIV3]  720x404  24bpp  29.97 fps  365.5 kbps (44.6 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:720x404  fps:29.97  ftime:=0.0334
Found audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: Processor ID: 652
mp3lib: i586 processor detected.
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 16000->192000
Found video codec: [divxds] drv:4 (DivX ;-) (MS MPEG-4 v3))
Loading DLL: /usr/lib/win32mp/divx_c32.ax  OK
Using DirectShow codec: divx_c32.ax
DShow: using YUY2 colorspace
DivX setting result = 0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1600x1200 depth: 32 (":0.0" => local display)
VO: [xv] 720x404 => 1600x897 fs  YUY2
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 58 for hw scaling
[xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1600 dh: 1200
[xv-fs] dcx: 0 dcy: 151 dx: 0 dy: 151 dw: 1600 dh: 897
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested:
Signed 16-bit (Little-Endian))
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:   2/2  (65536 bytes/frag)  free: 131072
Initial frame delay  A: 0  V: 0
AVI Initial frame delay: 0.000
Start playing...
Initial PTS delay: 0.128 sec  (calculated: -0.273)
A:   1.4 (   0.7)  V:   0.5  A-V:  0.156 ct:  0.053   18  85% 16%  8.5% 15
Exiting... (Quit)

---------

And here's from the new with xv:
---
[mengmeng at ttyq4 ~/tmp/mplayer-cvs]$ mplayer -vo xv -fs /mnt/mp3/tmp/pm.avi


MPlayer 0.18pre3(C) 2000-2001 Arpad Gereoffy <arpi at thot.banki.hu>

Reading /home/mengmeng/.mplayer/codecs.conf: 15 audio & 28 video codecs
Font /home/mengmeng/.mplayer/font/font.desc loaded successfully! (495
chars)
Detected AVI file format!
==> Found video stream: 0
==> Found audio stream: 1
VIDEO:  [DIV3]  720x404  24bpp  29.97 fps  365.5 kbps (44.6 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:720x404  fps:29.97  ftime:=0.0334
Found audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: Processor ID: 652
mp3lib: i586 processor detected.
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 16000->192000
Found video codec: [divxds] drv:4 (DivX ;-) (MS MPEG-4 v3))
Loading DLL: /usr/lib/win32/divx_c32.ax  OK
Using DirectShow codec: divx_c32.ax
DShow: using YUY2 colorspace
DivX setting result = 0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1600x1200 depth: 32 (":0.0" => local display)
VO: [xv] 720x404 => 1600x897 Packed YUY2 fs
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 58 for hw scaling
[xv] dcx: 4 dcy: 18 dx: 0 dy: 0 dw: 1592 dh: 1081
[xv-fs] dcx: 4 dcy: 169 dx: 0 dy: 151 dw: 1600 dh: 897
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested:
Signed 16-bit (Little-Endian))
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:   2/2  (65536 bytes/frag)  free: 131072
Initial frame delay  A: 0  V: 0
AVI Initial frame delay: 0.000
Start playing...
[xv] dcx: 4 dcy: 18 dx: 0 dy: 0 dw: 1592 dh: 1081
[xv-fs] dcx: 4 dcy: 169 dx: 0 dy: 151 dw: 1600 dh: 897
Initial PTS delay: 0.229 sec  (calculated: -0.171)
A:   1.4 (   0.9)  V:   0.7  A-V:  0.197 ct:  0.070   23  87% 15%  8.3% 23
Exiting... (Quit)

---------

If need be, I can also give the output with -vo xmga. I did notice with
-vo xmga one major difference in the lines starting with VO:

VO: [xmga] 720x404 => 1600x897 fs YUY2
----- under the old version
VO: [xmga] 720x404 => 1600x897 Packed YUY2 fs
VO: Description: X11 (Matrox G200/G400 overlay in window using
/dev/mga_vid)
VO: Author: Zoltan Ponekker <pontscho at makacs.poliod.hu>
----- under the new version

Oh, and I wanted to mention that I've noticed if I use the mga driver
after using the xmga driver, it seems to somehow "fix" Xv. I'm not sure if
it works for everybody, but I figure it might save some people from
restarting X.

MZ
-- 
It is only with the heart that one can see rightly; what is essential is
invisible to the eye.  - Antoine de Saint-Exupery, _The Little Prince_

The three rules of the Librarians of Time and Space are: 1) Silence; 2) Books
must be returned no later than the date last shown; and 3) Do not interfere
with the nature of causality.  - Terry Pratchett, Discworld


_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list