[MPlayer-users] lossless codecs make bigger files than raw DV ?!

Louis-David Mitterrand vindex at apartia.org
Tue Feb 3 17:22:10 CET 2004


I am trying to encode DV (from dvgrab) capture files to a lossless
video/audio format for storage. What is the best format?

I have tried to encode to huffyuv but the resulting file is MUCH larger
than the source file:

mencoder -oac lavc -ovc lavc -lavcopts vcodec=huffyuv:format=422P:acodec=mp3 file.dv2 -o file.huffyuv

file.dv2 is 1.4G and file.huffyuv is around 3.8G. How come?

I've also tried with vcodec=ffv1 but the size is around 3G.

Here is the mencoder output:


	CPU: Intel Pentium 4/Xeon/Celeron Northwood 2393 MHz (Family: 8, Stepping: 7)
	Detected cache-line size is 64 bytes
	MMX2 supported but disabled
	SSE2 supported but disabled
	CPUflags: Type: 8 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
	Compiled for x86 CPU with extensions: MMX SSE

	Reading /home/ldm/.mplayer/mencoder_codecs.conf: Can't open '/home/ldm/.mplayer/mencoder_codecs.conf': No such file or directory
	Reading /etc/mplayer/mencoder_codecs.conf: 61 audio & 169 video codecs
	File not found: 'frameno.avi'
	Failed to open frameno.avi
	Reading config file /home/ldm/.mplayer/mencoder: No such file or directory
	font: can't open file: /home/ldm/.mplayer/font/font.desc
	Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
	success: format: 0  data: 0x0 - 0x56753700
	AVI file format detected.
	VIDEO:  [dvsd]  720x576  24bpp  25.000 fps  28800.0 kbps (3515.6 kbyte/s)
	[V] filefmt:3  fourcc:0x64737664  size:720x576  fps:25.00  ftime:=0.0400
	==========================================================================
	Opening audio decoder: [pcm] Uncompressed PCM audio decoder
	AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 192000->192000 (1536.0 kbit)
	Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
	==========================================================================
	Opening video filter: [expand osd=1]
	Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
	==========================================================================
	Opening video decoder: [dshow] DirectShow video codecs
	Decoder supports the following YUV formats: YUY2 UYVY 
	Decoder is capable of YUV output (flags 0x9)
	VDec: vo config request - 720 x 576 (preferred csp: Packed YUY2)
	[PP] Using codec's postprocessing, max q = 4.
	Could not find matching colorspace - retrying with -vf scale...
	Opening video filter: [scale]
	VDec: using Packed YUY2 as output csp (no 0)
	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 1 -> 1

	SwScaler: BICUBIC scaler, from Packed YUY2 to Planar 422P using MMX
	videocodec: libavcodec (720x576 fourcc=55594648 [HFYU])
	Selected video codec: [qdv] vfm:dshow (Sony Digital Video (DV))
	==========================================================================
	Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
	Writing AVI header...
	Pos:  15.9s    398f ( 4%)  28fps Trem:   5min 3996mb  A-V:0.064 [90297:224]


-- 
I route therefore you are.




More information about the MPlayer-users mailing list