[MPlayer-users] Loss-less AVI

Alvin Beach alvinbeach at deepvision.ca
Fri Oct 17 03:31:39 CEST 2003


On Thursday 16 October 2003 20:47, Charles Philip Chan wrote:
> Have you tried "-ovc lavc -lavcopts vcodec=huffyuv"? It worked for me
> last time I tried it.
> 
> Charles

Sorry, I should have included the command line I was using:

First, I encoded the PNGs into a RAW AVI using:

# mencoder -mf on:w=640:h=480:fps=25:type=png -ovc rawrgb -o raw.avi \*.png

That produces an AVI that is 200+ MB (as expected). Then I tried to use the
Huffman YUV encoder on that AVI using the command line:

# mencoder raw.avi -ovc lavc -lavcopts vcodec=huffyuv -o huff.avi

This fails. Below is the output I get. Any help would be great.

Thanks,

ARB

# mencoder raw.avi -ovc lavc -lavcopts vcodec=huffyuv -o huff.avi
MEncoder 0.92-3.3  (C) 2000-2003 MPlayer Team

CPU: Intel Celeron 2/Pentium III Tualatin (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Reading /home/arb/.mplayer/codecs.conf: can't open '/home/arb/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
File not found: 'frameno.avi'
Reading config file /home/arb/.mplayer/mencoder: No such file or directory
success: format: 0  data: 0x0 - 0xCDABE04
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
AVI: No audio stream found -> no sound.
VIDEO:  []  640x480  24bpp  25.00 fps  184320.0 kbps (22500.0 kbyte/s)
[V] filefmt:3  fourcc:0x0  size:640x480  fps:25.00  ftime:=0.0400
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
VDec: using BGR 24-bit as output csp (no 0)
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
SwScaler: using unscaled BGR 24-bit -> Planar YV12 special converter
videocodec: libavcodec (640x480 fourcc=55594648 [HFYU])
YV12-huffyuv is experimental, there WILL be no compatbility! (use (v)strict=-1)
Could not open codec.
FATAL: Cannot initialize video driver.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
VDec: using BGR 24-bit as output csp (no 0)
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (640x480 fourcc=55594648 [HFYU])
YV12-huffyuv is experimental, there WILL be no compatbility! (use (v)strict=-1)
Could not open codec.
FATAL: Cannot initialize video driver.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: Packed YUY2)
VDec: using Packed YUY2 as output csp (no 0)
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (640x480 fourcc=55594648 [HFYU])
YV12-huffyuv is experimental, there WILL be no compatbility! (use (v)strict=-1)
Could not open codec.
FATAL: Cannot initialize video driver.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: Packed UYVY)
VDec: using Packed UYVY as output csp (no 0)
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (640x480 fourcc=55594648 [HFYU])
YV12-huffyuv is experimental, there WILL be no compatbility! (use (v)strict=-1)
Could not open codec.
FATAL: Cannot initialize video driver.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (640x480 fourcc=55594648 [HFYU])
YV12-huffyuv is experimental, there WILL be no compatbility! (use (v)strict=-1)
Could not open codec.
FATAL: Cannot initialize video driver.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: Planar I420)
VDec: using Planar I420 as output csp (no 0)
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (640x480 fourcc=55594648 [HFYU])
YV12-huffyuv is experimental, there WILL be no compatbility! (use (v)strict=-1)
Could not open codec.
FATAL: Cannot initialize video driver.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: Planar YVU9)
VDec: using Planar YVU9 as output csp (no 0)
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (640x480 fourcc=55594648 [HFYU])
YV12-huffyuv is experimental, there WILL be no compatbility! (use (v)strict=-1)
Could not open codec.
FATAL: Cannot initialize video driver.
VDecoder init failed :(
*** Try to upgrade /home/arb/.mplayer/codecs.conf from etc/codecs.conf
*** If it still does not work, read DOCS/codecs.html!
Cannot find codec matching selected -vo and video format 0x0.
==========================================================================
Exiting...



More information about the MPlayer-users mailing list