[MPlayer-dev-eng] [Bug]MPlayer crashed when playing a rm file

陆然 hephooey at fastmail.fm
Mon Jun 2 14:12:00 CEST 2003


Hi,

I found some rm files, MPlayer play it with wrong image size and get crashed.
These files have been add some ad before the orignal film. When playing with 
MPlayer, the image size was about 1/4 of the correct size, and when ad is 
over, MPlayer crashed. I've already upload the sample file to 
ftp://ftp.mplayerhq.hu/MPlayer/incoming/wrong_image_size_and_crash.rm. Here 
is the -v output of MPlayer:

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


MPlayer dev-CVS-030529-11:46-3.2.2 (C) 2000-2003 Arpad Gereoffy (看DOCS!)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 
10)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
针对有扩展指令集x86 CPU编译: MMX MMX2 SSE

Reading config file /usr/local/mplayer//etc/mplayer/mplayer.conf: 没有那个文件或目录
Reading config file /home/hooey/.mplayer/config
Reading /home/hooey/.mplayer/codecs.conf: 50 audio & 135 video codecs
CommandLine: '-v' 'wrong_image_size_and_crash.rm'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
使用Linux的硬件RTC计时(1024Hz)
get_path('input.conf') -> '/home/hooey/.mplayer/input.conf'
Parsing input config file /home/hooey/.mplayer/input.conf
Input config file /home/hooey/.mplayer/input.conf parsed : 48 binds
get_path('menu.conf') -> '/home/hooey/.mplayer/menu.conf'
Menu inited: /home/hooey/.mplayer/menu.conf
get_path('wrong_image_size_and_crash.rm.conf') -> 
'/home/hooey/.mplayer/wrong_image_size_and_crash.rm.conf'

播放 wrong_image_size_and_crash.rm
Not an URL!
[file] File size is 5242880 bytes
STREAM: [file] wrong_image_size_and_crash.rm
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x850ad18
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x850ad18
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x850ad18
Checking for REAL
检测到REAL文件格式。
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x4e25321
First data chunk offset: 0x384
Flags (9): [save allowed]
Chunk: MDPR (5250444d) (size: 0xac, offset: 0x44)
Found new stream (id: 0)
skip_str: 12 bytes skipped
skip_str: 20 bytes skipped
==> 找到音频流: 0
Found audio stream!
version: 5
frame_size: 930
sub_packet_size: 186
samplerate: 44100, channels: 2
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 2
Samplerate: 44100
avg byte/sec: 64082
Block align: 930
bits/sample: 16
cbSize: 26
Unknown extra header dump: [ba] [0] [10] [0] [18] [0] [a2] [3] [10] [0] [1] 
[0] [0] [3] [8] [0] [0] [25] [0] [0] [0] [0] [0] [6] [0] [5]
### skipping 0 bytes of codec info
Chunk: MDPR (5250444d) (size: 0x70, offset: 0xf0)
Found new stream (id: 1)
skip_str: 12 bytes skipped
skip_str: 20 bytes skipped
==> 找到视频流: 1
video fourcc: RV40 (30345652)
H.263 ID: 40002000
unknown id: 40002000
### skipping 0 bytes of codec info
Chunk: MDPR (5250444d) (size: 0x1de, offset: 0x160)
Found new stream (id: 2)
skip_str: 0 bytes skipped
skip_str: 16 bytes skipped
Not audio/video stream or unsupported!
### skipping 4 bytes of codec info
Chunk: CONT (544e4f43) (size: 0x3c, offset: 0x33e)
Chunk: DATA (41544144) (size: 0x4e24fa7, offset: 0x37a)
Packets in file: 70331
Auto-selected RM video ID = 1
Auto-selected RM audio ID = 0
VIDEO:  RV40 [40002000,00481020]  640x480  (aspect 0.00)  29.00 fps
[V] filefmt:11  fourcc:0x30345652  size:640x480  fps:29.00  ftime:=0.0345
Clip info:
 name: 推理之绊-04
 author: [漫迷]V9-NOBITA(实习)
 copyright: (C) 2002
get_path('sub/') -> '/home/hooey/.mplayer/sub/'
get_path('default.sub') -> '/home/hooey/.mplayer/default.sub'
==========================================================================
打开音频解码器: [realaud] RealAudio decoder
opening shared obj '/usr/lib/win32//cook.so.6.0'
Audio codec: [24] 64 Kbps Stereo Music - RA8
Audio bitrate: 64.083 kbit/s (8010 bps)
dec_audio: 为输入缓冲分配 14880 字节
dec_audio: 为输出缓冲分配 128000 + 65536 = 193536 字节
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 8010->176400 (64.1 kbit)
Selected audio codec: [racook] afm:realaud (RealAudio COOK)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports STAYS_ON_TOP state.
打开视频滤镜: [eq]
==========================================================================
尝试指定视频解码器驱动族 5 ...
打开视频解码器: [realvid] RealVideo decoder
realvideo codec id: 0x40002000  sub-id: 0x00481020
opening shared obj '/usr/lib/win32//drv4.so.6.0'
Error: /usr/lib/win32//drv4.so.6.0: 无法打开共享对象文件: 没有那个文件或目录
opening win32 dll '/usr/lib/win32//drv4.so.6.0'
Win32 LoadLibrary failed to load: /usr/lib/win32//drv4.so.6.0, 
/usr/lib/win32//usr/lib/win32//drv4.so.6.0, 
/usr/local/lib/win32//usr/lib/win32//drv4.so.6.0
win32 real codec handle=(nil)
Error loading dll
错误: 无法打开要求的DirectShow解码器: drv4.so.6.0
Read the RealVideo section of the DOCS!
VDecoder初始化失败 :(
打开视频解码器: [realvid] RealVideo decoder
realvideo codec id: 0x40002000  sub-id: 0x00481020
opening win32 dll '/usr/lib/win32//drv43260.dll'
win32 real codec handle=0x63410000
get_path('registry') -> '/home/hooey/.mplayer/registry'
Called unk__beginthreadex
INFO: RealVideo codec init OK!
Selected video codec: [rv40win] vfm:realvid (Win32 RealPlayer 9 RV40 decoder)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps 
= 2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 
16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:   8/8  (8192 bytes/frag)  free:  65536
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: 描述: OSS/ioctl audio output
AO: 作者: A'rpi
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps 
= 2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps 
= 2
开始播放...
VDec: vo配置要求 - 352 x 240 (选择 csp: Planar I420)
Trying filter chain: eq menu vo
VDec: using Planar I420 as output csp (no 0)
电影宽高比为 1.33:1 - 预放大到正确的电影宽高比.
VO Config (352x240->352x264,flags=0,'MPlayer',0x30323449)
REQ: flags=0x437  req=0x0
Unicode font: 21981 glyphs.
REQ: flags=0x437  req=0x0
VO: [xv] 352x240 => 352x264 Planar I420
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
geometry set to width: -1,height: -1, xoff: -1, yoff: -1, xper: 50, yper: 50
geometry set to width: -1,height: -1, xoff: 336, yoff: 252, xper: 50, yper: 50
geometry window parameter: widw: 352, widh: 264, scrw: 1024, scrh: 768
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 89 for hw scaling
[xv] dx: 0 dy: 0 dw: 352 dh: 264
*** [eq] Allocating mp_image_t, 352x240x12bpp YUV planar, 126720 bytes
*** [menu] Exporting mp_image_t, 352x240x12bpp YUV planar, 126720 bytes
*** [vo] Exporting mp_image_t, 352x240x12bpp YUV planar, 126720 bytes
[xv] dx: 0 dy: 0 dw: 352 dh: 264

-- 
Best Regards,
LR




More information about the MPlayer-dev-eng mailing list