[MPlayer-users] MPlayer/MEncoder crash on particular RealPlayer rmvb files

John Brown johnbrown105 at hotmail.com
Tue Nov 15 16:04:33 CET 2005


Hello All,

I have a number of .rmvb files which cause MPlayer and MEncoder to
crash at various points within the file. For each file that it crashes
on, it crashes at the same points within the file. On my machine, I
have Windows XP SP2, Windows 2003 Server SP1 (Trial Version), Win98 SE
and Linux. I can play the files on Linux, but not on the other
operating  systems. I can also play them 2 PCs at work. Both machines
have Intel Extreme Graphics video on-board.

I can laboriously convert the files by using the -ss flag to skip past
the problem frames, and then I join the pieces. Of course, this means
that the files cannot be encoded unattended.

On my Windows XP partition, I can play these files with no problems
using Real Player 10.5, Media Player Classic 6.4, and even Windows
Media Player 10 (using the RealMedia Splitter DirectShow Filter), so
you can imagine how it frustrates me that MPlayer is choking on these
files. You can download a sample file (1.56MB) at:

http://www.megaupload.com/?d=MCGZ8A1R

In any case, my problem appears to be RealVideo decoding. If I run:

C:\Progra~1\MPlayer>mplayer -vc -realvid test.rmvb

it plays the sound normally and continues past the crash point (39.3
seconds in this case). If I run:

C:\Progra~1\MPlayer>mplayer -ac -realaud test.rmvb

it plays the video and crashes at the normal point (39.3 seconds).

At the crash point, it goes into a loop like a stuck record, until I
respond to the Windows "Send Error Report" dialog box.

You can download johnbrown105_bugreport.tar.bz2 at the following link:
http://www.megaupload.com/?d=JAYW1DNV

The archive contains:

1) MPlayer output at verbosity 1
2) gdb back trace
3) a JPG screen shot
4) a sample Real Media file
5)a readme listing contents of archive
johnbrown105_bugreport.tar.bz2.txt - contains contact info and some of
                                     above
Techniical information below:
/*******************************************************************/

System Information:
===================

Pentium IV 3.0 GHz, Hyper-threading enabled. cpuinfo reports:
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 ds acpi mmx fxsr sse sse2 ss tm
cpu MHz         : 3088.620
model name      :               Intel(R) Pentium(R) 4 CPU 3.00GHz

Note that MPlayer says:
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
but it was "Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2"
I did not --enable-runtime-cpudetection. For what it is worth, the Win32
binaries at the MPlayer website have the same problem.

RAM:        512 MB
Video:      ATI Radeon 9200 Celestica Gold Edition AGP, 128 MB
Audio:      Realtek AC97 sound on-board
Drivers:    DirectX 9.0c, latest Realtek drivers released Nov 2005,
            ATI Catalyst 5.10 (did not work with original drivers on
            CD, nor 5.7)
Compiler:   GCC 3.4.2 (mingw)
OS:         Windows XP SP2
MPlayer:    dev-CVS-051020-17:39-3.4.2
/*******************************************************************/

Output (-v 1):
==============

Using GNU internationalization
Original domain: messages
Original dirname: c:\usr\share\locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MPlayer dev-CVS-051020-17:39-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Celeron D Prescott; Xeon Nocona (Family: 15, Stepping: 
3)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


CommandLine: '-v' 'options' 'test.rmvb'
init_freetype
get_path('font/font.desc') -> 'C:/PROGRA~1/mplayer/mplayer/font/font.desc'
font: can't open file: C:/PROGRA~1/mplayer/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/mplayer/input.conf'
Can't open input config file C:/PROGRA~1/mplayer/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('options.conf') -> 'C:/PROGRA~1/mplayer/mplayer/options.conf'
Playing options.
WINSOCK2 init: 0
File not found: 'options'
Failed to open options

get_path('test.rmvb.conf') -> 'C:/PROGRA~1/mplayer/mplayer/test.rmvb.conf'
Playing test.rmvb.
WINSOCK2 init: 0
[file] File size is 39243803 bytes
STREAM: [file] test.rmvb
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
REAL file format detected.
real: Header size: 18
real: Header object version: 1
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x25694b3
First data chunk offset: 0x364
Flags (9): [save allowed]
Chunk: CONT (544e4f43) (size: 0x40, offset: 0x44)
Chunk: MDPR (5250444d) (size: 0xac, offset: 0x84)
Found new stream (id: 0)
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
==> Found audio stream: 0
Found audio stream!
version: 5
00 00
2E 72 61 35
00 00 00 10
00 05
header size: 78
00 00 00 00
00 03 AA B4
00 00 00 00
frame_size: 465
sub_packet_size: 93
00 00
00 00 AC 44 00 00
00 00
samplerate: 44100, channels: 2
67 65 6E 72
01 07 00
00
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 2
Samplerate: 44100
avg byte/sec: 32041
Block align: 465
bits/sample: 16
cbSize: 26
Unknown extra header dump: [5d] [0] [10] [0] [15] [0] [d1] [1] [10] [0] [1] 
[0] [0] [3] [8] [0] [0] [20] [0] [0] [0] [0] [0] [2] [0] [4]
===========================
### skipping 0 bytes of codec info
Chunk: MDPR (5250444d) (size: 0x70, offset: 0x130)
Found new stream (id: 1)
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
==> Found video stream: 1
video fourcc: RV40 (30345652)
H.263 ID: 40002000
unknown id: 40002000
### skipping 0 bytes of codec info
Chunk: MDPR (5250444d) (size: 0x1ba, offset: 0x1a0)
Found new stream (id: 2)
Stream mimetype: logical-fileinfo
Got a logical-fileinfo chunk
### skipping 380 bytes of codec info
Chunk: DATA (41544144) (size: 0x2569159, offset: 0x35a)
Packets in file: 50227
Reading index table from index chunk (39228595)
size: 9022 bytes
entries: 643
stream_id: 0
next_header_pos: 39237617
Reading index table from index chunk (39237617)
size: 6166 bytes
entries: 439
stream_id: 1
next_header_pos: 39243783
Reading index table from index chunk (39243783)
size: 20 bytes
entries: 0
stream_id: 2
next_header_pos: 0
Auto-selected RM audio ID = 0
Auto-selected RM video ID = 1
VIDEO:  RV40 [40002000,01081020]  576x432  (aspect 0.00)  24.00 fps
VIDEO:  [RV40]  576x432  24bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:11  fourcc:0x30345652  size:576x432  fps:24.00  ftime:=0.0417
Clip info:
copyright: (C) 2002
comment:
get_path('sub/') -> 'C:/PROGRA~1/mplayer/mplayer/sub/'
SUB: Could not determine file format
Cannot load subtitles: ./test.txt
get_path('default.sub') -> 'C:/PROGRA~1/mplayer/mplayer/default.sub'
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening win32 dll 'cook.so'
Error loading dll
ERROR: Could not open required DirectShow codec cook.so.
Read the RealAudio section of the DOCS!
ADecoder preinit failed :(
ADecoder init failed :(
Opening audio decoder: [realaud] RealAudio decoder
opening win32 dll 'cook.so.6.0'
Error loading dll
ERROR: Could not open required DirectShow codec cook.so.6.0.
Read the RealAudio section of the DOCS!
ADecoder preinit failed :(
ADecoder init failed :(
Opening audio decoder: [realaud] RealAudio decoder
opening win32 dll 'cook3260.dll'
Audio codec: [21] 32 kbps Stereo Music High Response - RA8
Audio bitrate: 32.041 kbit/s (4005 bps)
dec_audio: Allocating 7440 bytes for input buffer.
dec_audio: Allocating 128000 + 65536 = 193536 bytes for output buffer.
AUDIO: 44100 Hz, 2 ch, s16le, 32.0 kbit/2.27% (ratio: 4005->176400)
Selected audio codec: [racookwin] afm: realaud (Win32 RealAudio COOK)
==========================================================================
<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: [realvid] RealVideo decoder
realvideo codec id: 0x40002000  sub-id: 0x01081020
opening win32 dll 'drvc.so'
win32 real codec handle=00000000
Error loading dll
ERROR: Could not open required DirectShow codec drvc.so.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x40002000  sub-id: 0x01081020
opening win32 dll 'drv4.so.6.0'
win32 real codec handle=00000000
Error loading dll
ERROR: Could not open required DirectShow codec drv4.so.6.0.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x40002000  sub-id: 0x01081020
opening win32 dll 'drv43260.dll'
win32 real codec handle=63410000
INFO: RealVideo codec init OK!
Selected video codec: [rv40win] vfm: realvid (Win32 RealPlayer 9 RV40 
decoder)
==========================================================================
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 #1 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...
VDec: vo config request - 576 x 432 (preferred colorspace: Planar I420)
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
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (576x432->576x432,flags=0,'MPlayer',0x30323449)
SwScaler: using unscaled Planar YV12 -> Planar YV12 special converter
REQ: flags=0x417  req=0x0
VO: [directx] 576x432 => 576x432 Planar YV12
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
<vo_directx><INFO>overlay with format YV12  created
*** [scale] Allocating mp_image_t, 576x432x12bpp YUV planar, 373248 bytes
*** [vo] Allocating mp_image_t, 576x432x12bpp YUV planar, 373248 bytes
get_path('subfont.ttf') -> 'C:/PROGRA~1/mplayer/mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
[snip]
/* last 3 lines of output before crash */
A:  39.2 V:  39.2 A-V:  0.006 ct:  0.072 939/939  7%  1%  0.9% 0 0
A:  39.2 V:  39.2 A-V:  0.001 ct:  0.072 940/940  7%  1%  0.9% 0 0
A:  39.3 V:  39.3 A-V: -0.005 ct:  0.071 941/941  7%  1%  0.9% 0 0
/*******************************************************************/

GDB back trace
==============

(gdb) file mplayerdbg.exe
Reading symbols from mplayerdbg.exe...done.
(gdb) run -v -ss 30 test.rmvb
Starting program: C:\PROGRA~1\mplayer/mplayerdbg.exe -v -ss 30 test.rmvb

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 3564.0xf58]
0x6342b75f in _libws2_32_a_iname ()
(gdb) bt
#0  0x6342b75f in _libws2_32_a_iname ()
#1  0x00000000 in ?? ()
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x6342b73f to 0x6342b77f:
0x6342b73f <_libws2_32_a_iname+1652671567>:     or     $0x33,%al
0x6342b741 <_libws2_32_a_iname+1652671569>:     leave
0x6342b742 <_libws2_32_a_iname+1652671570>:     add    %edi,%esi
0x6342b744 <_libws2_32_a_iname+1652671572>:     mov    (%eax),%cl
0x6342b746 <_libws2_32_a_iname+1652671574>:     cmp    $0x8,%esi
0x6342b749 <_libws2_32_a_iname+1652671577>:     mov    %ecx,%eax
0x6342b74b <_libws2_32_a_iname+1652671579>:
    jb     0x6342b76a <_libws2_32_a_iname+1652671610>
0x6342b74d <_libws2_32_a_iname+1652671581>:     mov    %esi,%edi
0x6342b74f <_libws2_32_a_iname+1652671583>:     push   %ebx
0x6342b750 <_libws2_32_a_iname+1652671584>:     shr    $0x3,%edi
0x6342b753 <_libws2_32_a_iname+1652671587>:     mov    0x4(%edx),%ecx
0x6342b756 <_libws2_32_a_iname+1652671590>:     xor    %ebx,%ebx
0x6342b758 <_libws2_32_a_iname+1652671592>:     inc    %ecx
0x6342b759 <_libws2_32_a_iname+1652671593>:     sub    $0x8,%esi
0x6342b75c <_libws2_32_a_iname+1652671596>:     mov    %ecx,0x4(%edx)
0x6342b75f <_libws2_32_a_iname+1652671599>:     mov    (%ecx),%bl
0x6342b761 <_libws2_32_a_iname+1652671601>:     shl    $0x8,%eax
0x6342b764 <_libws2_32_a_iname+1652671604>:     or     %ebx,%eax
0x6342b766 <_libws2_32_a_iname+1652671606>:     dec    %edi
0x6342b767 <_libws2_32_a_iname+1652671607>:
    jne    0x6342b753 <_libws2_32_a_iname+1652671587>
---Type <return> to continue, or q <return> to quit---
0x6342b769 <_libws2_32_a_iname+1652671609>:     pop    %ebx
0x6342b76a <_libws2_32_a_iname+1652671610>:     mov    $0x8,%ecx
0x6342b76f <_libws2_32_a_iname+1652671615>:     sub    %esi,%ecx
0x6342b771 <_libws2_32_a_iname+1652671617>:     shr    %cl,%eax
0x6342b773 <_libws2_32_a_iname+1652671619>:     mov    0x8(%ebp),%ecx
0x6342b776 <_libws2_32_a_iname+1652671622>:     mov    
0x63438604(,%ecx,4),%edi
0x6342b77d <_libws2_32_a_iname+1652671629>:     mov    %esi,0xc(%edx)
End of assembler dump.
(gdb) info all-registers
eax            0xeefeeefe       -285282562
ecx            0xa397000        171536384
edx            0xa3e2960        171845984
ebx            0x0      0
esp            0xadefe34        0xadefe34
ebp            0xadefe40        0xadefe40
esi            0xfffe613a       -106182
edi            0x1fffcc28       536857640
eip            0x6342b75f       0x6342b75f
eflags         0x10296  66198
cs             0x1b     27
ss             0x23     35
ds             0x23     35
es             0x23     35
fs             0x3b     59
gs             0x0      0
st0            0        (raw 0xffff0000000070707070)
st1            0        (raw 0xffff0000000070707070)
st2            0        (raw 0xffff0000000070717070)
st3            0        (raw 0xffff0000000070717070)
st4            0        (raw 0xffffffffffffffffffff)
st5            0        (raw 0xffffffffffffffffffff)
st6            0        (raw 0xffffffffffffffffffff)
---Type <return> to continue, or q <return> to quit---
st7            0        (raw 0xffff000000004a4a4a4a)
fctrl          0xffff027f       -64897
fstat          0xffff0000       -65536
ftag           0xffffaaaa       -21846
fiseg          0x0      0
fioff          0x0      0
foseg          0xffff0000       -65536
fooff          0x0      0
fop            0x0      0
(gdb)


Download sample file at http://www.megaupload.com/?d=MCGZ8A1R

Thanks for any help.





More information about the MPlayer-users mailing list