Problem: This is a sample file I recorded with a Logitech Clicksmart 510 webcam in standalone mode. Windows plays it ok, mplayer does not. The problem is that the video is not shown (black window), audio is played ok. This problem only occurs with this codec. Shall I upload the windows dll that works well on Windows? But it is probably the same as the one that was used to create the mplayer driver (it has the same name). BTW, mplayer has played every possible avi for me in the last two years ;-) this is the first exception. I submitted this to the maillinglist: http://mplayerhq.hu/pipermail/mplayer-advusers/2002-November/000388.html {kvz063% szivan} /data2/ls/software/mplayer/cvs/main/mplayer -v sp5x_problem.avi Using GNU internationalization Original domain: messages Original dirname: /usr/share/locale Current domain: mplayer Current dirname: /usr/local/share/locale MPlayer CVS-021127-00:19-2.95.2 (C) 2000-2002 Arpad Gereoffy (see DOCS) CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE Reading /home/szivan/.mplayer/codecs.conf: 44 audio & 110 video codecs CommandLine: '-v' 'sp5x_problem.avi' get_path('font/font.desc') -> '/home/szivan/.mplayer/font/font.desc' Font /home/szivan/.mplayer/font/font.desc loaded successfully! (140 chars) Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay Failed to open /dev/rtc: No such device (mplayer should be setuid root or /dev/rtc should be readable by the user.) Using usleep() timing get_path('input.conf') -> '/home/szivan/.mplayer/input.conf' Parsing input config file /home/szivan/.mplayer/input.conf Input config file /home/szivan/.mplayer/input.conf parsed : 50 binds Setting up lirc support... mplayer: could not connect to socket mplayer: Connection refused Failed opening lirc support! You won't be able to use your remote control Playing sp5x_problem.avi Not an URL! File size is 49848 bytes Detected AVI file format! list_end=0x138 ======= AVI Header ======= us/frame: 102600 (fps=9.747) max bytes/sec: 393216 padding: 0 MainAVIHeader.dwFlags: (2064) HAS_INDEX TRUST_CKTYPE frames total: 10 initial: 0 streams: 2 Suggested BufferSize: 12288 Size: 320 x 240 list_end=0xD4 ==> Found video stream: 0 ======= STREAM Header ======= Type: vids FCC: SP54 (34355053) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 10000/1026 = 9.747 Start: 0 Len: 10 Suggested BufferSize: 12288 Quality 0 Sample size: 0 found 'bih', 40 bytes of 40 ======= VIDEO Format ====== biSize 40 biWidth 320 biHeight 240 biPlanes 1 biBitCount 12 biCompression 875909203='SP54' biSizeImage 115200 =========================== list_end=0x138 ==> Found audio stream: 1 ======= STREAM Header ======= Type: auds FCC: (0) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 8000/1 = 8000.000 Start: 0 Len: 8214 Suggested BufferSize: 8000 Quality 0 Sample size: 1 found 'wf', 16 bytes of 18 ======= WAVE Format ======= Format Tag: 1 (0x1) Channels: 1 Samplerate: 8000 avg byte/sec: 8000 Block align: 1 bits/sample: 8 cbSize: 0 Broken chunk? chunksize=158 (id=JUNK) list_end=0xC200 Found movie at 0x1EA - 0xC200 Reading INDEX block, 11 chunks for 10 frames (fpos=0xc208) AVI index offset: 0x0 (movi=0x1EA idx0=0x1EA idx1=0x11EA) Auto-selected AVI video ID = 0 Auto-selected AVI audio ID = 1 AVI: Searching for audio stream (id:1) XXX initial v_pts=0.923 a_pos=0 (0.000) AVI video length=40880 VIDEO: [SP54] 320x240 12bpp 9.75 fps 318.8 kbps (38.9 kbyte/s) [V] filefmt:3 fourcc:0x34355053 size:320x240 fps: 9.75 ftime:=0.1026 get_path('sub/') -> '/home/szivan/.mplayer/sub/' SUB: Detected sub file: sp5x_problem.txt SUB: Could not determine file format ========================================================================== Opening audio decoder: [pcm] Uncompressed PCM audio decoder dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer AUDIO: 8000 Hz, 1 ch, 8 bit (0x8), ratio: 8000->8000 (64.0 kbit) Selected audio codec: [pcm] afm:pcm (Uncompressed PCM) ========================================================================== open: No such device vo_mga: Couldn't open /dev/mga_vid X11 opening display: :0.0 vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF) vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display) ========================================================================== Opening video decoder: [vfw] Win32/VfW video codecs ======= Win32 (VFW) VIDEO Codec init ======= Loading codec DLL: 'sp5x_32.dll' Loaded DLL driver sp5x_32.dll ICDecompressGetFormatSize ret: 40 ICDecompressGetFormat OK VDec: vo config request - 320 x 240 (preferred csp: Packed YUY2) [PP] Using codec's postprocessing, max q = 9 VDec: using BGR 24-bit as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO Config (320x240->320x240,flags=0,'MPlayer',0x42475218) VO: [xv] 320x240 => 320x240 BGR 24-bit VO: Description: X11/Xv VO: Author: Gerd Knorr and others Xvideo image format: 0x32595559 (YUY2) packed Xvideo image format: 0x32315659 (YV12) planar Xvideo image format: 0x30323449 (I420) planar Xvideo image format: 0x59565955 (UYVY) packed using Xvideo port 42 for hw scaling [xv] dx: 0 dy: 0 dw: 320 dh: 256 ICDecompressQuery failed: Error -2 ICDecompressBegin failed: Error -2 Input format: ======= VIDEO Format ====== biSize 40 biWidth 320 biHeight 240 biPlanes 1 biBitCount 12 biCompression 875909203='SP54' biSizeImage 115200 =========================== Output format: ======= VIDEO Format ====== biSize 40 biWidth 320 biHeight -240 biPlanes 1 biBitCount 24 biCompression 0='' biSizeImage 230400 =========================== INFO: Win32 video codec init OK! Selected video codec: [sp5x] vfm:vfw (SP5x codec - used by Aiptek MegaCam) ========================================================================== ao2: 8000 Hz 2 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 2 channels (requested: 2) audio_setup: using 8000 Hz samplerate (requested: 8000) audio_setup: frags: 8/8 (8192 bytes/frag) free: 65536 AO: [oss] 8000Hz 1ch Unsigned 8-bit AO: Description: OSS/ioctl audio output AO: Author: A'rpi Building audio filter chain for 8000Hz/1ch/8bit -> 8000Hz/2ch/8bit... Adding filter dummy [dummy] Was reinitialized, rate=8000Hz, nch = 1, format = 0x00000003 and bps = 1 Adding filter channels [channels] Changing number of channels to 2 [dummy] Was reinitialized, rate=8000Hz, nch = 1, format = 0x00000003 and bps = 1 Start playing... ds_fill_buffer: EOF reached (stream: audio) ds_fill_buffer: EOF reached (stream: audio) Reallocating memory in module channels, old len = 0, new len = 16429 *** [vo] Allocating mp_image_t, 320x240x24bpp BGR packed, 230400 bytes Error decompressing frame, err=-2 [xv] dx: 0 dy: 0 dw: 320 dh: 240 Error decompressing frame, err=-2 0.000 1/ 1 0% 0% 0.0% 0 0 0% Error decompressing frame, err=-2 0.001 2/ 2 0% 0% 0.0% 0 0 0% Error decompressing frame, err=-2 0.001 3/ 3 0% 0% 0.0% 0 0 0% Error decompressing frame, err=-2 0.002 4/ 4 0% 0% 0.0% 0 0 0% Error decompressing frame, err=-2 0.003 5/ 5 0% 0% 0.0% 0 0 0% Error decompressing frame, err=-2 0.003 6/ 6 0% 0% 0.0% 0 0 0% Error decompressing frame, err=-2 0.004 7/ 7 0% 0% 0.0% 0 0 0% Error decompressing frame, err=-2 0.005 8/ 8 0% 0% 0.0% 0 0 0% Error decompressing frame, err=-2 0.006 9/ 9 0% 0% 0.0% 0 0 0% ds_fill_buffer: EOF reached (stream: video) / 10 0% 0% 0.0% 0 0 0% EOF code: 1 0.9 A-V: 0.005 ct: 0.007 10/ 10 0% 0% 0.0% 0 0 0% Uninit audio filters... uninit audio: pcm uninit video: vfw ICDecompressEnd failed: -100 DEMUXER: freeing demuxer at 0x822eab8 vo: uninit ... Exiting... (End of file) {kvz063% szivan} uname -a Linux kvz063 2.4.9 #3 Thu Sep 20 13:48:48 GMT 2001 i686 unknown {kvz063% szivan} X -version XFree86 Version 4.0.2 / X Window System (protocol Version 11, revision 0, vendor release 6400) Release Date: 18 December 2000 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/FAQ) Operating System: SuSE Linux [ELF] SuSE Module Loader present {kvz063% szivan} ls -l /lib/libc[.-]* -rwxr-xr-x 1 root root 1382179 Jan 19 2001 /lib/libc.so.6 {kvz063% szivan} gcc -v Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs gcc version 2.95.2 19991024 (release) {kvz063% szivan} ld -v GNU ld version 2.10.91 (with BFD 2.10.0.33) {kvz063% szivan} as --version GNU assembler 2.10.91 Copyright 2000 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. This assembler was configured for a target of `i486-suse-linux'. {kvz063% szivan} cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(tm) XP 2000+ stepping : 2 cpu MHz : 1659.627 cache size : 256 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 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow bogomips : 3316.12 bash-2.04# lspci -v 00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device 0735 (rev 01) Flags: bus master, medium devsel, latency 32 Memory at d0000000 (32-bit, non-prefetchable) [size=64M] Capabilities: [c0] AGP version 2.0 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 64 Bus: primary=00, secondary=01, subordinate=01, sec-latency=64 Memory behind bridge: cee00000-cfefffff Prefetchable memory behind bridge: cac00000-cecfffff 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 Flags: bus master, medium devsel, latency 0 00:02.2 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07) (prog-if 10 [OHCI]) Subsystem: Elitegroup Computer Systems: Unknown device 0a14 Flags: bus master, medium devsel, latency 64, IRQ 11 Memory at cfffe000 (32-bit, non-prefetchable) [size=4K] 00:02.3 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07) (prog-if 10 [OHCI]) Subsystem: Elitegroup Computer Systems: Unknown device 0a14 Flags: bus master, medium devsel, latency 64, IRQ 11 Memory at cffff000 (32-bit, non-prefetchable) [size=4K] 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) (prog-if 80 [Master]) Subsystem: Silicon Integrated Systems [SiS] SiS5513 EIDE Controller (A,B step) Flags: bus master, fast devsel, latency 128 I/O ports at ff00 [size=16] 00:09.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02) Subsystem: Ensoniq Creative Sound Blaster AudioPCI128 Flags: bus master, slow devsel, latency 64, IRQ 5 I/O ports at dc00 [size=64] Capabilities: [dc] Power Management version 1 00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10) Subsystem: Realtek Semiconductor Co., Ltd. RT8139 Flags: bus master, medium devsel, latency 64, IRQ 11 I/O ports at d800 [size=256] Memory at cfffdf00 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2 01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 04) (prog-if 00 [VGA]) Subsystem: Matrox Graphics, Inc. Marvel G400 AGP Flags: bus master, medium devsel, latency 64, IRQ 5 Memory at cc000000 (32-bit, prefetchable) [size=32M] Memory at cfefc000 (32-bit, non-prefetchable) [size=16K] Memory at cf000000 (32-bit, non-prefetchable) [size=8M] Expansion ROM at cfee0000 [disabled] [size=64K] Capabilities: [dc] Power Management version 2 Capabilities: [f0] AGP version 2.0