[Mplayer-advusers] -vo dga doesnt works anymore

Attila Kinali kinali at gmx.net
Sat Apr 27 16:21:31 CEST 2002


Hi,

I have serious problems with dga. Every file i tryed returns a 
X11 error: BadDrawable (invalid Pixmap or Window parameter)

It changes videomode but fails before i see a pic.
forcing to use avcodec fails (either with with same
errormsg or it switches to dshow)

-novm and -nodr doesnt help either


Using current cvs, codecs.conf is updated.
OS: linux 2.4.17
X is 4.2.0 driver mga
graka is G550, 32MB

---schnipp---

MPlayer CVS-020415-15:32-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon (Type: 6, Stepping: 2)
Compiled for x86 CPU with features: MMX
CommandLine:Reading /root/.mplayer/codecs.conf: 30 audio & 81 video codecs
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
 '-vo' 'dga' '/data/outsource/misc/Musik Videos/[Yaoithrower]White_reflection.SBC.avi' '-vfm' '5' '-v'
Using Linux's hardware RTC timing (1024Hz)
Font /root/.mplayer/font/font.desc loaded successfully! (140 chars)
Using MMX Optimized OnScreenDisplay
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) config
Playing /data/outsource/misc/Musik Videos/[Yaoithrower]White_reflection.SBC.avi
Can't open IFO file: No such file or directory
File size is 69050368 bytes
Not an URL!
Detected AVI file format!
==> Found video stream: 0
list_end=0x2292
======= AVI Header =======
us/frame: 33367  (fps=29.970)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 8457   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 480
list_end=0x10F4
found 'bih', 40 bytes of 40
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 29970/1000 = 29.970
Start: 0   Len: 8457
Suggested BufferSize: 107110
Quality 10000
Sample size: 0
Regenerating keyframe table for DIVX 3 video
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 480
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 921600
===========================
==> Found audio stream: 1
list_end=0x2186
found 'wf', 30 bytes of 20
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 20000/1 = 20000.000
Start: 0   Len: 5606990
Suggested BufferSize: 10000
Quality -1
Sample size: 1
Software  : Nandub v1.0rc2
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 20000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=480
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
list_end=0x2292
list_end=0x22B6
hdr=Software  size=15
Broken chunk?  chunksize=1346  (id=JUNK)
Found movie at 0x280C - 0x4197F30
list_end=0x4197F30
Reading INDEX block, 16846 chunks for 8457 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 16846 chunks for 8457 frames
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x271C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=63027822
VIDEO:  [DIV3]  640x480  24bpp  29.97 fps  1786.9 kbps (218.1 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:640x480  fps:29.97  ftime:=0.0334
Clip info: 
 Software: Nandub v1.0rc2
get_path('sub/') -> '/root/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 20000->192000
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon (Type: 6, Stepping: 2)
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!

MPEG 1.0, Layer III, 48000 Hz 160 kbit Joint-Stereo, BPF: 480
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
==========================================================================
Trying to force video codec driver family 5 ...
INFO: libavcodec init OK!
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx
Detected video codec: [ffdivx] drv:5 prio:0 (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
couldn't open/init audio device -> NOSOUND
Audio: no sound!!!
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
Can't open audio device /dev/dsp: No such device  -> no sound
Freeing 0 unused audio chunks
Start playing...
VDec: vo config request - 640 x 480, Planar YV12  
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x407 (i=0) 
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 bits/pixel (":0.0" => local display)
vo_dga: (000) depth=8, bpp=8, r=00000000, g=00000000, b=00000000, 1152 x 864
vo_dga: (001) depth=8, bpp=8, r=00000000, g=00000000, b=00000000, 1024 x 768
vo_dga: (002) depth=8, bpp=8, r=00000000, g=00000000, b=00000000, 800 x 600
vo_dga: (003) depth=8, bpp=8, r=00000000, g=00000000, b=00000000, 640 x 480
vo_dga: (004) depth=15, bpp=16, r=00007c00, g=000003e0, b=0000001f, 1152 x 864
vo_dga: (005) depth=15, bpp=16, r=00007c00, g=000003e0, b=0000001f, 1024 x 768
vo_dga: (006) depth=15, bpp=16, r=00007c00, g=000003e0, b=0000001f, 800 x 600
vo_dga: (007) depth=15, bpp=16, r=00007c00, g=000003e0, b=0000001f, 640 x 480
vo_dga: (008) depth=15, bpp=16, r=00007c00, g=000003e0, b=0000001f, 1152 x 864
vo_dga: (009) depth=15, bpp=16, r=00007c00, g=000003e0, b=0000001f, 1024 x 768
vo_dga: (010) depth=15, bpp=16, r=00007c00, g=000003e0, b=0000001f, 800 x 600
vo_dga: (011) depth=15, bpp=16, r=00007c00, g=000003e0, b=0000001f, 640 x 480
vo_dga: (012) depth=16, bpp=16, r=0000f800, g=000007e0, b=0000001f, 1152 x 864
vo_dga: (013) depth=16, bpp=16, r=0000f800, g=000007e0, b=0000001f, 1024 x 768
vo_dga: (014) depth=16, bpp=16, r=0000f800, g=000007e0, b=0000001f, 800 x 600
vo_dga: (015) depth=16, bpp=16, r=0000f800, g=000007e0, b=0000001f, 640 x 480
vo_dga: (016) depth=16, bpp=16, r=0000f800, g=000007e0, b=0000001f, 1152 x 864
vo_dga: (017) depth=16, bpp=16, r=0000f800, g=000007e0, b=0000001f, 1024 x 768
vo_dga: (018) depth=16, bpp=16, r=0000f800, g=000007e0, b=0000001f, 800 x 600
vo_dga: (019) depth=16, bpp=16, r=0000f800, g=000007e0, b=0000001f, 640 x 480
vo_dga: (020) depth=24, bpp=24, r=00ff0000, g=0000ff00, b=000000ff, 1152 x 864
vo_dga: (021) depth=24, bpp=24, r=00ff0000, g=0000ff00, b=000000ff, 1024 x 768
vo_dga: (022) depth=24, bpp=24, r=00ff0000, g=0000ff00, b=000000ff, 800 x 600
vo_dga: (023) depth=24, bpp=24, r=00ff0000, g=0000ff00, b=000000ff, 640 x 480
vo_dga: (024) depth=24, bpp=24, r=00ff0000, g=0000ff00, b=000000ff, 1152 x 864
vo_dga: (025) depth=24, bpp=24, r=00ff0000, g=0000ff00, b=000000ff, 1024 x 768
vo_dga: (026) depth=24, bpp=24, r=00ff0000, g=0000ff00, b=000000ff, 800 x 600
vo_dga: (027) depth=24, bpp=24, r=00ff0000, g=0000ff00, b=000000ff, 640 x 480
vo_dga: (028) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 1024 x 768
vo_dga: (029) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 800 x 600
vo_dga: (030) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 640 x 480
vo_dga: (031) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 1152 x 864
vo_dga: (032) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 1024 x 768
vo_dga: (033) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 800 x 600
vo_dga: (034) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 640 x 480
vo_dga: (035) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 1024 x 768
vo_dga: (036) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 800 x 600
vo_dga: (037) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 640 x 480
vo_dga: (038) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 1152 x 864
vo_dga: (039) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 1024 x 768
vo_dga: (040) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 800 x 600
vo_dga: (041) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 640 x 480
vo_dga: Mode: depth=15, bpp=16, r=007c00, g=0003e0, b=00001f, native (fast),     (-bpp 15)
vo_dga: Mode: depth=16, bpp=16, r=00f800, g=0007e0, b=00001f, native (fast),     (-bpp 16)
vo_dga: Mode: depth=24, bpp=24, r=ff0000, g=00ff00, b=0000ff, native (fast),     (-bpp 24)
vo_dga: Mode: depth=24, bpp=32, r=ff0000, g=00ff00, b=0000ff, native (fast),     (-bpp 32)
Movie-Aspect is undefined - no prescaling applied.
video_out->init(640x480->640x480,flags=0,'MPlayer',0x32315659)
VO: [dga] 640x480 => 640x480 Planar YV12 
VO: Description: DGA ( Direct Graphic Access V2.0 )
VO: Author: Andreas Ackermann <acki at acki-netz.de>
vo_dga: XServer res: 1152x864
vo_dga: modelines=0x8379240, modecount=42
vo_dga: DGA 2.0 available :-) Can switch resolution AND depth!
maxy: 6513, depth: 24, 1152x7281, vo_dga: ( 28) Trying 1024 x  768 @  84 Hz @ depth 24 ..(old: 100000x100000 at 100000)..ok!!
maxy: 6681, depth: 24, 1152x7281, vo_dga: ( 29) Trying  800 x  600 @  85 Hz @ depth 24 ..(old: 1024x768 at 84)..ok!!
maxy: 6801, depth: 24, 1152x7281, vo_dga: ( 30) Trying  640 x  480 @  85 Hz @ depth 24 ..(old: 800x600 at 85)..ok!!
maxy: 6417, depth: 24, 1152x7281, vo_dga: ( 31) Trying 1152 x  864 @  75 Hz @ depth 24 ..(old: 640x480 at 85)..no
maxy: 7423, depth: 24, 1024x8191, vo_dga: ( 32) Trying 1024 x  768 @  84 Hz @ depth 24 ..(old: 640x480 at 85)..no
maxy: 9885, depth: 24,  800x10485, vo_dga: ( 33) Trying  800 x  600 @  85 Hz @ depth 24 ..(old: 640x480 at 85)..no
maxy: 12626, depth: 24,  640x13106, vo_dga: ( 34) Trying  640 x  480 @  85 Hz @ depth 24 ..(old: 640x480 at 85)..ok!!
maxy: 6513, depth: 24, 1152x7281, vo_dga: ( 35) Trying 1024 x  768 @  84 Hz @ depth 24 ..(old: 640x480 at 85)..no
maxy: 6681, depth: 24, 1152x7281, vo_dga: ( 36) Trying  800 x  600 @  85 Hz @ depth 24 ..(old: 640x480 at 85)..no
maxy: 6801, depth: 24, 1152x7281, vo_dga: ( 37) Trying  640 x  480 @  85 Hz @ depth 24 ..(old: 640x480 at 85)..no
maxy: 6417, depth: 24, 1152x7281, vo_dga: ( 38) Trying 1152 x  864 @  75 Hz @ depth 24 ..(old: 640x480 at 85)..no
maxy: 7423, depth: 24, 1024x8191, vo_dga: ( 39) Trying 1024 x  768 @  84 Hz @ depth 24 ..(old: 640x480 at 85)..no
maxy: 9885, depth: 24,  800x10485, vo_dga: ( 40) Trying  800 x  600 @  85 Hz @ depth 24 ..(old: 640x480 at 85)..no
maxy: 12626, depth: 24,  640x13106, vo_dga: ( 41) Trying  640 x  480 @  85 Hz @ depth 24 ..(old: 640x480 at 85)..no
vo_dga: Selected hardware mode  640 x  480 @  85 Hz @ depth 24, bitspp 32.
vo_dga: Video parameters by codec: 640 x 480, depth 24, bitspp 32.
Using MMX for colorspace transform
vo_dga: Using mplayer depth 32 for YV12
vo_dga: bytes/line: 640, screen res: 640x480, depth: 4, base: 407b2000, bpp: 32
vo_dga: vp_off=0, vp_skip=0, bpl=2560
vo_dga: Clearing framebuffer (1228800 bytes). If mplayer exits here, you haven't enough memory on your card.
*** [vo] Exporting mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
vo_dga: Doublebuffering is disabled.
V:   0.0    1   0%  0%  0.0% 0 0 0%
V:   0.0    2   0%  0%  0.0% 0 0 0%
V:   0.1    3   0%  0%  0.0% 0 0 0%
V:   0.1    4   0%  0%  0.0% 0 0 0%
V:   0.1    5   0%  0%  0.0% 0 0 0%
V:   0.2    6   0%  0%  0.0% 0 0 0%
V:   0.2    7   0%  0%  0.0% 0 0 0%
V:   0.2    8   0%  0%  0.0% 0 0 0%
V:   0.3    9   0%  0%  0.0% 0 0 0%
V:   0.3   10   0%  0%  0.0% 0 0 0%
V:   0.3   11   0%  0%  0.0% 0 0 0%
V:   0.4   12   0%  0%  0.0% 0 0 0%
V:   0.4   13   0%  0%  0.0% 0 0 0%
V:   0.4   14   0%  0%  0.0% 0 0 0%
V:   0.5   15  225%  3%  0.0% 0 0 0%
V:   0.5   16  213%  3%  0.0% 0 0 0%
V:   0.5   17  202%  3%  0.0% 0 0 0%
V:   0.6   18  192%  3%  0.0% 0 0 0%
V:   0.6   19  183%  3%  0.0% 0 0 0%
V:   0.6   20  175%  3%  0.0% 0 0 0%
V:   0.7   21  168%  3%  0.0% 0 0 0%
V:   0.7   22  162%  3%  0.0% 0 0 0%
V:   0.7   23  156%  3%  0.0% 0 0 0%
V:   0.8   24  150%  3%  0.0% 0 0 0%
V:   0.8   25  145%  3%  0.0% 0 0 0%
V:   0.8   26  141%  3%  0.0% 0 0 0%
V:   0.9   27  137%  3%  0.0% 0 0 0%
V:   0.9   28  133%  3%  0.0% 0 0 0%
V:   0.9   29  129%  3%  0.0% 0 0 0%
Exiting... (X11 error)
X11 error: BadDrawable (invalid Pixmap or Window parameter)
Type: 0, display: 8378020, resourceid: 0, serial: 13
Error code: 9, request code: 35, minor code: 0

*** free_stream() called ***
vo_dga: in uninit
---schnapp---

		Attila Kinali


-- 
Israel, where the first genocide of this century takes place.



More information about the MPlayer-advusers mailing list