[MPlayer-cygwin] -vc qdv -vo directx combination causes immediate crash

John Brown johnbrown105 at hotmail.com
Tue Sep 12 06:27:22 CEST 2006


Hello All,

If I use another vo (gl, gl2, sdl) , then qdv works. If I use another vc,
then directx works.

For what it's worth, -vc mcdv does not seem to work with any vo.


MPlayer command line and output
===============================
mplayer -v bugreport\pond.dv

MPlayer dev-SVN-r19754-3.4.2 (C) 2000-2006 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: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> 'c:\progra~1\mplayer\/codecs.conf'
Reading c:\progra~1\mplayer\/codecs.conf: Can't open 
'c:\progra~1\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.
CommandLine: '-v' 'bugreport\pond.dv'
init_freetype
get_path('font/font.desc') -> 'c:\progra~1\mplayer\/font/font.desc'
font: can't open file: c:\progra~1\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 Windows native timing
get_path('input.conf') -> 'c:\progra~1\mplayer\/input.conf'
Can't open input config file c:\progra~1\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('bugreport\pond.dv.conf') -> 
'c:\progra~1\mplayer\/bugreport\pond.dv.conf'

Playing bugreport\pond.dv.
get_path('sub/') -> 'c:\progra~1\mplayer\/sub/'
WINSOCK2 init: 0
[file] File size is 2097152 bytes
STREAM: [file] bugreport\pond.dv
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 bugreport\pond.dv ext: .dv
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 0
AVS: avs_check_file - attempting to open file bugreport\pond.dv
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 69895, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=-8
LMLM4 Stream Format not found
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0 
idr: 0 sps: 0 pps: 0 PES: 1  MP3: 123, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0 
idr: 0 sps: 0 pps: 0 PES: 1  MP3: 123, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
LAVF_check: DV video format
libavformat file format detected.
==> Found video stream: 0
======= VIDEO Format ======
  biSize 40
  biWidth 720
  biHeight 480
  biPlanes 0
  biBitCount 0
  biCompression 1685288548='dvsd'
  biSizeImage 0
===========================
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 2
Samplerate: 44100
avg byte/sec: 176400
Block align: 0
bits/sample: 0
cbSize: 0
==========================================================================
LAVF: 1 audio and 1 video streams found
LAVF: build 3278080
VIDEO:  [dvsd]  720x480  0bpp  29.970 fps  28771.2 kbps (3512.1 kbyte/s)
[V] filefmt:35  fourcc:0x64737664  size:720x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> 'c:\progra~1\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 supported
<vo_directx><FORMAT OVERLAY>8 BGR15 supported
<vo_directx><FORMAT OVERLAY>9 RGB16 supported
<vo_directx><FORMAT OVERLAY>10 BGR16 supported
<vo_directx><FORMAT OVERLAY>11 RGB24 not supported
<vo_directx><FORMAT OVERLAY>12 BGR24 not supported
<vo_directx><FORMAT OVERLAY>13 RGB32 supported
<vo_directx><FORMAT OVERLAY>14 BGR32 supported
<vo_directx><INFO>Your card supports 10 of 15 overlayformats
<vo_directx><INFO>hardware supports overlay
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
Decoder supports the following YUV formats: YUY2 UYVY
Decoder is capable of YUV output (flags 0x9)
VDec: vo config request - 720 x 480 (preferred colorspace: Packed YUY2)
[PP] Using codec's postprocessing, max q = 4.
Trying filter chain: vo
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is 1.36:1 - prescaling to correct movie aspect.
VO Config (720x480->720x528,flags=0,'MPlayer',0x32595559)
VO: [directx] 720x480 => 720x528 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
VideoDecoder::SetExtAttr: registry failure
INFO: Win32/DShow video codec init OK.
Selected video codec: [qdv] vfm: dshow (Sony Digital Video (DV))
==========================================================================
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
ao_dsound: Output Devices:
0 Primary Sound Driver <--
1 Realtek AC97 Audio
2 Modem #9 Line Playback (emulated)
3 Modem #9 Handset Playback (emulated)
4 Modem #11 Line Playback (emulated)
ao_dsound: DirectSound initialized
ao_dsound: Samplerate:44100Hz Channels:2 Format:s16le
ao_dsound: Buffersize:176400 bytes (1000 msec)
ao_dsound: primary buffer created
ao_dsound: secondary (stream)buffer created
AO: [dsound] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: Windows DirectSound audio output
AO: Author: Gabor Szecsi <deje at miki.hu>
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Starting playback...
*** [vo] Allocating mp_image_t, 720x480x16bpp YUV packed, 691200 bytes


MPlayer interrupted by signal 11 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in 
DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't 
and
  won't help unless you provide this information when reporting a possible 
bug.
Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: pcm
Uninit video: dshow
WINSOCK2 uninit
ao_dsound: DirectSound uninitialized

GDB output
==========

C:\PROGRA~1\mplayer\svn>gdb
GNU gdb 5.1.1 (mingw experimental)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "mingw32".
(gdb) file mplayer.exe
Reading symbols from mplayer.exe...done.
(gdb) run -v bugreport/pond.dv
Starting program: C:\PROGRA~1\mplayer\svn/mplayer.exe -v bugreport/pond.dv

Program received signal SIGSEGV, Segmentation fault.
0x00442903 in fast_memcpy (to=0x35c4000, from=0xb5f0020, len=737280)
    at aclib_template.c:213
213                     __asm__ __volatile__ (
(gdb) bt
#0  0x00442903 in fast_memcpy (to=0x35c4000, from=0xb5f0020, len=737280)
    at aclib_template.c:213
#1  0x00435a2a in control (request=13, data=0x28fcad0) at vo_directx.c:1267
#2  0x00473554 in put_image (vf=0x291a270, mpi=0x28fcad0, pts=0) at 
vf_vo.c:168
#3  0x00466ec2 in decode_video (sh_video=0x2919f68, start=0x2b8b988 "",
    in_size=120000, drop_frame=0, pts=0) at dec_video.c:385
#4  0x00409d91 in main (argc=3, argv=0x27c2878) at mplayer.c:4093
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x4428e3 to 0x442923:
0x4428e3 <fast_memcpy+179>:     and    $0x3f,%edx
0x4428e6 <fast_memcpy+182>:     shr    $0x6,%eax
0x4428e9 <fast_memcpy+185>:     test   $0xf,%esi
0x4428ef <fast_memcpy+191>:     jne    0x442884 <fast_memcpy+84>
0x4428f1 <fast_memcpy+193>:     test   %eax,%eax
0x4428f3 <fast_memcpy+195>:     jmp    0x442923 <fast_memcpy+243>
0x4428f5 <fast_memcpy+197>:     prefetchnta 0x140(%esi)
0x4428fc <fast_memcpy+204>:     movaps (%esi),%xmm0
0x4428ff <fast_memcpy+207>:     movaps 0x10(%esi),%xmm1
0x442903 <fast_memcpy+211>:     movaps 0x20(%esi),%xmm2
0x442907 <fast_memcpy+215>:     movaps 0x30(%esi),%xmm3
0x44290b <fast_memcpy+219>:     movntps %xmm0,(%edi)
0x44290e <fast_memcpy+222>:     movntps %xmm1,0x10(%edi)
0x442912 <fast_memcpy+226>:     movntps %xmm2,0x20(%edi)
0x442916 <fast_memcpy+230>:     movntps %xmm3,0x30(%edi)
0x44291a <fast_memcpy+234>:     add    $0x40,%esi
0x44291d <fast_memcpy+237>:     add    $0x40,%edi
0x442920 <fast_memcpy+240>:     sub    $0x1,%eax
End of assembler dump.
(gdb) info all-registers
eax            0x281    641
ecx            0x0      0
edx            0x0      0
ebx            0x35c4000        56377344
esp            0x22e92c 0x22e92c
ebp            0x22e938 0x22e938
esi            0xb699fe0        191471584
edi            0x366dfc0        57073600
eip            0x442903 0x442903
eflags         0x10206  66054
cs             0x1b     27
ss             0x23     35
ds             0x23     35
es             0x23     35
fs             0x3b     59
gs             0x0      0
st0            0        (raw 0xffff777a8d8377848d87)
st1            0        (raw 0xffff0077008d0077008d)
st2            0        (raw 0xffff0078007900790079)
st3            0        (raw 0xffff0077007a008d0083)
st4            0        (raw 0xffff0077008c0077008b)
st5            0        (raw 0xffff0077007700770077)
st6            0.0059999999848514562    (raw 0x3ff7c49ba5db00000000)
---Type <return> to continue, or q <return> to quit---
st7            0        (raw 0x00000000000000000000)
fctrl          0xffff037f       -64641
fstat          0xffff0020       -65504
ftag           0xffffffff       -1
fiseg          0x1b     27
fioff          0x473541 4666689
foseg          0xffff0023       -65501
fooff          0x22ff50 2293584
fop            0x7ec    2028
(gdb) quit
The program is running.  Exit anyway? (y or n) y

C:\PROGRA~1\mplayer\svn>

System Information:
==================
CPU: Pentium 4 3.0 GHz
vendor_id       : GenuineIntel
cpu family      : 15
model           : 3
stepping        : 3
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov
pat pse36 cflsh dts acpi mmx fxsr sse sse2 ss ht tm pbe pni monitor ds_cpl 
cid
cpu MHz         : 2999.035
model name      :               Intel(R) Pentium(R) 4 CPU 3.00GHz

RAM: 512 MB
O/S: Windows XP SP2
Video card: ATI Radeon 9200, Catalyst 6.5
Development Platform:
   gcc version 3.4.2 (mingw-special)
   GNU assembler version 2.15.91 (mingw32) using BFD version 2.15.91 
20040904
   GNU ld version 2.15.91 20040904
   MSYS 1.0.11
DLLs:
qdv.dll (Windows\system32 - 6.5.1.904
            .\codecs - 6.2.11.608


Sample file:
pond.dv - 2 MB (0.4s approximately, but enough to reproduce the crash)
Could not upload to ftp.mplayerhq.hu/MPlayer/incoming or
upload.mplayerhq.hu/MPlayer/incoming

You can download the full 105 MB sample at:
http://prdownloads.sourceforge.net/libdv/pond.dv?download





More information about the MPlayer-cygwin mailing list