[MPlayer-cvslog] r23675 - in trunk/libvo: vo_dxr3.c vo_gl.c vo_gl2.c vo_x11.c vo_xmga.c vo_xover.c vo_xv.c vo_xvidix.c vo_xvmc.c x11_common.c x11_common.h

Attila Kinali attila at kinali.ch
Wed Jul 11 22:09:10 CEST 2007


On Wed, 27 Jun 2007 12:26:14 +0200 (CEST)
reimar <subversion at mplayerhq.hu> wrote:

> Log:
> Make X11 window creation and (with -fixed-vo) management simpler and more
> consistent by introducing a new function that handles most of the
> ugly things. Changes of behaviour with some vos is unavoidable, bug reports
> welcome.

This commit breaks xmga and xv for me:

---
$ ./mplayer -vo xmga /data/outsource/inu_yasha/clips/Inuyasha\ Japanese\ TV\ Commercial\ 6\ \[V6\].mpeg -nosound -v
MPlayer dev-SVN-r23681-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3700+ (Family: 15, Model: 55, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
get_path('codecs.conf') -> '/home/attila/.mplayer/codecs.conf'
Reading /home/attila/.mplayer/codecs.conf: Can't open '/home/attila/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: 
CommandLine: '-vo' 'xmga' '/data/outsource/inu_yasha/clips/Inuyasha Japanese TV Commercial 6 [V6].mpeg' '-nosound' '-v'
init_freetype
get_path('font/font.desc') -> '/home/attila/.mplayer/font/font.desc'
Bitmap font /home/attila/.mplayer/font/font.desc loaded successfully! (140 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/attila/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/attila/.mplayer/input.conf'
Can't open input config file /home/attila/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('Inuyasha Japanese TV Commercial 6 [V6].mpeg.conf') -> '/home/attila/.mplayer/Inuyasha Japanese TV Commercial 6 [V6].mpeg.conf'

Playing /data/outsource/inu_yasha/clips/Inuyasha Japanese TV Commercial 6 [V6].mpeg.
get_path('sub/') -> '/home/attila/.mplayer/sub/'
[file] File size is 5256888 bytes
STREAM: [file] /data/outsource/inu_yasha/clips/Inuyasha Japanese TV Commercial 6 [V6].mpeg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename /data/outsource/inu_yasha/clips/Inuyasha Japanese TV Commercial 6 [V6].mpeg ext: .mpeg
LAVF_check: MPEG PS format
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 0
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 72109, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=553648376
LMLM4 Stream Format not found
system stream synced at 0xB (11)!
==> Found video stream: 0
==> Found audio stream: 0
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG1  352x240  (aspect 1)  29.970 fps  1150.0 kbps (143.8 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:352x240  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/attila/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1152x864 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours LAYER FULLSCREEN ABOVE BELOW X atoms
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred colorspace: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
VDec: vo config request - 352 x 240 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.47:1 - prescaling to correct movie aspect.
VO Config (352x240->352x240,flags=0,'MPlayer',0x32315659)
VO: [xmga] 352x240 => 352x240 Planar YV12 
VO: Description: Matrox G200/G4x0/G550 overlay in X11 window (using /dev/mga_vid)
VO: Author: Zoltan Ponekker <pontscho at makacs.poliod.hu>
[MGA] Using 3 buffers.
Using colorkey: ff00
X11 error: BadColor (invalid Colormap parameter)
Type: 0, display: 0xfbaab0, resourceid: 1, serial: 27
Error code: c, request code: 1, minor code: 0
X11 error: BadWindow (invalid Window parameter)
Type: 0, display: 0xfbaab0, resourceid: 3c00003, serial: 28
Error code: 3, request code: 12, minor code: 0
X11 error: BadDrawable (invalid Pixmap or Window parameter)
Type: 0, display: 0xfbaab0, resourceid: 3c00003, serial: 29
Error code: 9, request code: 37, minor code: 0
X11 error: BadWindow (invalid Window parameter)
Type: 0, display: 0xfbaab0, resourceid: 3c00003, serial: 2a
Error code: 3, request code: 12, minor code: 0
[...]
---

resp

---
$ ./mplayer -vo xv //data/outsource/inu_yasha/clips/Inuyasha\ Japanese\ TV\ Commercial\ 6\ \[V6\].mpeg -nosound -v

[...]

Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
VDec: vo config request - 352 x 240 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.47:1 - prescaling to correct movie aspect.
VO Config (352x240->352x240,flags=0,'MPlayer',0x32315659)
VO: [xv] 352x240 => 352x240 Planar YV12 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
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 73 for hw scaling
[xv] dx: 0 dy: 0 dw: 352 dh: 240
*** [vo] Allocating mp_image_t, 352x240x12bpp YUV planar, 126720 bytes
[xv] dx: 0 dy: 0 dw: 352 dh: 240
*** [vo] Allocating mp_image_t, 352x240x12bpp YUV planar, 126720 bytes
*** [vo] Allocating mp_image_t, 352x240x12bpp YUV planar, 126720 bytes
X11 error: BadAlloc (insufficient resources for operation)
Type: 0, display: 0xfbaab0, resourceid: 68, serial: 64
Error code: b, request code: 8d, minor code: 13
X11 error: BadAlloc (insufficient resources for operation)
Type: 0, display: 0xfbaab0, resourceid: 68, serial: 65
Error code: b, request code: 8d, minor code: 13
X11 error: BadAlloc (insufficient resources for operation)
Type: 0, display: 0xfbaab0, resourceid: 68, serial: 66
Error code: b, request code: 8d, minor code: 13
[...]
---

It doesn't seem to depend on the codec, though all
vids i tried used YV12. -vo x11 and mga work.

Sorry, i'm too tired to further narrow it down.
If this isn't enough, let me know.

	
			Attila Kinali


-- 
Linux ist... wenn man einfache Dinge auch mit einer kryptischen
post-fix Sprache loesen kann
                        -- Daniel Hottinger



More information about the MPlayer-cvslog mailing list