View Full Version : Archiving raw avi video (Lagarith/Huffyuv)

2nd October 2006, 10:02

I have a 42GB uncompressed raw avi that I would like to archive/save. WinRAR takes it down to about 14GB, but I wanted to know; would Lagarith or Huffyuv would make is smaller? I've tried testing Lagarith, but the encoded video comes out distorted and I've tested all settings (the raw video itself is 636x444/RGB24).

As for Huffyuv, I haven't tested it as i'm unsure about the field threshold. I think video has a line set of around the mid 500s, but it only allows for 240, 288, 480, and 576. Or does that mean if the video is say 640x480?

Any clarification would be helpful.


2nd October 2006, 17:08
Heh?! Field threshold?! What are you talking about?!
You put your video in VirtualDub, select Huffyuv compression, preferably with conversion to YUY2 enabled to achieve higher compression rates, and that's it.
You don't have to worry about anything else.

2nd October 2006, 19:23
Ditto :)

There's lots of great lossless codecs, IIRC Lagarith has the best compresson ratio, but is very slow..

ffv1, x264 lossless, huffyuv, MSU lossless, Apple Quicktime Animation (if you are enamored of rodents) etc... are all good options

Not sure what you're talking about regarding a field threshold.

All that really matters is the colorspace and resolution of your video. It's RGB24 which is fine. The resolution isn't mod16, but thay may not be a problem... I usually crop to mod16 just to be safe. The closest mod16 res (without resampling) would be 624x432, or you could add black borders to make it a clean 640x480.

Is the video interlaced? Not sure if lagarith does interlaced. I THINK huffyuv does. I'm no pro with interlaced video though... What's the source?

2nd October 2006, 19:43
Maybe that is why Lagarith comes out distorted as it isn't mod16. (no, not interlaced)

As for Huffyuv's field threshold, below is what shows up in VirtualDub. (I'm not sure what to use for the field threshold, it has 240, 288, 480, and 576)


3rd October 2006, 01:40
Field Threshold is used for triggering progressive or field based compression.
From the Huffyuv v.2.2.0 html file:

" If you're processing NTSC video, you should set it to 240, so that
material with more than 240 lines will use interlaced compression.
For PAL the original value of 288 is right.

If you are doing progressive material, setting it to 480 or 576 lines
will compress even video at this resolution progressive. This should
result in better compression.

If you set this option correctly you will get properly separated
fields when using "Reduce Resolution", if not, your fields will be
blended, or you will have lower quality. "

11th October 2006, 00:58
Version 1.3.10 released on 10-04-2006