[MEncoder-users] Finding the format used in a given avi

James Sherman Jr. shermanj at umd.edu
Thu Feb 14 03:08:55 CET 2008


Hello,

I've tried several searches, but can't seem to find a solution to my
problem.  I need to convert some avi files that I've been given into a
format that be read by this program Matlab on my machine, which is
Linux.  It appears that Matlab is very particular about the format
that it considers "raw".  So, I figured that by generating an example
avi from Matlab, I would be able to reverse engineer the format it
wants by using mplayer.  I have so far been unsuccessful.  Below, I've
copied the output of mplayer when playing test.avi, an avi generated
by Matlab.  What I'm trying to find is the mencoder options to take
some other avi, and convert it to the same format as test.avi.  If
anyone is interested, the test.avi file can be found here:
http://www.cfar.umd.edu/~shermanj/test.avi

Any help is very much appreciated.  Thank you.

James Sherman

$MPlayer-1.0rc2 > ./mplayer ../test.avi
MPlayer 1.0rc2-3.2.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (Family: 15, Model: 4, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing ../test.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
AVI: No audio stream found -> no sound.
VIDEO:  []  640x480  24bpp  15.000 fps  110592.0 kbps (13500.0 kbyte/s)
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: BGR 24-bit)
VDec: using BGR 24-bit as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 640x480 => 640x480 BGR 24-bit  [flip]
[swscaler @ 0x8785858]SwScaler: using unscaled bgr24 -> rgb32 special converter
Selected video codec: [rawbgr24flip] vfm: raw (RAW BGR24)
==========================================================================
Audio: no sound
Starting playback...
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
V:   0.6  10/ 10  0%  5%  0.0% 0 0

Exiting... (End of file)



More information about the MEncoder-users mailing list