[Mplayer-cvslog] CVS: main/DOCS/tech TODO,1.43,1.44

Felix Buenemann atmosfear at users.sourceforge.net
Wed Jul 31 02:19:27 CEST 2002


On Tuesday 30 July 2002 22:43, Arpi wrote:
> mp4 header parser sig11:
> samples/MPEG-4/fridayafternext_http.mp4
> (sample file for QT player v6)
why do you think it's header parser prib, to me it seems to be prob in lavc 
mpeg4 decoder, maybe michael should take a look at it. The demuxing on 
mplayer-side seems to be fine.

I attached the gdb session log for reference.
-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________
-------------- next part --------------
atmosfear at astral:~/develop/mplayer/main> gdb mplayer-dev
GNU gdb 5.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-suse-linux"...
(gdb) r -v /iso/fridayafternext_http.mp4
Starting program: /home/atmosfear/develop/mplayer/main/mplayer -v /iso/fridayafternext_http.mp4
[New Thread 1024 (LWP 32394)]


MPlayer CVS-020731-01:29-3.1 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

/home/atmosfear/.mplayer/config(4): option: cache
/home/atmosfear/.mplayer/config(4): parameter: 8192
/home/atmosfear/.mplayer/config(5): option: vo
/home/atmosfear/.mplayer/config(5): parameter: sdl
/home/atmosfear/.mplayer/config(7): option: ao
/home/atmosfear/.mplayer/config(7): parameter: oss
/home/atmosfear/.mplayer/config(8): option: sws
/home/atmosfear/.mplayer/config(8): parameter: 0
/home/atmosfear/.mplayer/config(9): option: idx
/home/atmosfear/.mplayer/config(9): parameter: 1
Reading /home/atmosfear/.mplayer/codecs.conf: 36 audio & 103 video codecs
CommandLine: '-v' '/iso/fridayafternext_http.mp4'
get_path('font/font.desc') -> '/home/atmosfear/.mplayer/font/font.desc'
font: can't open file: /home/atmosfear/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error: Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/atmosfear/.mplayer/input.conf'
Parsing input config file /home/atmosfear/.mplayer/input.conf
Input config file /home/atmosfear/.mplayer/input.conf parsed : 50 binds
Setting up lirc support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed opening lirc support!
You won't be able to use your remote control

Playing /iso/fridayafternext_http.mp4
Not an URL!
File size is 8721848 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:5414912
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x82a95c8
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x82a95c8
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x82a95c8
Checking for MOV
MOV: File-Type Major-Brand: ISO Media File
MOV: File-Type Minor-Version: 0
MOV: File-Type Compatible-Brands #0: isom
MOV: File-Type Compatible-Brands #1:
MOV: File-Type Compatible-Brands #2:
MOV: File-Type Compatible-Brands #3:
MOV: Movie header found!
MOV: Movie DATA found!
MOV: Movie DATA found!
Detected QuickTime/MOV file format!
MOV: unknown chunk: mvhd 100
--------------
MOV: Track #0:
MOV:  Track header!
MOV:  Edit atom!
MOV:   Edit list table (1 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 35995  start time: 0  speed: 1.0x
MOV:  Media stream!
MOV:   Media header!
MOV: unknown chunk: hdlr 50
MOV:   Media info!
MOV:    Sound header!
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: mp4a  (68 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Sample->Chunk mapping table!  (283 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=2584 ss=0) (ver:0,flags:0)
MOV:     Chunk offset table! (283 chunks)
MOV track #0: 283 chunks, 2584 samples
pts=2646016  scale=44100  time=60.000
==> Found audio stream: 0
Audio bits: 16  chans: 2  rate: 44100
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (48)!
ESDS MPEG4 version: 0  flags: 0x000000
ESDS MPEG4 ES Descriptor (36Bytes):
 -> ESId: 0
 -> streamPriority: 0
ESDS MPEG4 Decoder Config Descriptor (22Bytes):
 -> objectTypeId: 64
 -> streamType: 0x15
 -> bufferSizeDB: 0x001800
 -> maxBitrate: 128.000kbit/s
 -> avgBitrate: 128.000kbit/s
ESDS MPEG4 Decoder Specific Descriptor (4Bytes)
ESDS MPEG4 Sync Layer Config Descriptor (0Bytes)
 -> predefined: 72
Fourcc: mp4a
--------------
MOV: Track #1:
MOV:  Track header!
MOV:  Edit atom!
MOV:   Edit list table (1 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 35995  start time: 0  speed: 1.0x
MOV:  Media stream!
MOV:   Media header!
MOV: unknown chunk: hdlr 50
MOV:   Media info!
MOV:    Video header!
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: mp4v  (139 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Syncing samples (keyframes) table! (90 entries) (ver:0,flags:0)
MOV:     Sample->Chunk mapping table!  (238 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=1440 ss=0) (ver:0,flags:0)
MOV:     Chunk offset table! (239 chunks)
MOV track #1: 239 chunks, 1440 samples
pts=36000  scale=600  time=60.000
==> Found video stream: 1
MOV: Found MPEG4 movie Elementary Stream Descriptor atom (69)!
ESDS MPEG4 version: 0  flags: 0x000000
ESDS MPEG4 ES Descriptor (55Bytes):
 -> ESId: 0
 -> streamPriority: 31
ESDS MPEG4 Decoder Config Descriptor (47Bytes):
 -> objectTypeId: 32
 -> streamType: 0x11
 -> bufferSizeDB: 0x001000
 -> maxBitrate: 4.096kbit/s
 -> avgBitrate: 4.096kbit/s
ESDS MPEG4 Decoder Specific Descriptor (32Bytes)
ESDS MPEG4 Sync Layer Config Descriptor (1Bytes)
 -> predefined: 2
Image size: 320 x 240 (24 bpp)
Display size: 320 x 240
Fourcc: mp4v  Codec: ''
--------------
MOV: Track #2:
MOV:  Track header!
MOV:  Edit atom!
MOV:   Edit list table (1 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 35995  start time: 0  speed: 1.0x
MOV:  Media stream!
MOV:   Media header!
MOV: unknown chunk: hdlr 57
MOV:   Media info!
MOV:    Generic header!
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: mp4s  (40 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Sample->Chunk mapping table!  (1 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=1 ss=15) (ver:0,flags:0)
MOV:     Chunk offset table! (1 chunks)
MOV track #2: 1 chunks, 0 samples
pts=35995  scale=600  time=59.992
Generic track - not completly understood! (id: 2)
--------------
MOV: Track #3:
MOV:  Track header!
MOV:  Edit atom!
MOV:   Edit list table (1 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 35995  start time: 0  speed: 1.0x
MOV: unknown chunk: tref 16
MOV:  Media stream!
MOV:   Media header!
MOV: unknown chunk: hdlr 56
MOV:   Media info!
MOV:    Generic header!
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: mp4s  (35 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Sample->Chunk mapping table!  (1 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=1 ss=18) (ver:0,flags:0)
MOV:     Chunk offset table! (1 chunks)
MOV track #3: 1 chunks, 0 samples
pts=35995  scale=600  time=59.992
Generic track - not completly understood! (id: 3)
--------------
MOV: unknown chunk: iods 25
[V] filefmt:7  fourcc:0x7634706D  size:320x240  fps:24.00  ftime:=0.0417
get_path('sub/') -> '/home/atmosfear/.mplayer/sub/'
Detected audio codec: [faad] afm:20 (AAC MPEG2/MPEG4 Audio)
Initializing audio codec...
Requested audio codec family [faad] (afm=20) not available (enable it at compile time!)
Couldn't initialize audio codec! -> nosound
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext sse
INFO: libavcodec init OK!
Detected video codec: [ffodivx] vfm:5 (FFmpeg MPEG-4)
==========================================================================
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
vo_debug: query(Planar YV12) returned 0x437 (i=0)
Movie-Aspect is undefined - no prescaling applied.
video_out->init(320x240->320x240,flags=0,'MPlayer',0x32315659)
VO: [sdl] 320x240 => 320x240 Planar YV12
VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>, Felix Buenemann <atmosfear at users.sourceforge.net>
SDL: Using 0x32315659 (Planar YV12) image format
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 1024x768
SDL: Using driver: x11
SDL: using hardware-surface
SDL: setting windowed mode
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
illegal 3. esc, esc 1 encoding possible
Error at MB: 63
concealing errors

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 32394)]
0x08116df0 in put_pixels_mmx (block=0x837dff0 "", pixels=0x3c30 <Address 0x3c30 out of bounds>, line_size=320, h=16)
    at i386/dsputil_mmx.c:348
348      __asm __volatile(
(gdb) bt
#0  0x08116df0 in put_pixels_mmx (block=0x837dff0 "", pixels=0x3c30 <Address 0x3c30 out of bounds>, line_size=320, h=16)
    at i386/dsputil_mmx.c:348
#1  0x080de494 in mpeg_motion (s=0x40efa008, dest_y=0x837dff0 "",
    dest_cb=0x83929d8 '\200' <repeats 136 times>, 'f' <repeats 24 times>, '\200' <repeats 40 times>...,
    dest_cr=0x838ded8 '\200' <repeats 136 times>, 'X' <repeats 16 times>, "WWWWWWWW", '\200' <repeats 40 times>...,
    dest_offset=0, ref_picture=0x40efa1fc, src_offset=0, field_based=0, pix_op=0x81f6e60, motion_x=0, motion_y=0, h=16)
    at mpegvideo.c:1053
#2  0x080de14f in ff_conceal_past_errors (s=0x40efa008, unknown_pos=0) at mpegvideo.c:2701
#3  0x08109294 in h263_decode_frame (avctx=0x82a5400, data=0xbfffe160, data_size=0xbfffe13c, buf=0x83521e8 "",
    buf_size=12833) at h263dec.c:307
#4  0x080d71f7 in avcodec_decode_video (avctx=0x82a5400, picture=0x280, got_picture_ptr=0xbfffe13c,
    buf=0x280 <Address 0x280 out of bounds>, buf_size=640) at utils.c:102
#5  0x0809a9e2 in decode (sh=0x82a70b8, data=0x280, len=12833, flags=-1073749700) at vd_ffmpeg.c:387
#6  0x08099399 in decode_video (sh_video=0x82a70b8, start=0x280 <Address 0x280 out of bounds>, in_size=640, drop_frame=0)
    at dec_video.c:191
#7  0x0806945a in main (argc=3, argv=0xbffff4c4, envp=0x280) at mplayer.c:1570
#8  0x403f79ed in __libc_start_main () from /lib/libc.so.6
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x8116dd0 to 0x8116e10:
0x8116dd0 <put_pixels_mmx>:     push   %ebp
0x8116dd1 <put_pixels_mmx+1>:   mov    %esp,%ebp
0x8116dd3 <put_pixels_mmx+3>:   sub    $0x8,%esp
0x8116dd6 <put_pixels_mmx+6>:   mov    %ebx,(%esp,1)
0x8116dd9 <put_pixels_mmx+9>:   mov    0x10(%ebp),%ecx
0x8116ddc <put_pixels_mmx+12>:  mov    0xc(%ebp),%ebx
0x8116ddf <put_pixels_mmx+15>:  mov    %esi,0x4(%esp,1)
0x8116de3 <put_pixels_mmx+19>:  mov    0x14(%ebp),%edx
0x8116de6 <put_pixels_mmx+22>:  mov    0x8(%ebp),%esi
0x8116de9 <put_pixels_mmx+25>:  lea    (%ecx,%ecx,1),%eax
0x8116dec <put_pixels_mmx+28>:  lea    0x0(%esi,1),%esi
0x8116df0 <put_pixels_mmx+32>:  movq   (%ebx),%mm0
0x8116df3 <put_pixels_mmx+35>:  movq   (%ebx,%ecx,1),%mm1
0x8116df7 <put_pixels_mmx+39>:  movq   %mm0,(%esi)
0x8116dfa <put_pixels_mmx+42>:  movq   %mm1,(%esi,%ecx,1)
0x8116dfe <put_pixels_mmx+46>:  add    %eax,%ebx
0x8116e00 <put_pixels_mmx+48>:  add    %eax,%esi
0x8116e02 <put_pixels_mmx+50>:  movq   (%ebx),%mm0
0x8116e05 <put_pixels_mmx+53>:  movq   (%ebx,%ecx,1),%mm1
0x8116e09 <put_pixels_mmx+57>:  movq   %mm0,(%esi)
0x8116e0c <put_pixels_mmx+60>:  movq   %mm1,(%esi,%ecx,1)
End of assembler dump.
(gdb) c
Continuing.


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. For details, see DOCS/bugreports.html section 5.b.
- 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/bugreports.html and follow instructions there. We can't and won't help unless you provide these informations when reporting a possible bug.
SDL: activating XScreensaver/DPMS
vo: x11 uninit called but X11 not inited..

Program exited with code 01.



More information about the MPlayer-cvslog mailing list