The trade-off for this improved compression is speed. On a single processor system, Lagarith is significantly slower than Huffyuv on typical video. For me, Lagarith tends to encode at about half the speed Huffyuv does. Additionally, the decode speed is slower than the encode speed; this is due to the nature of Arithmetic compression and the prediction algorithm. Fortunately, for the situations where the codec offers the most advantages over Huffyuv, the speed difference between the two tends to decrease, and Lagarith can be much faster for simple video. For multiple processor systems, Lagarith 1.3.0 can take advantage of additional processors; while Huffyuv cannot. On such systems Lagarith may be faster than Huffyuv.
This codec was build using the Huffyuv source as a template, and uses some Huffyuv code, most notably the routine to upsample YUY2 video to RGB. The function for upsampling YV12 to YUY2 was taken from AviSynth.
- Taken from the Lagarith homepage.
As far as looking better, I can't explain why it does, but...it does. Using similar settings for each codec, I get a lot aliasing on straight lines when using HuffYUV, especially noticable on the 20th century FOX logo. With Lagarith and the same settings, I don't get that, and I get a smaller file to boot.