[MPlayer-users] Video clip (.avi) from camera works with windows media player but fails with mplayer
Jaime
re2824 at safe-mail.net
Fri Feb 11 05:00:32 CET 2005
On Thu, 2005-02-10 at 18:18 +0100, CrimeDog wrote:
> 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
>
CrimeDog,
I've tried that, but it still does not work :-( Could you please tell
me:
a) Which debian are you using: testing or unstable (sarge or sid)? I'm
using unstable (sid).
b) Have you changed any configuration files (such as /etc/mplayer/?) I
have not changed any of the configuration files.
c) What does your /etc/apt/sources.list look like? Here's mine:
deb http://ftp.uk.debian.org/debian/ unstable main contrib non-free
deb ftp://ftp.nerim.net/debian-marillat/ unstable main
Rieimar has suggested using CVS, but you are not using CVS (and the clip
is OK for you), so I do not think that this is necessary.
Here is the output from "mplayer -v -vc ffmjpeg -vo xv broken.avi":
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Stepping: 6)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for Debian.
77 audio & 188 video codecs
CommandLine: '-v' '-vc' 'ffmjpeg' '-vo' 'xv' 'broken.avi'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Permission denied (it should be readable by the
user.)
Using nanosleep() timing
get_path('input.conf') -> '/home/nonroot/.mplayer/input.conf'
Can't open input config file /home/nonroot/.mplayer/input.conf: No such
file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 59 binds
Can't init input joystick
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : Permission denied
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('broken.avi.conf') -> '/home/nonroot/.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:1040384
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
====== 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
====== 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/nonroot/.mplayer/sub/'
get_path('default.sub') -> '/home/nonroot/.mplayer/default.sub'
X11 opening display: :0.0
vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F)
vo: X11 running at 1400x1050 with depth 16 and 16 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] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
==========================================================================
Forced video codec: ffmjpeg
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[mjpeg @ 0x40287008]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: Unknown)
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
The selected video_out device is incompatible with this codec.
mp_image: Unknown out_fmt: 0x0
*** [vo] Exporting mp_image_t, 320x240x0bpp YUV packed, 0 bytes
FATAL: Could not initialize video filters (-vf) or video output (-vo).
uninit video: ffmpeg
vo: uninit ...
Exiting... (End of file)
Jaime
More information about the MPlayer-users
mailing list