[MPlayer-users] Video clip (.avi) from camera works with windows media player but fails with mplayer

CrimeDog crimedog at wp.pl
Thu Feb 10 18:18:32 CET 2005


Dnia 10-02-2005, czw o godzinie 16:55 +0000, Jaime napisał(a):
> Hi all.
> 
> I have a new camera (Concorde Eye-q 1300 Dual) which takes video clips
> and produces avi files. I can view them under Windows Media Player, but
> mplayer produces the following error:

(ciap)

I can play it perfectly. I have mplayer installed from DEB provided by:
http://hpisi.nerim.net/  by Christian Marillat

Try to use this command:
mplayer -vc ffmjpeg -vo xv broken.avi

or use x11 instead of xv.

//------------------------------------------------
My output:
//------------------------------------------------
//------------------------------------------------
zorg at debian:~$ mplayer -identify broken.avi
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX


77 audio & 188 video codecs
Linux RTC init error in ioctl (rtc_irqp_set 1024): Zły argument
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : Brak dostępu
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Połączenie odrzucone
Failed to open LIRC support.
You will not be able to use your remote control.
Playing broken.avi.
AVI file format detected.
ID_VIDEO_ID=0
ID_AUDIO_ID=1
AVI_NI: No audio stream found -> no sound.
AVI: No audio stream found -> no sound.
VIDEO:  [MJPG]  320x240  24bpp  15,222 fps  1255,3 kbps (153,2 kbyte/s)
ID_FILENAME=broken.avi
ID_VIDEO_FORMAT=MJPG
ID_VIDEO_BITRATE=1255280
ID_VIDEO_WIDTH=320
ID_VIDEO_HEIGHT=240
ID_VIDEO_FPS=15,222
ID_VIDEO_ASPECT=0,0000
ID_LENGTH=9
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[mjpeg @ 0x4026d008]mjpeg: using external huffman table
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 320 x 240 (preferred csp: Planar 422P)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar 422P as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8

SwScaler: BICUBIC scaler, from Planar 422P to Planar YV12 using MMX
VO: [xv] 320x240 => 320x240 Planar YV12
V:   1,4  23/ 23  4%  1%  0,0% 0 0 0%
Exiting... (Quit)
zorg at debian:~$
//------------------------------------------------
//------------------------------------------------

and verbose mode:
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX



77 audio & 188 video codecs
CommandLine: '-v' '-identify' 'broken.avi'
init_freetype
get_path('font/font.desc') -> '/home/zorg/.mplayer/font/font.desc'
font: can't open file: /home/zorg/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (233 chars)
Using MMX Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Zły argument
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using nanosleep() timing
get_path('input.conf') -> '/home/zorg/.mplayer/input.conf'
Can't open input config file /home/zorg/.mplayer/input.conf: Nie ma takiego pliku ani katalogu
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 59 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : Brak dostępu
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Połączenie odrzucone
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('broken.avi.conf') -> '/home/zorg/.mplayer/broken.avi.conf'
Playing broken.avi.
[file] File size is 1488238 bytes
STREAM: [file] broken.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:32768
Cache fill:  3,12% (32768 bytes)    AVI file format detected.
list_end=0x19E
======= AVI Header =======
us/frame: 65847  (fps=15,187)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (65552) HAS_INDEX WAS_CAPTUREFILE
frames  total: 144   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  320 x 240
==========================
list_end=0x138
==> Found video stream: 0
ID_VIDEO_ID=0
====== STREAM Header =====
Type: vids   FCC: MJPG (47504A4D)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 137/9 = 15,222
Start: 0   Len: 144
Suggested BufferSize: 0
Quality 0
Sample size: 0
==========================
found 'bih', 68 bytes of 40
======= VIDEO Format ======
  biSize 68
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 1196444237='MJPG'
  biSizeImage 0
Unknown extra header dump: [2c] [0] [0] [0] [18] [0] [0] [0] [0] [0] [0] [0] [2] [0] [0] [0] [8] [0] [0] [0] [2] [0] [0] [0] [1] [0] [0] [0]
===========================
list_end=0x19E
==> Found audio stream: 1
ID_AUDIO_ID=1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 8000/1 = 8000,000
Start: 0   Len: 0
Suggested BufferSize: 0
Quality 0
Sample size: 1
==========================
found 'wf', 18 bytes of 18
======= WAVE Format =======
Format Tag: 7 (0x7)
Channels: 1
Samplerate: 8000
avg byte/sec: 8000
Block align: 1
bits/sample: 8
cbSize: 0
===========================
list_end=0x16AC66
Found movie at 0x1AA - 0x16AC66
Reading INDEX block, 144 chunks for 144 frames (fpos=0x16ac6e)
AVI index offset: 0x1A6 (movi=0x1AA idx0=0x4 idx1=0x4A88)
Auto-selected AVI video ID = 0
AVI_NI: No audio stream found -> no sound.
AVI: Searching for audio stream (id:-1)
ds_fill_buffer: EOF reached (stream: audio)
AVI: No audio stream found -> no sound.
AVI video size=1484348 (144) audio size=0 (0)
VIDEO:  [MJPG]  320x240  24bpp  15,222 fps  1255,3 kbps (153,2 kbyte/s)
[V] filefmt:3  fourcc:0x47504A4D  size:320x240  fps:15,22  ftime:=0,0657
get_path('sub/') -> '/home/zorg/.mplayer/sub/'
get_path('default.sub') -> '/home/zorg/.mplayer/default.sub'
ID_FILENAME=broken.avi
ID_VIDEO_FORMAT=MJPG
ID_VIDEO_BITRATE=1255280
ID_VIDEO_WIDTH=320
ID_VIDEO_HEIGHT=240
ID_VIDEO_FPS=15,222
ID_VIDEO_ASPECT=0,0000
ID_LENGTH=9
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 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[mjpeg @ 0x4026d008]mjpeg: using external huffman table
INFO: libavcodec init OK!
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
[ffmpeg] aspect_ratio: 0,000000
VDec: vo config request - 320 x 240 (preferred csp: Planar 422P)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using Planar 422P as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
VO Config (320x240->320x240,flags=0,'MPlayer',0x50323234)
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8

SwScaler: BICUBIC scaler, from Planar 422P to Planar YV12 using MMX
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using 1-tap MMX "scaler" for vertical scaling (YV12 like)
SwScaler: 320x240 -> 320x240
REQ: flags=0x437  req=0x0
VO: [xv] 320x240 => 320x240 Planar YV12
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: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 146 for hw scaling
[xv] dx: 0 dy: 0 dw: 320 dh: 240
*** [scale] Allocating mp_image_t, 320x240x16bpp YUV planar, 153600 bytes
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
[xv] dx: 0 dy: 0 dw: 320 dh: 240
*** [scale] Allocating mp_image_t, 320x240x16bpp YUV planar, 153600 bytes
uninit video: ffmpeg  1%  0,0% 0 0 0%
Successfully enabled DPMS
vo: uninit ...

Exiting... (Quit)




good luck!

-- 
With kindest regards:
Konrad Materka




More information about the MPlayer-users mailing list