Lagarith is an open source lossless video codec written by Ben
Greenwood. It was designed and written with a few aims in mind:
Speed; while not as fast as Huffyuv, encoding speed is comparable to
many other lossless video codecs, although decoding speed may be
slower. Recent versions also support parallelizing on multi-processor
Color-space support; 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.
Keyframes; disallowing inter-prediction means that each frame can be
separately decoded. This makes cutting, joining and seeking much
These three things, as well as being more efficient at compression
than Huffyuv make it a codec useful for the video editing stage.