Lagarith is an open sourcelosslessvideo codec written by Ben Greenwood. It is a fork of the code of HuffYUV and offers better compression at the cost of greatly reduced speed on uniprocessor systems. Lagarith was designed and written with a few aims in mind:
while not as fast as HuffYUV, it still outperforms most other lossless video codecs when it comes to encoding times, although decoding speed may be slower. Recent versions also support parallelizing on multi-processor systems.
color-space conversions can cause rounding errors, introducing data loss, contrary to the ideal of lossless video compression. Lagarith attempts to avoid this problem by supporting YV12, YUY2, RGB, and RGBA colorspaces.