[MPlayer-users] [bug] "-vo xvidix" gives me a pink window and "-vo dga" crash
Rémi Guyomarch
rguyom at pobox.com
Sat Apr 20 20:34:02 CEST 2002
Hi,
Here's my configuration :
- FreeBSD 4.5
- XFree86 4.2.0 (compiled from FreeBSD's ports)
- gcc 3.0.4 (compiled from FreeBSD's ports)
- mplayer and libavcodec from CVS
- Radeon VE 32MB
- K6-2 400
I'm getting a pink window with "-vo xvidix". Input file is a [DIVX]
avi created by mencoder from DVD with ffmpeg's libavcodec.
With "-vo dga", mplayer stops just after initialising the video mode
and (it seems) drawing the first frame. Note also that "-vo sdl:dga"
works without problems, as well as "-vo xv" so it's not really anoying
:)
I'm attaching the two outputs of "mplayer -v" compiled with
"--enable-debug".
--
Rémi
-------------- next part --------------
MPlayer CVS-020419-20:55-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
extended cpuid-level: 5
CPUflags: Type: 5 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX 3DNow
/home/rguyom/.mplayer/config(2): option: vo
/home/rguyom/.mplayer/config(2): parameter: xv
/home/rguyom/.mplayer/config(3): option: fs
/home/rguyom/.mplayer/config(3): parameter: 1
/home/rguyom/.mplayer/config(4): option: quiet
/home/rguyom/.mplayer/config(4): parameter: 1
/home/rguyom/.mplayer/config(5): option: framedrop
/home/rguyom/.mplayer/config(5): parameter: 1
/home/rguyom/.mplayer/config(6): option: osdlevel
/home/rguyom/.mplayer/config(6): parameter: 0
/home/rguyom/.mplayer/config(8): option: dvd-device
/home/rguyom/.mplayer/config(8): parameter: /dev/acd1c
/home/rguyom/.mplayer/config(9): option: fsmode
/home/rguyom/.mplayer/config(9): parameter: 1
Reading /home/rguyom/.mplayer/codecs.conf: 30 audio & 81 video codecs
CommandLine: '-v' '-vo' 'xvidix' '-nofs' '-nosound' '/home/rguyom/movie-pass1.avi'
get_path('font/font.desc') -> '/home/rguyom/.mplayer/font/font.desc'
Font /home/rguyom/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/home/rguyom/.mplayer/input.conf'
Can't open input config file /home/rguyom/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) config
Playing /home/rguyom/movie-pass1.avi
Can't open IFO file: No such file or directory
Not an URL!
File size is 71624556 bytes
Detected AVI file format!
list_end=0x146
======= AVI Header =======
us/frame: 40000 (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames total: 14999 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 608 x 256
list_end=0xD4
==> Found video stream: 0
======= STREAM Header =======
Type: vids FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 250000/10000 = 25.000
Start: 0 Len: 14999
Suggested BufferSize: 39132
Quality 0
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 608
biHeight 256
biPlanes 1
biBitCount 24
biCompression 1482049860='DIVX'
biSizeImage 466944
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x146
==> Found audio stream: 1
======= STREAM Header =======
Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 48000/1152 = 41.667
Start: 0 Len: 25018
Suggested BufferSize: 576
Quality 0
Sample size: 0
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 10971
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=1152
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
Broken chunk? chunksize=1714 (id=JUNK)
list_end=0x43B2254
Found movie at 0x80C - 0x43B2254
Reading INDEX block, 40017 chunks for 14999 frames
Broken chunk? chunksize=0 (id=idx1)
Reading INDEX block, 40017 chunks for 14999 frames
AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x6C)
Auto-selected AVI video ID = 0
AVI_NI: No Audio stream found... ->nosound
AVI video length=70662088
VIDEO: [DIVX] 608x256 24bpp 25.00 fps 942.2 kbps (115.0 kbyte/s)
[V] filefmt:3 fourcc:0x58564944 size:608x256 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/rguyom/.mplayer/sub/'
No vidix driver name provided, probing available ones!
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/mga_vid.so
[mga] probe
[mga] No supported cards found
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/radeon_vid.so
Radeon_vid: Found chip: Radeon VE QY
vidixlib: /usr/local/lib/mplayer/vidix/radeon_vid.so probed o'k
vidixlib: will use /usr/local/lib/mplayer/vidix/radeon_vid.so driver
vidixlib: Attempt to initialize driver at: 0x286c9720
Radeon_vid: Video memory = 32Mb
vidixlib: '/usr/local/lib/mplayer/vidix/radeon_vid.so'successfully loaded
vosub_vidix: Using: BES driver for radeon cards by Nick Kurshev
==========================================================================
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx 3dnow
INFO: libavcodec init OK!
Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg MPEG-4)
==========================================================================
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
VDec: vo config request - 608 x 256, Planar YV12
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x433 (i=0)
Movie-Aspect is undefined - no prescaling applied.
video_out->init(608x256->608x256,flags=0,'MPlayer',0x32315659)
VO: [xvidix] 608x256 => 608x256 Planar YV12
VO: Description: X11 (VIDIX)
VO: Author: Alex Beregszaszi
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)
[xvidix] image properties: 608x256 depth: 12
[xvidix] dcx: 3 dcy: 20 dx: 0 dy: 0 dw: 608 dh: 256
vosub_vidix: using 1 buffers
[xvidix] window properties: pos: 3x20, size: 608x256
Disabling DPMS
stat: 1
*** [vo] Exporting mp_image_t, 608x256x12bpp YUV planar, 233472 bytes 0x0 0x0 0x0
X11 Window 3x20-608x256
X11 Window 3x20-608x256
[xvidix] dcx: 3 dcy: 20 dx: 0 dy: 0 dw: 608 dh: 256
[xvidix] window properties: pos: 3x20, size: 608x256
*** free_stream() called ***
Successfully enabled DPMS
Exiting... (Quit)
-------------- next part --------------
MPlayer CVS-020419-20:55-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
extended cpuid-level: 5
CPUflags: Type: 5 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX 3DNow
/home/rguyom/.mplayer/config(2): option: vo
/home/rguyom/.mplayer/config(2): parameter: xv
/home/rguyom/.mplayer/config(3): option: fs
/home/rguyom/.mplayer/config(3): parameter: 1
/home/rguyom/.mplayer/config(4): option: quiet
/home/rguyom/.mplayer/config(4): parameter: 1
/home/rguyom/.mplayer/config(5): option: framedrop
/home/rguyom/.mplayer/config(5): parameter: 1
/home/rguyom/.mplayer/config(6): option: osdlevel
/home/rguyom/.mplayer/config(6): parameter: 0
/home/rguyom/.mplayer/config(8): option: dvd-device
/home/rguyom/.mplayer/config(8): parameter: /dev/acd1c
/home/rguyom/.mplayer/config(9): option: fsmode
/home/rguyom/.mplayer/config(9): parameter: 1
Reading /home/rguyom/.mplayer/codecs.conf: 30 audio & 81 video codecs
CommandLine: '-v' '-vo' 'dga' '-nofs' '-nosound' '/home/rguyom/movie-pass1.avi'
get_path('font/font.desc') -> '/home/rguyom/.mplayer/font/font.desc'
Font /home/rguyom/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/home/rguyom/.mplayer/input.conf'
Can't open input config file /home/rguyom/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) config
Playing /home/rguyom/movie-pass1.avi
Can't open IFO file: No such file or directory
Not an URL!
File size is 71624556 bytes
Detected AVI file format!
list_end=0x146
======= AVI Header =======
us/frame: 40000 (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames total: 14999 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 608 x 256
list_end=0xD4
==> Found video stream: 0
======= STREAM Header =======
Type: vids FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 250000/10000 = 25.000
Start: 0 Len: 14999
Suggested BufferSize: 39132
Quality 0
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 608
biHeight 256
biPlanes 1
biBitCount 24
biCompression 1482049860='DIVX'
biSizeImage 466944
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x146
==> Found audio stream: 1
======= STREAM Header =======
Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 48000/1152 = 41.667
Start: 0 Len: 25018
Suggested BufferSize: 576
Quality 0
Sample size: 0
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 10971
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=1152
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
Broken chunk? chunksize=1714 (id=JUNK)
list_end=0x43B2254
Found movie at 0x80C - 0x43B2254
Reading INDEX block, 40017 chunks for 14999 frames
Broken chunk? chunksize=0 (id=idx1)
Reading INDEX block, 40017 chunks for 14999 frames
AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x6C)
Auto-selected AVI video ID = 0
AVI_NI: No Audio stream found... ->nosound
AVI video length=70662088
VIDEO: [DIVX] 608x256 24bpp 25.00 fps 942.2 kbps (115.0 kbyte/s)
[V] filefmt:3 fourcc:0x58564944 size:608x256 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/rguyom/.mplayer/sub/'
==========================================================================
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx 3dnow
INFO: libavcodec init OK!
Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg MPEG-4)
==========================================================================
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
VDec: vo config request - 608 x 256, Planar YV12
[PP] Sorry, postprocessing is not available
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)
vo_dga: (000) depth=8, bpp=8, r=00000000, g=00000000, b=00000000, 1024 x 768
vo_dga: (001) depth=8, bpp=8, r=00000000, g=00000000, b=00000000, 800 x 600
vo_dga: (002) depth=8, bpp=8, r=00000000, g=00000000, b=00000000, 640 x 480
vo_dga: (003) depth=15, bpp=16, r=00007c00, g=000003e0, b=0000001f, 1024 x 768
vo_dga: (004) depth=15, bpp=16, r=00007c00, g=000003e0, b=0000001f, 800 x 600
vo_dga: (005) depth=15, bpp=16, r=00007c00, g=000003e0, b=0000001f, 640 x 480
vo_dga: (006) depth=15, bpp=16, r=00007c00, g=000003e0, b=0000001f, 1024 x 768
vo_dga: (007) depth=15, bpp=16, r=00007c00, g=000003e0, b=0000001f, 800 x 600
vo_dga: (008) depth=15, bpp=16, r=00007c00, g=000003e0, b=0000001f, 640 x 480
vo_dga: (009) depth=16, bpp=16, r=0000f800, g=000007e0, b=0000001f, 1024 x 768
vo_dga: (010) depth=16, bpp=16, r=0000f800, g=000007e0, b=0000001f, 800 x 600
vo_dga: (011) depth=16, bpp=16, r=0000f800, g=000007e0, b=0000001f, 640 x 480
vo_dga: (012) depth=16, bpp=16, r=0000f800, g=000007e0, b=0000001f, 1024 x 768
vo_dga: (013) depth=16, bpp=16, r=0000f800, g=000007e0, b=0000001f, 800 x 600
vo_dga: (014) depth=16, bpp=16, r=0000f800, g=000007e0, b=0000001f, 640 x 480
vo_dga: (015) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 1024 x 768
vo_dga: (016) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 800 x 600
vo_dga: (017) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 640 x 480
vo_dga: (018) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 1024 x 768
vo_dga: (019) depth=24, bpp=32, r=00ff0000, g=0000ff00, b=000000ff, 800 x 600
vo_dga: (020) 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, conversion (slow), (-bpp 24)
vo_dga: Mode: depth=24, bpp=32, r=ff0000, g=00ff00, b=0000ff, native (fast), (-bpp 32)
vo_debug: query(Planar YV12) returned 0x407 (i=0)
Movie-Aspect is undefined - no prescaling applied.
video_out->init(608x256->608x256,flags=0,'MPlayer',0x32315659)
VO: [dga] 608x256 => 608x256 Planar YV12
VO: Description: DGA ( Direct Graphic Access V2.0 )
VO: Author: Andreas Ackermann <acki at acki-netz.de>
vo_dga: XServer res: 1024x768
vo_dga: modelines=0x86d3000, modecount=21
vo_dga: DGA 2.0 available :-) Can switch resolution AND depth!
maxy: 15616, depth: 16, 1024x16384, vo_dga: ( 9) Trying 1024 x 768 @ 75 Hz @ depth 16 ..(old: 100000x100000 at 100000)..ok!!
maxy: 15784, depth: 16, 1024x16384, vo_dga: ( 10) Trying 800 x 600 @ 85 Hz @ depth 16 ..(old: 1024x768 at 75)..ok!!
maxy: 15904, depth: 16, 1024x16384, vo_dga: ( 11) Trying 640 x 480 @ 85 Hz @ depth 16 ..(old: 800x600 at 85)..ok!!
maxy: 15616, depth: 16, 1024x16384, vo_dga: ( 12) Trying 1024 x 768 @ 75 Hz @ depth 16 ..(old: 640x480 at 85)..no
maxy: 15784, depth: 16, 1024x16384, vo_dga: ( 13) Trying 800 x 600 @ 85 Hz @ depth 16 ..(old: 640x480 at 85)..no
maxy: 15904, depth: 16, 1024x16384, vo_dga: ( 14) Trying 640 x 480 @ 85 Hz @ depth 16 ..(old: 640x480 at 85)..no
vo_dga: Selected hardware mode 640 x 480 @ 85 Hz @ depth 16, bitspp 16.
vo_dga: Video parameters by codec: 608 x 256, depth 16, bitspp 16.
Using MMX for colorspace transform
vo_dga: Using mplayer depth 16 for YV12
vo_dga: bytes/line: 1024, screen res: 640x480, depth: 2, base: 286c8000, bpp: 16
vo_dga: vp_off=229408, vp_skip=832, bpl=1216
vo_dga: Clearing framebuffer (983040 bytes). If mplayer exits here, you haven't enough memory on your card.
vo_dga: Doublebuffering is disabled.
*** [vo] Exporting mp_image_t, 608x256x12bpp YUV planar, 233472 bytes 0x0 0x0 0x0
X11 error: BadDrawable (invalid Pixmap or Window parameter)
Type: 0, display: 85da800, resourceid: 0, serial: 13
Error code: 9, request code: 35, minor code: 0
*** free_stream() called ***
vo_dga: in uninit
Exiting... (X11 error)
More information about the MPlayer-users
mailing list