From as@sci.fi Sat May 11 18:59:28 2002 Date: Sat, 11 May 2002 18:59:28 +0300 From: Anssi Saari To: mplayer-users@mplayer.dev.hu Subject: Bugreport: Intel Indeo 3.2 picture is messy Message-ID: <20020511155928.GA27696@sci.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Status: RO Content-Length: 9207 Lines: 256 I noticed video output with VFW Intel Indeo 3.2 codec is bad. There are a lot of blinking black squares in the picture with xv output. With -vo x11 and sdl, I get a crash. With Xanim vid_iv32.xa or Windows Media Player, no problem. I've uploaded an example file called iv32_example.avi. System information; Distrbution: Debian 3.0 (Woody) Kernel 2.4.18 Glibc 2.2.5 XFree86 Version 4.1.0.1 Window manager fvwm2 2.5.1 gcc version 3.0.4, 2.95.4 GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux GNU assembler 2.12.90.0.1 20020307 Debian/GNU Linux CPU info: processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 3 model name : AMD Duron(tm) processor stepping : 1 cpu MHz : 799.619 cache size : 64 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr s yscall mmxext 3dnowext 3dnow bogomips : 1595.80 Video card Elsa Gladiac MX (Nvidia Geforce2MX 32MB) X built-in nv driver Sound card Trust Sound Expert Digital Surround 5.1 (C-Media Electronics Inc CMI8738/C3DX PCI Audio Device) with OSS kernel drivers. mplayer -v output: MPlayer CVS-020510-10:19-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!) CPU vendor name: AuthenticAMD max cpuid level: 1 CPU: Advanced Micro Devices Duron SF Spitfire (Type: 6, Stepping: 1) extended cpuid-level: 6 CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0 Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx /home/as/.mplayer/config(12): option: vo /home/as/.mplayer/config(12): parameter: xv /home/as/.mplayer/config(15): option: fs /home/as/.mplayer/config(15): parameter: yes /home/as/.mplayer/config(17): option: vm /home/as/.mplayer/config(17): parameter: no /home/as/.mplayer/config(22): option: zoom /home/as/.mplayer/config(22): parameter: yes /home/as/.mplayer/config(26): option: osdlevel /home/as/.mplayer/config(26): parameter: 0 /home/as/.mplayer/config(28): option: framedrop /home/as/.mplayer/config(28): parameter: yes /home/as/.mplayer/config(43): option: sound /home/as/.mplayer/config(43): parameter: 1 /home/as/.mplayer/config(44): option: nosound /home/as/.mplayer/config(44): parameter: nein Reading /home/as/.mplayer/codecs.conf: 34 audio & 92 video codecs CommandLine:get_path('font/font.desc') -> '/home/as/.mplayer/font/font.desc' '-vo' 'x11' '-v' '/mnt/image2/mplayer_bugreport/iv32_example.avi' Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay Font /home/as/.mplayer/font/font.desc loaded successfully! (206 chars) Using Linux's hardware RTC timing (1024Hz) get_path('input.conf') -> '/home/as/.mplayer/input.conf' Can't open input config file /home/as/.mplayer/input.conf : No such file or directory Falling back on default (hardcoded) config Setting up lirc support... NEW LIRC init was successful. Playing /mnt/image2/mplayer_bugreport/iv32_example.avi Not an URL! File size is 704248 bytes Detected AVI file format! list_end=0x13C list_end=0xD4 ======= AVI Header ======= us/frame: 66666 (fps=15.000) max bytes/sec: 0 padding: 0 MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE frames total: 151 initial: 0 streams: 2 Suggested BufferSize: 0 Size: 176 x 144 ==> Found video stream: 0 found 'bih', 40 bytes of 40 ======= STREAM Header ======= Type: vids FCC: (0) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 150000/10000 = 15.000 Start: 0 Len: 151 Suggested BufferSize: 8267 Quality 0 Sample size: 0 list_end=0x13C ======= VIDEO Format ====== biSize 40 biWidth 176 biHeight 144 biPlanes 1 biBitCount 24 biCompression 842225225='IV32' biSizeImage 76032 =========================== ==> Found audio stream: 1 found 'wf', 20 bytes of 20 ======= STREAM Header ======= Type: auds FCC: (0) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 11025/1 = 11025.000 Start: 0 Len: 121264 Suggested BufferSize: 5512 Quality 0 Sample size: 1 Broken chunk? chunksize=1724 (id=JUNK) ======= WAVE Format ======= Format Tag: 1 (0x1) Channels: 1 Samplerate: 11025 avg byte/sec: 11025 Block align: 1 bits/sample: 8 cbSize: 0 list_end=0xAB420 Found movie at 0x80C - 0xAB420 Reading INDEX block, 173 chunks for 151 frames Broken chunk? chunksize=0 (id=idx1) Reading INDEX block, 173 chunks for 151 frames AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x1594) Auto-selected AVI audio ID = 1 Auto-selected AVI video ID = 0 AVI: Searching for audio stream (id:1) AVI video length=576772 VIDEO: [IV32] 176x144 24bpp 15.00 fps 458.4 kbps (56.0 kbyte/s) [V] filefmt:3 fourcc:0x32335649 size:176x144 fps:15.00 ftime:=0.0667 get_path('sub/') -> '/home/as/.mplayer/sub/' Detected audio codec: [pcm] drv:2 (Uncompressed PCM) Initializing audio codec... Selecting Audio Decoder: [pcm] Uncompressed PCM audio decoder dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer AUDIO: srate=11025 chans=1 bps=1 sfmt=0x8 ratio: 11025->11025 [x11] Create window for WM detect ... X11 opening display: :0.0 vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF) vo: X11 running at 1504x1125 with depth 24 and 32 bits/pixel (":0.0" => local display) [x11] Unknown wm type... ========================================================================== Opening Video Decoder: [vfw] Win32/VfW video codecs VDec: vo config request - 176 x 144, Packed YUY2 [PP] Using codec's postprocessing, max q = 9 vo_debug: query(BGR 24-bit) returned 0xC5 (i=0) vo_debug: query(BGR 15-bit) returned 0xC5 (i=1) Movie-Aspect is undefined - no prescaling applied. video_out->init(176x144->176x144,flags=13,'MPlayer',0x42475218) VO: [x11] 176x144 => 176x144 BGR 24-bit fs zoom flip VO: Description: X11 ( XImage/Shm ) VO: Author: Aaron Holtzman [x11] Gnome style stay on top ( layer 1 ). Sharing memory. SwScaler: using unscaled BGR 24-bit -> BGR 32-bit special converter ======= Win32 (VFW) VIDEO Codec init ======= ICDecompressGetFormat OK Loading DLL: 'ir32_32.dll' Loaded ir32_32.dll to address 0x10000000 ICDecompressGetFormatSize ret: 1064 Extra info in o_bih (1024 bytes)! ICDecompressQuery OK Starting decompression, format: biSize 40 biWidth 176 biHeight 144 biPlanes 1 biBitCount 24 biCompression 0x32335649 ('IV32') biSizeImage 76032 Dest fmt: biSize 40 biWidth 176 biHeight 144 biPlanes 1 biBitCount 24 biCompression 0x0 ('') biSizeImage 76032 VIDEO CODEC Init OK!!! ;-) INFO: Win32 video codec init OK! Detected video codec: [indeo3] drv:2 prio:0 (Intel Indeo 3.1/3.2) ========================================================================== AO: [oss] 11025Hz Mono Unsigned 8-bit AO: Description: OSS/ioctl audio output AO: Author: A'rpi Start playing... ao2: 11025 Hz 1 chans Unsigned 8-bit audio_setup: using '/dev/dsp' dsp device audio_setup: sample format: Unsigned 8-bit (requested: Unsigned 8-bit) audio_setup: using 1 channels (requested: 1) audio_setup: using 11025 Hz samplerate (requested: 11025) audio_setup: frags: 1024/1024 (64 bytes/frag) free: 65536 XXX initial v_pts=0.467 a_pos=11024 (1.000) *** [vo] Allocating mp_image_t, 176x144x24bpp RGB packed, 76032 bytes A: 0.0 V: 0.0 A-V: 0.017 ct: 0.000 1/ 1 0% 0% 0.0% 0 0 0% *** [vo] Allocating mp_image_t, 176x144x24bpp RGB packed, 76032 bytes A: 0.2 V: 0.1 A-V: 0.102 ct: 0.007 2/ 2 0% 0% 0.0% 0 0 0% A: 0.3 V: 0.1 A-V: 0.157 ct: 0.013 3/ 3 0% 0% 0.0% 0 0 0% 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. *** free_stream() called *** vo: uninit ... From GDB: (gdb) bt #0 0x10005a99 in ?? () Cannot access memory at address 0xffffffbe (gdb) disass $eip-32 $eip+32 Dump of assembler code from 0x10005a79 to 0x10005ab9: 0x10005a79: test %ch,%ch 0x10005a7b: mov %esi,0x18(%esp,1) 0x10005a7f: je 0x10005a95 0x10005a81: mov 0x10(%esp,1),%esi 0x10005a85: test %ecx,%ecx 0x10005a87: jge 0x10005a8f 0x10005a89: movb $0x0,(%eax,%esi,1) 0x10005a8d: jmp 0x10005a9c 0x10005a8f: movb $0xff,(%eax,%esi,1) 0x10005a93: jmp 0x10005a9c 0x10005a95: mov 0x10(%esp,1),%esi 0x10005a99: mov %cl,(%eax,%esi,1) 0x10005a9c: test %bh,%bh 0x10005a9e: je 0x10005ab0 0x10005aa0: test %ebx,%ebx 0x10005aa2: jge 0x10005aaa 0x10005aa4: movb $0x0,0x1(%eax) 0x10005aa8: jmp 0x10005ab3 0x10005aaa: movb $0xff,0x1(%eax) 0x10005aae: jmp 0x10005ab3 0x10005ab0: mov %bl,0x1(%eax) 0x10005ab3: cmpb $0x0,0x19(%esp,1) 0x10005ab8: je 0x10005ad7 End of assembler dump.