[MPlayer-cygwin] [BUGREPORT] Experimental tv-dshow driver crashes with -vo directx
John Brown
johnbrown105 at hotmail.com
Thu Feb 14 04:13:23 CET 2008
Command line: mplayer -v tv:// -tv norm=ntsc-m
System: Windows XP SP2, 1 GB RAM, NVIDIA GeForce 7600GT, DirectX 9.0c,
Hauppauge WinTV PVR-150MCE
Mplayer version: dev-SVN-r25958-3.4.5
See verbose output and gdb backtrace below.
$ gdb
GNU gdb 6.7.50.20071121
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
(gdb) file mplayer.exe
Reading symbols from c:\progra~1\multimedia\mplayer\svn/mplayer.exe...done.
(gdb) run -v tv:// -tv norm=ntsc-m
Starting program: c:\progra~1\multimedia\mplayer\svn/mplayer.exe -v tv:// -tv no
rm=ntsc-m
warning: Can not parse XML library list; XML support was disabled at compile tim
e
MPlayer dev-SVN-r25958-3.4.5 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 3)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> 'C:/MSYS/home/johnbrown105/mplayer/codecs.conf'
Reading C:/MSYS/home/johnbrown105/mplayer/codecs.conf: Can't open
'C:/MSYS/home/johnbrown105
/mplayer/codecs.conf': No such file or directory
Reading /usr/local4/etc/mplayer/codecs.conf: Can't open '/usr/local4/etc/mplayer
/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --enable-gui --enable-debug=3 --prefix=/usr/local4 --with-extrain
cdir=/usr/local/include --with-extralibdir=/usr/local/lib --enable-static --code
csdir=codecs --disable-sdl --disable-pthreads --enable-largefiles
CommandLine: '-v' 'tv://' '-tv' 'norm=ntsc-m'
init_freetype
get_path('font/font.desc') -> 'C:/MSYS/home/johnbrown105/mplayer/font/font.desc'
font: can't open file: C:/MSYS/home/johnbrown105/mplayer/font/font.desc
font: can't open file: /usr/local4/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> 'C:/MSYS/home/johnbrown105/mplayer/fonts'
Using Windows native timing
get_path('input.conf') -> 'C:/MSYS/home/johnbrown105/mplayer/input.conf'
Can't open input config file C:/MSYS/home/johnbrown105/mplayer/input.conf: No
such fil
e or directory
Can't open input config file /usr/local4/etc/mplayer/input.conf: No such file or
directory
Falling back on default (hardcoded) input config
get_path('.conf') -> 'C:/MSYS/home/johnbrown105/mplayer/.conf'
Playing tv://.
get_path('sub/') -> 'C:/MSYS/home/johnbrown105/mplayer/sub/'
WINSOCK2 init: 0
STREAM: [tv] tv://
STREAM: Description: TV Input
STREAM: Author: Benjamin Zores, Albeu
STREAM: Comment:
TV file format detected.
Selected driver: dshow
name: DirectShow TV
author: Vladimir Voroshilov
comment: Very experimental!! Use with caution
tvi_dshow: Device #0: Hauppauge WinTV PVR PCI II Capture
tvi_dshow: Using device #0: Hauppauge WinTV PVR PCI II Capture
tvi_dshow: Unsupported media type passed to get_available_formats_stream
tvi_dshow: Unsupported media type passed to get_available_formats_pin
tvi_dshow: Unable to initialize VBI chain (Error:0x80004005). Teletext disabled
tvi_dshow: supported norms: 1=ntsc-m; 2=ntsc-mj; 3=pal-m; 4=pal-n;
tvi_dshow: available video inputs: 0=Tuner; 1=S-Video; 2=Composite; 3=S-Video; 4
=Composite;
tvi_dshow: will try also use undeclared video format: 720x480, Planar YV12
tvi_dshow: will try also use undeclared video format: 720x480, Planar I420
tvi_dshow: will try also use undeclared video format: 720x480, Packed UYVY
tvi_dshow: will try also use undeclared video format: 720x480, Packed YUY2
tvi_dshow: will try also use undeclared video format: 720x480, RGBA
tvi_dshow: Unable to create AM_MEDIA_TYPE structure for given format
tvi_dshow: will try also use undeclared video format: 720x480, RGB 24-bit
tvi_dshow: Unable to create AM_MEDIA_TYPE structure for given format
tvi_dshow: will try also use undeclared video format: 720x480, RGB 16-bit
tvi_dshow: Unable to create AM_MEDIA_TYPE structure for given format
tvi_dshow: will try also use undeclared video format: 720x480, RGB 15-bit
tvi_dshow: Unable to create AM_MEDIA_TYPE structure for given format
Selected norm : ntsc-m
Selected channel list: europe-east (including 133 channels)
Current frequency: 0 (0.000)
==> Found video stream: 0
tvi_dshow: Unable to select video format. Error:0x80004005
CSampleGrabberCB_AddRef(02C6A540) called (ref:1)
[V] filefmt:9 fourcc:0x32595559 size:720x480 fps:30.00 ftime:=0.0333
get_path('sub/') -> 'C:/MSYS/home/johnbrown105/mplayer/sub/'
<vo_directx><INFO>checking primary surface
<vo_directx><FORMAT PRIMARY>14 BGR32 supported
<vo_directx><INFO>testing supported overlay pixelformats
<vo_directx><FORMAT OVERLAY>0 YV12 supported
<vo_directx><FORMAT OVERLAY>1 I420 not supported
<vo_directx><FORMAT OVERLAY>2 IYUV not supported
<vo_directx><FORMAT OVERLAY>3 YVU9 supported
<vo_directx><FORMAT OVERLAY>4 YUY2 supported
<vo_directx><FORMAT OVERLAY>5 UYVY supported
<vo_directx><FORMAT OVERLAY>6 BGR8 not supported
<vo_directx><FORMAT OVERLAY>7 RGB15 not supported
<vo_directx><FORMAT OVERLAY>8 BGR15 not supported
<vo_directx><FORMAT OVERLAY>9 RGB16 not supported
<vo_directx><FORMAT OVERLAY>10 BGR16 not supported
<vo_directx><FORMAT OVERLAY>11 RGB24 not supported
<vo_directx><FORMAT OVERLAY>12 BGR24 not supported
<vo_directx><FORMAT OVERLAY>13 RGB32 not supported
<vo_directx><FORMAT OVERLAY>14 BGR32 not supported
<vo_directx><INFO>Your card supports 4 of 15 overlayformats
<vo_directx><INFO>can mirror up down
<vo_directx><INFO>hardware supports overlay
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 480 (preferred colorspace: Packed YUY2)
Trying filter chain: vo
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (720x480->720x480,flags=0,'MPlayer',0x32595559)
VO: [directx] 720x480 => 720x480 Packed YUY2
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
<vo_directx><INFO>overlay with format YUY2 created
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
*** [vo] Exporting mp_image_t, 720x480x16bpp YUV packed, 691200 bytes
Program received signal SIGSEGV, Segmentation fault.
0x00575183 in fast_memcpy (to=0x5f88000, from=0x6040020, len=737280)
at aclib_template.c:213
213 __asm__ __volatile__ (
(gdb) bt
#0 0x00575183 in fast_memcpy (to=0x5f88000, from=0x6040020, len=737280)
at aclib_template.c:213
#1 0x00432b72 in control (request=13, data=0x2c6e470) at vo_directx.c:1277
#2 0x0047fc58 in put_image (vf=0x2c6e2d0, mpi=0x2c6e470, pts=0)
at vf_vo.c:178
#3 0x0047229a in filter_video (sh_video=0x2c6a060, frame=0x2c6e470, pts=0)
at dec_video.c:416
#4 0x0040850d in main (argc=5, argv=0x2b14260) at mplayer.c:2294
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x575163 to 0x5751a3:
0x00575163 <fast_memcpy+179>: and $0x3f,%edx
0x00575166 <fast_memcpy+182>: shr $0x6,%eax
0x00575169 <fast_memcpy+185>: test $0xf,%esi
0x0057516f <fast_memcpy+191>: jne 0x575104 <fast_memcpy+84>
0x00575171 <fast_memcpy+193>: test %eax,%eax
0x00575173 <fast_memcpy+195>: jmp 0x5751a3 <fast_memcpy+243>
0x00575175 <fast_memcpy+197>: prefetchnta 0x140(%esi)
0x0057517c <fast_memcpy+204>: movaps (%esi),%xmm0
0x0057517f <fast_memcpy+207>: movaps 0x10(%esi),%xmm1
0x00575183 <fast_memcpy+211>: movaps 0x20(%esi),%xmm2
0x00575187 <fast_memcpy+215>: movaps 0x30(%esi),%xmm3
0x0057518b <fast_memcpy+219>: movntps %xmm0,(%edi)
0x0057518e <fast_memcpy+222>: movntps %xmm1,0x10(%edi)
0x00575192 <fast_memcpy+226>: movntps %xmm2,0x20(%edi)
0x00575196 <fast_memcpy+230>: movntps %xmm3,0x30(%edi)
0x0057519a <fast_memcpy+234>: add $0x40,%esi
0x0057519d <fast_memcpy+237>: add $0x40,%edi
0x005751a0 <fast_memcpy+240>: sub $0x1,%eax
End of assembler dump.
(gdb) info all-registers
eax 0x2c1 705
ecx 0x0 0
edx 0x0 0
ebx 0x5f88000 100171776
esp 0x22e95c 0x22e95c
ebp 0x22e968 0x22e968
esi 0x60e8fe0 101617632
edi 0x6030fc0 100863936
eip 0x575183 0x575183 <fast_memcpy+211>
eflags 0x210202 [ IF RF ID ]
cs 0x1b 27
ss 0x23 35
ds 0x23 35
es 0x23 35
fs 0x3b 59
gs 0x0 0
st0 -nan(0x3e106ce0011) (raw 0xffff000003e106ce0011)
st1 -nan(0x000657865) (raw 0xffff0000000000657865)
st2 -inf (raw 0xffff0000000000000000)
st3 -nan(0x00000000b) (raw 0xffff000000000000000b)
st4 1.0638297899323061 (raw 0x3fff882b93162288fb7f)
st5 0.031536199999999986 (raw 0x3ffa812c1a3a3de96000)
st6 0 (raw 0x00000000000000000000)
st7 0 (raw 0x00000000000000000000)
fctrl 0xffff037f -64641
fstat 0xffff0020 -65504
ftag 0xffffffff -1
fiseg 0x1b 27
fioff 0x47fc45 4717637
foseg 0xffff0023 -65501
fooff 0x2c6c430 46580784
fop 0xe9 233
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0xf0, 0xf4, 0x22, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0xf6, 0x22,
0x0, 0x40, 0xf6, 0x22, 0x0}, v8_int16 = {0xf4f0, 0x22, 0x0, 0x0, 0xf65e,
0x22, 0xf640, 0x22}, v4_int32 = {0x22f4f0, 0x0, 0x22f65e, 0x22f640},
v2_int64 = {0x22f4f0, 0x22f6400022f65e},
uint128 = 0x0022f6400022f65e000000000022f4f0}
xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
0x8000000000000000, 0x0}, v16_int8 = {0xac, 0xf5, 0x22, 0x0, 0xc6, 0xce,
0x81, 0x7c, 0xf0, 0xf4, 0x22, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {
0xf5ac, 0x22, 0xcec6, 0x7c81, 0xf4f0, 0x22, 0x0, 0x0}, v4_int32 = {
0x22f5ac, 0x7c81cec6, 0x22f4f0, 0x0}, v2_int64 = {0x7c81cec60022f5ac,
0x22f4f0}, uint128 = 0x000000000022f4f07c81cec60022f5ac}
xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
0x8000000000000000, 0x0}, v16_int8 = {0x1e, 0x2, 0x2, 0x0, 0x3, 0xcf,
0x81, 0x7c, 0x13, 0x0, 0x0, 0x0, 0x24, 0x0, 0x0, 0x0}, v8_int16 = {0x21e,
0x2, 0xcf03, 0x7c81, 0x13, 0x0, 0x24, 0x0}, v4_int32 = {0x2021e,
0x7c81cf03, 0x13, 0x24}, v2_int64 = {0x7c81cf030002021e, 0x2400000013},
uint128 = 0x00000024000000137c81cf030002021e}
xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x40, 0xf6, 0x22, 0x0, 0x7c, 0x0, 0x98, 0x0, 0x2, 0x0, 0x0,
0x0, 0x10, 0x12, 0x0, 0x0}, v8_int16 = {0xf640, 0x22, 0x7c, 0x98, 0x2,
0x0, 0x1210, 0x0}, v4_int32 = {0x22f640, 0x98007c, 0x2, 0x1210},
v2_int64 = {0x98007c0022f640, 0x121000000002},
uint128 = 0x00001210000000020098007c0022f640}
mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
mm0 {uint64 = 0x3e106ce0011, v2_int32 = {0x6ce0011, 0x3e1},
v4_int16 = {0x11, 0x6ce, 0x3e1, 0x0}, v8_int8 = {0x11, 0x0, 0xce, 0x6,
0xe1, 0x3, 0x0, 0x0}}
mm1 {uint64 = 0x657865, v2_int32 = {0x657865, 0x0}, v4_int16 = {
0x7865, 0x65, 0x0, 0x0}, v8_int8 = {0x65, 0x78, 0x65, 0x0, 0x0, 0x0, 0x0,
0x0}}
mm2 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3 {uint64 = 0xb, v2_int32 = {0xb, 0x0}, v4_int16 = {0xb, 0x0,
0x0, 0x0}, v8_int8 = {0xb, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm4 {uint64 = 0x882b93162288fb7f, v2_int32 = {0x2288fb7f,
0x882b9316}, v4_int16 = {0xfb7f, 0x2288, 0x9316, 0x882b}, v8_int8 = {
0x7f, 0xfb, 0x88, 0x22, 0x16, 0x93, 0x2b, 0x88}}
mm5 {uint64 = 0x812c1a3a3de96000, v2_int32 = {0x3de96000,
0x812c1a3a}, v4_int16 = {0x6000, 0x3de9, 0x1a3a, 0x812c}, v8_int8 = {0x0,
0x60, 0xe9, 0x3d, 0x3a, 0x1a, 0x2c, 0x81}}
mm6 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm7 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
(gdb) quit
The program is running. Exit anyway? (y or n) y
More information about the MPlayer-cygwin
mailing list