[MPlayer-users] bugreport: vm+fs with blackbox 0.62.1 (x11/sdl)

Thomas Klausner wiz at danbala.ifoer.tuwien.ac.at
Tue May 28 01:02:01 CEST 2002


Hi!

I'm using blackbox-0.62.1 as windowmanager on NetBSD-1.6A/i386.
My X is 4.2.0 with the nvidia driver coming with X (not the Linux-only
one provided by nvidia). Riva TNT, so no Xv support.

I just (about half an hour) ago checked out the mplayer CVS and tested
with that version.

My ~/.mplayer/config file contains:
fs=yes
vo=x11
vm=yes

mplayer -v output for both x11 and sdl is attached.

The problem is:
When mplayer starts up, it switches resolution (great!) but the window
from which I started mplayer is on top of the video window.
Pressing 'f' I can go to fullscreen mode (even though that should be
the default already with my options, or?), but then no further
keypresses are accepted, until I switch to a different window and then
back to the window where I started mplayer from, then I can use the
keyboard to control mplayer.

Without 'vm=yes' everything is perfect (except that the graphics
window is so small ;).

Another weirdness: I can scroll the screen with the mouse and put the
mplayer window out of the center of the screen (but probably that's
x11's problem).

With vo=sdl in the config file, the first window that appears has a
header bar (with 'mplayer' and the keys f and c mentioned) but no
graphics (black inside); when I switch away from fullscreen and then
back (I don't have to do any focus tricks to make the keyboard work)
everything works nicely, but the first window is not ok. Mouse
movement in full screen mode does not put the mplayer window out of
the center of the screen.

Additional 'f' presses make the window with header bar show
graphics. SDL version is 1.2.3.

I hope this mail contains all the info you need.

I remember that full screen mode worked much better in, I think,
0.90pre2, but I don't have that version installed anymore.

Feel free to send me patches to test :)

Thanks for mplayer,
 Thomas

-- 
Thomas Klausner - wiz at danbala.tuwien.ac.at
When all other means of communication fail, try words.
-------------- next part --------------


MPlayer CVS-700101-01:00-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

/home/wiz/.mplayer/config(2): option: fs
/home/wiz/.mplayer/config(2): parameter: yes
/home/wiz/.mplayer/config(4): option: vo
/home/wiz/.mplayer/config(4): parameter: sdl
/home/wiz/.mplayer/config(5): option: vm
/home/wiz/.mplayer/config(5): parameter: yes
Reading /home/wiz/.mplayer/codecs.conf: 34 audio & 92 video codecs
CommandLine: '-v' '/home/wiz/viva.mps'
get_path('font/font.desc') -> '/home/wiz/.mplayer/font/font.desc'
font: can't open file: /home/wiz/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/home/wiz/.mplayer/input.conf'
Can't open input config file /home/wiz/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing /home/wiz/viva.mps
Not an URL!
File size is 128469901 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x82f3000
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x82f3000
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x82f3000
Checking for MOV
DEMUXER: freeing demuxer at 0x82f3000
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x82f3000
Checking for REAL
DEMUXER: freeing demuxer at 0x82f3000
DEMUXER: freeing demuxer at 0x82f3000
DEMUXER: freeing demuxer at 0x82f3000
DEMUXER: freeing demuxer at 0x82f3000
DEMUXER: freeing demuxer at 0x82f3000
DEMUXER: freeing demuxer at 0x82f3000
system stream synced at 0xB (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG1  768x576  (aspect 1)  25.00 fps  131071.5 kbps (16383.9 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:768x576  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/wiz/.mplayer/sub/'
Detected audio codec: [mp3] afm:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!
MPEG 1.0, Layer II, 44100 Hz 384 kbit Stereo, BPF: 1254
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 48000->176400 (384.0 kbit)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 768 x 576 (preferred csp: Mpeg PES)
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
Sorry, selected video_out device is incompatible with this codec.
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 - 768 x 576 (preferred csp: Planar YV12)
vo_debug: query(Planar YV12) returned 0x437 (i=0)
Movie-Aspect is undefined - no prescaling applied.
video_out->init(768x576->768x576,flags=3,'MPlayer',0x32315659)
VO: [sdl] 768x576 => 768x576 Planar YV12  [fs] [vm]
VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>, Felix Buenemann <atmosfear at users.sourceforge.net>
SDL: Using 0x32315659 (Planar YV12) image format
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 1024x768
Disabling DPMS
stat: 1
SDL: Using driver: x11
SDL: using hardware-surface
SDL: setting zoomed fullscreen without modeswitching
SDL: Info - please use -vm or -zoom to switch to best resolution.
Detected video codec: [mpeg12] vfm:1 (MPEG 1 or 2)
==========================================================================
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/sound' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:   4/4  (16384 bytes/frag)  free:  65536
Start playing...
user_data: len= 84  4D 50 45 47 'MPEG stream encoded by UCB Encoder (mpeg_encode) v1.5b on Mon May 20 13:17:45 2002.'
*** [vo] Allocating mp_image_t, 768x576x12bpp YUV planar, 663552 bytes
*** [vo] Allocating mp_image_t, 768x576x12bpp YUV planar, 663552 bytes%
*** [vo] Allocating mp_image_t, 768x576x12bpp YUV planar, 663552 bytes%
SDL: activating XScreensaver/DPMS -0.024   76/ 76  11% 40%  1.1% 0 0 0%
Successfully enabled DPMS
vo: x11 uninit called but X11 not inited..

Exiting... (Quit)
-------------- next part --------------


MPlayer CVS-700101-01:00-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

/home/wiz/.mplayer/config(2): option: fs
/home/wiz/.mplayer/config(2): parameter: yes
/home/wiz/.mplayer/config(4): option: vo
/home/wiz/.mplayer/config(4): parameter: x11
/home/wiz/.mplayer/config(5): option: vm
/home/wiz/.mplayer/config(5): parameter: yes
Reading /home/wiz/.mplayer/codecs.conf: 34 audio & 92 video codecs
CommandLine:get_path('font/font.desc') -> '/home/wiz/.mplayer/font/font.desc'
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/home/wiz/.mplayer/input.conf'
Can't open input config file /home/wiz/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing /home/wiz/viva.mps
Not an URL!
File size is 128469901 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x81d8000
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x81d8000
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x81d8000
Checking for MOV
DEMUXER: freeing demuxer at 0x81d8000
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x81d8000
Checking for REAL
DEMUXER: freeing demuxer at 0x81d8000
DEMUXER: freeing demuxer at 0x81d8000
DEMUXER: freeing demuxer at 0x81d8000
DEMUXER: freeing demuxer at 0x81d8000
DEMUXER: freeing demuxer at 0x81d8000
DEMUXER: freeing demuxer at 0x81d8000
system stream synced at 0xB (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG1  768x576  (aspect 1)  25.00 fps  131071.5 kbps (16383.9 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:768x576  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/wiz/.mplayer/sub/'
Detected audio codec: [mp3] afm:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!
MPEG 1.0, Layer II, 44100 Hz 384 kbit Stereo, BPF: 1254
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 48000->176400 (384.0 kbit)
[x11] Create window for WM detect ...
[x11] Unknown wm type...
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 768 x 576 (preferred csp: Mpeg PES)
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
VDec: vo config request - 768 x 576 (preferred csp: Planar YV12)
vo_debug: query(Planar YV12) returned 0x445 (i=0)
vo_debug: query(Planar I420) returned 0x445 (i=1)
vo_debug: query(Planar IYUV) returned 0x445 (i=2)
Movie-Aspect is undefined - no prescaling applied.
video_out->init(768x576->768x576,flags=3,'MPlayer',0x32315659)
VO: [x11] 768x576 => 768x576 Planar YV12  [fs] [vm]
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Sharing memory.
Using MMX2 for colorspace transform
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
Detected video codec: [mpeg12] vfm:1 (MPEG 1 or 2)
==========================================================================
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Start playing...
*** [vo] Allocating mp_image_t, 768x576x12bpp YUV planar, 663552 bytes
*** [vo] Allocating mp_image_t, 768x576x12bpp YUV planar, 663552 bytes%
*** [vo] Allocating mp_image_t, 768x576x12bpp YUV planar, 663552 bytes%
A:   7.5 V:   7.4 A-V:  0.061 ct: -0.047  182/182  13% 14%  1.1% 0 0 0%
Exiting... (Quit)



 '-v' '/home/wiz/viva.mps'
font: can't open file: /home/wiz/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
X11 opening display: :0.0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bits/pixel (":0.0" => local display)
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
XF86VidMode Extension v2.1
XF86VM: Selected video mode 800x600 for image size 768x576.
Disabling DPMS
stat: 1
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/sound' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:   4/4  (16384 bytes/frag)  free:  65536
user_data: len= 84  4D 50 45 47 'MPEG stream encoded by UCB Encoder (mpeg_encode) v1.5b on Mon May 20 13:17:45 2002.'
Successfully enabled DPMS

Returning to original mode 1024x768
vo: uninit ...


More information about the MPlayer-users mailing list