[Mplayer-advusers] SP54 playback problem

Ivan Szanto szivan at duticai.TWI.TUDelft.NL
Wed Nov 27 01:01:20 CET 2002


Hi,


I can't play the files I recorded with a Logitech Clicksmart 510
webcam in standalone mode. This problem seems to be codec-specific.
I can play back the files under Windows but not with mplayer.
I've been using mplayer for nearly two years now, and it always
worked for me, so I beleive the problem is really codec-related.

What should I do?

I uploaded a sample to the sample directory (sp5x_problem.avi), and here
follows mplayer -v output. I am uploading the rest of the details in a
.txt file now (sp5x_problem.txt).

greetings,

Ivan

{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 <kraxel at goldbach.in-berlin.de> 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)







More information about the MPlayer-advusers mailing list