[MPlayer-users] [bug] Quicktime codecs don't work
Vladimir Mosgalin
mosgalin at VM10124.spb.edu
Mon Feb 3 00:07:14 CET 2003
On my system, QT codecs don't work in current mplayer - they _did_ work
in time of rc1 and QT5, but starting from rc2 and QT6 they just fail to
load. mplayer segfaults on any file when using QT.
I compiled recent cvs with --enable-debug.
System is asplinux 7.3 (rh-compatible) with glibc and gcc from 8.0 (not
released).
Kernel 2.4.18, with patches from rh + some other + openwall, execution
in stack area is enabled for mplayer, ldd mplayer|grep libc.so shows
0x4054b000 address.
glibc 2.3, gcc 3.2, binutils 2.13.90.0.2 20020802
I don't know if this gdb output is useful, however here it is. gdb shows
this much details not regarding on debug mode, i.e. when compiling with
--disable-debug, --enable-debug, --enable-debug=3, result is always the
same.
[mosgalin at washi MPlayer-current]$ gdb ./mplayer
GNU gdb Red Hat Linux (5.2-2)
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 "i386-redhat-linux"...
(gdb) run -v /mnt/media3/Japan/Clips/other/sakura101.mov
Starting program: /usr/src/asplinux/BUILD/MPlayer-current/mplayer -v /mnt/media3/Japan/Clips/other/sakura101.mov
[New Thread 8192 (LWP 20268)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MPlayer CVS-030202-23:38-3.2 (C) 2000-2003 Arpad Gereoffy (см. DOCS!)
CPU: Intel Pentium MMX P55C (Family: 5, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX
Reading config file /usr/local/etc/mplayer/mplayer.conf: Нет такого файла или каталога
Reading config file /home/mosgalin/.mplayer/config
Reading /home/mosgalin/.mplayer/codecs.conf: can't open '/home/mosgalin/.mplayer/codecs.conf': Нет такого файла или каталога
Reading /usr/local/etc/mplayer/codecs.conf: 49 audio & 130 video codecs
CommandLine: '-v' '/mnt/media3/Japan/Clips/other/sakura101.mov'
get_path('font/font.desc') -> '/home/mosgalin/.mplayer/font/font.desc'
font: can't open file: /home/mosgalin/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
init_freetype
Using MMX Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Нет доступа
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup
scripts.
Using usleep() timing
get_path('input.conf') -> '/home/mosgalin/.mplayer/input.conf'
Parsing input config file /home/mosgalin/.mplayer/input.conf
Input config file /home/mosgalin/.mplayer/input.conf parsed : 51 binds
get_path('sakura101.mov.conf') -> '/home/mosgalin/.mplayer/sakura101.mov.conf'
Проигрывание /mnt/media3/Japan/Clips/other/sakura101.mov
Not an URL!
File size is 13419778 bytes
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
^MCache fill: 0,00% (0 bytes) ^MCache fill: 9,57% (802816 bytes) Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x83ce798
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x83ce798
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x83ce798
Checking for REAL
DEMUXER: freeing demuxer at 0x83ce798
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x83ce798
Searching demuxer type for filename /mnt/media3/Japan/Clips/other/sakura101.mov
ext: .mov
Trying demuxer 7 based on filename extension
Checking for MOV
MOV: Movie header found!
MOV: 'WIDE' chunk found!
MOV: Movie DATA found!
Обнаружен QuickTime/MOV формат файла!
Compressed header uses zlib algo!
Compressed header size: 11910 / 23930
MOV: Movie header (100 bytes): tscale=600 dur=62701
--------------
MOV: Track #0:
MOV: Track header!
tkhd len=84 ver=0 flags=0x0 id=1 dur=62701 lay=0 vol=0
MOV: Edit atom!
MOV: Edit list table (1 entries) (ver:0,flags:0)
MOV: entry#0: duration: 62701 start time: 0 speed: 1,0x
MOV: Media stream!
MOV: Media header!
MOV: Handler header: mhlr/vide (appl) Apple Video Media Handler
MOV: Media info!
MOV: Video header!
MOV: Handler header: dhlr/alis (appl) Apple Alias Data Handler
MOV: unknown chunk: dinf 28
MOV: Sample info!
MOV: Description list! (cnt:1)
MOV: desc #0: SVQ1 (70 bytes)
MOV: Sample duration table! (2 blocks)
MOV: Syncing samples (keyframes) table! (164 entries) (ver:0,flags:0)
MOV: Sample->Chunk mapping table! (418 blocks) (ver:0,flags:0)
MOV: Sample size table! (entries=3132 ss=0) (ver:0,flags:0)
MOV: Chunk offset table! (418 chunks)
MOV track #0: 418 chunks, 3132 samples
pts=313195 scale=2997 time=104,503
EL#0: pts=0 1st_sample=0 frames=3132 (104,502s) pts_offs=0
==> Found video stream: 0
Image size: 320 x 240 (24 bpp)
Display size: 320 x 240
Fourcc: SVQ1 Codec: 'Sorenson Video'
--------------
MOV: Track #1:
MOV: Track header!
tkhd len=84 ver=0 flags=0x0 id=2 dur=62470 lay=0 vol=256
MOV: Edit atom!
MOV: Edit list table (1 entries) (ver:0,flags:0)
MOV: entry#0: duration: 62470 start time: 0 speed: 1,0x
MOV: Media stream!
MOV: Media header!
MOV: Handler header: mhlr/soun (appl) Apple Sound Media Handler
MOV: Media info!
MOV: Sound header!
MOV: Handler header: dhlr/alis (appl) Apple Alias Data Handler
MOV: unknown chunk: dinf 28
MOV: Sample info!
MOV: Description list! (cnt:1)
MOV: desc #0: QDM2 (100 bytes)
MOV: Sample duration table! (1 blocks)
MOV: Sample->Chunk mapping table! (161 blocks) (ver:0,flags:0)
MOV: Sample size table! (entries=2295808 ss=1) (ver:0,flags:0)
MOV: Chunk offset table! (209 chunks)
MOV track #1: 209 chunks, 0 samples
pts=2295808 scale=22050 time=104,118
==> Found audio stream: 1
Audio bits: 16 chans: 2 rate: 22050
Audio header: samp/pack=2048 bytes/pack=278 bytes/frame=556 bytes/samp=2
Audio extra header: len=64 fcc=0x77617665
Fourcc: QDM2
--------------
Quicktime Clip Info:
MOV: longest streams: A: #1 (209 samples) V: #0 (3132 samples)
[V] filefmt:7 fourcc:0x31515653 size:320x240 fps:29,97 ftime:=0,0334
get_path('sub/') -> '/home/mosgalin/.mplayer/sub/'
==========================================================================
Opening audio decoder: [qtaudio] QuickTime Audio Decoder
win32 libquicktime loader (c) Sascha Sommer
Standard init done you may now call supported functions
loader_init DONE???
loader_init DONE!
get_path('registry') -> '/home/mosgalin/.mplayer/registry'
External func COMCTL32.dll:17
External func COMCTL32.dll:16
QuickTime6 DLLs found
QuickTime.qts patched!!! old entry=0x6693b330
theQuickTimeDispatcher catched -> 0x6693b330
Win32 Warning: Accessed uninitialized Critical Section (0x66bc4210)!
WARNING! Invalid Ptr handle!
Win32 Warning: Accessed uninitialized Critical Section (0x66bc41f8)!
### Searching for QuickTime plugins (*.qtx) at /usr/lib/win32...
### FindNext: 3ivx Delta 3.5.qtx
### FindNext: 3ivX.qtx
### FindNext: BeHereiVideo.qtx
### FindNext: Indeo4.qtx
### FindNext: On2_VP3.qtx
### FindNext: QuickTimeAuthoring.qtx
### FindNext: QuickTimeCapture.qtx
### FindNext: QuickTimeEffects.qtx
### FindNext: QuickTimeImage.qtx
### FindNext: QuickTimeEssentials.qtx
### FindNext: QuickTimeInternetExtras.qtx
### FindNext: QuickTimeJavaExtras.qtx
### FindNext: QuickTimeMPEG4Authoring.qtx
### FindNext: QuickTimeMPEG4.qtx
### FindNext: QuickTimeMPEG.qtx
### FindNext: QuickTimeMusic.qtx
### FindNext: QuickTimeQD3D.qtx
### FindNext: QuickTimeStreamingAuthoring.qtx
### FindNext: QuickTimeStreamingExtras.qtx
### FindNext: QuickTimeStreaming.qtx
### FindNext: QuickTimeVRAuthoring.qtx
### FindNext: QuickTimeWebHelper.qtx
### FindNext: ZyGoVideo.qtx
theQuickTimeDispatcher catched -> 0x6693b330
theQuickTimeDispatcher catched -> 0x6693b330
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 20268)]
0x00000000 in ?? ()
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0xffffffe0 to 0x20:
End of assembler dump.
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x670577db in ?? ()
#2 0x081121d0 in wrapper ()
#3 0x081121d0 in wrapper ()
#4 0x081121d0 in wrapper ()
#5 0x081121d0 in wrapper ()
#6 0x73696e70 in ?? ()
#7 0x448d0c24 in ?? ()
Cannot access memory at address 0x7c8b5756
(gdb) info all-registers
eax 0x0 0
ecx 0xbf7fd3d4 -1082141740
edx 0xbf7fcfe8 -1082142744
ebx 0x0 0
esp 0xbf7fd0c8 0xbf7fd0c8
ebp 0xbf7fd3e4 0xbf7fd3e4
esi 0x845ac98 138783896
edi 0x830000 8585216
eip 0x0 0x0
eflags 0x210286 2163334
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x8f 143
gs 0x0 0
st0 0 (raw 0x00000000000000000000)
st1 0 (raw 0x00000000000000000000)
st2 0 (raw 0x00000000000000000000)
st3 0 (raw 0x00000000000000000000)
st4 0 (raw 0x00000000000000000000)
st5 0 (raw 0x00000000000000000000)
st6 29.9699993133544921875 (raw 0x4003efc28f0000000000)
st7 0 (raw 0x00000000000000000000)
fctrl 0x27f 639
fstat 0x0 0
ftag 0xffff 65535
fiseg 0x23 35
fioff 0x80710ca 134680778
foseg 0x2b 43
fooff 0x0 0
fop 0x5d8 1496
xmm0 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff),
-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm1 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff),
-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm2 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff),
-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm3 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff),
-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm4 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff),
-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm5 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff),
-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm6 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff),
-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm7 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff),
-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
mxcsr 0x1f80 8064
orig_eax 0xffffffff -1
(gdb) kill
Kill the program being debugged? (y or n) y
(gdb)
--
Vladimir
More information about the MPlayer-users
mailing list