[Mplayer-advusers] mplayer: mp4_mblock.c:362: getMVdata: Assertion `code >= 0' failed.

Attila Kinali kinali at gmx.net
Tue Apr 2 17:24:43 CEST 2002


Hi People,

Here another bugreport


---schnipp---
(gdb) run -v -vo x11 duality.divx
Starting program: /home/attila/src/mplayer/main/mplayer -v -vo x11 duality.divx
[New Thread 1024 (LWP 3550)]


MPlayer CVS-020402-12:54-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 6)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile mplayer from sources with --disable-runtime-cpudetection
Reading /home/attila/.mplayer/codecs.conf: 30 audio & 81 video codecs
CommandLine: '-v' '-vo' 'x11' 'duality.divx'
get_path('font/font.desc') -> '/home/attila/.mplayer/font/font.desc'
Font /home/attila/.mplayer/font/font.desc loaded successfully! (206 chars)
Linux RTC init error: Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/attila/.mplayer/input.conf'
Can't open input config file /home/attila/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) config
Playing duality.divx
Can't open IFO file: No such file or directory
Not an URL!
File size is 25565184 bytes
Detected AVI file format!
list_end=0x2292
======= AVI Header =======
us/frame: 33367  (fps=29.970)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 11267   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 272
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: fake (656B6166)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 2997/100 = 29.970
Start: 0   Len: 11267
Suggested BufferSize: 33422
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 272
  biPlanes 1
  biBitCount 16
  biCompression 1482049860='DIVX'
  biSizeImage 522240
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x2186
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 10000/1 = 10000.000
Start: 0   Len: 3759459
Suggested BufferSize: 5000
Quality -1
Sample size: 1
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 32000
avg byte/sec: 10000
Block align: 1
bits/sample: 0
cbSize: 12
list_end=0x2292
Broken chunk?  chunksize=1382  (id=JUNK)
list_end=0x1830AEC
Found movie at 0x280C - 0x1830AEC
Reading INDEX block, 12394 chunks for 11267 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 12394 chunks for 11267 frames
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1394)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=21496373
VIDEO:  [DIVX]  640x272  16bpp  29.97 fps  457.4 kbps (55.8 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:640x272  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/attila/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 6)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer III, 32000 Hz 80 kbit Joint-Stereo, BPF: 360
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=32000  chans=2  bps=2  sfmt=0x10  ratio: 10000->128000
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 bits/pixel (":0.0" => local display)
==========================================================================
Opening Video Decoder: [odivx] Opendivx 0.48 codec
Using MMXEXT for IDCT transform
INFO: OpenDivX video codec init OK!
VDec: vo config request - 640 x 272, Planar YV12  
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 640x272 => 640x272 Planar YV12 
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
video_out->init(640x272->640x272,flags=0,'MPlayer',0x32315659)
Sharing memory.
Using MMX2 for colorspace transform
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
Detected video codec: [odivx] drv:3 prio:0 (OpenDivX (MPEG-4 v2))
==========================================================================
AO: [oss] 32000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 32000 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 32000 Hz samplerate (requested: 32000)
audio_setup: frags:   8/8  (4096 bytes/frag)  free:  32768
Start playing...
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
XXX initial  v_pts=0.000  a_pos=5000 (0.500) /  1   0%  0%  0.0% 0 0 0%
mplayer: mp4_mblock.c:362: getMVdata: Assertion `code >= 0' failed.0 0%

Program received signal SIGABRT, Aborted.
[Switching to Thread 1024 (LWP 3550)]
0x4034b9f1 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x4034b9f1 in kill () from /lib/libc.so.6
#1  0x4005fc9e in pthread_kill () from /lib/libpthread.so.0
#2  0x4006016d in raise () from /lib/libpthread.so.0
#3  0x4034ce51 in abort () from /lib/libc.so.6
#4  0x403460b2 in __assert_fail () from /lib/libc.so.6
#5  0x0818792e in getMVdata () at mp4_mblock.c:362
#6  0x08187775 in setMV (block_num=-1) at mp4_mblock.c:284
#7  0x081873a6 in macroblock () at mp4_mblock.c:102
#8  0x081860bc in get_mp4picture (bmp=0xbfffe7fc "\b^8\b!", render_flag=1) at mp4_picture.c:64
#9  0x08185338 in decore_frame (stream=0x8385e08 "", length=33, bmp=0xbfffe7fc "\b^8\b!", render_flag=1) at decore.c:197
#10 0x081851da in decore (handle=291, dec_opt=0, param1=0xbfffe78c, param2=0x0) at decore.c:126
#11 0x080885c8 in decode (sh=0x8330930, data=0x8385e08, len=33, flags=0) at vd_odivx.c:180
#12 0x08086ffe in decode_video (video_out=0x81d6380, sh_video=0x8330930, start=0x8385e08 "", in_size=33, drop_frame=0) at dec_video.c:165
#13 0x0805156f in main (argc=5, argv=0xbffffaa4, envp=0xbffffabc) at mplayer.c:1505
#14 0x4033b6cf in __libc_start_main () from /lib/libc.so.6
(gdb) up 5
#5  0x0818792e in getMVdata () at mp4_mblock.c:362
362             assert(code >= 0);
(gdb) l
357                     return MVtab1[code].val;
358       }
359     
360             code -= 4; 
361     
362             assert(code >= 0);
363     
364             flushbits(MVtab2[code].len);
365             return MVtab2[code].val;
366     }
(gdb) p code
$1 = 6
---schnapp---

If you need more, let me know

		Attila Kinali



More information about the MPlayer-advusers mailing list