Lagarith

Lagarith
Developer(s)Ben Greenwood
Initial releaseOctober 4, 2004; 20 years ago (2004-10-04)
Stable release
1.3.27 / 8 December 2011; 12 years ago (8 December 2011)
Written inC++, ASM
Operating systemWindows 2000 and later
PredecessorHuffyuv
Typelossless video codec
LicenseGNU GPLv3
Websitelags.leetcode.net/codec.html Edit this on Wikidata

Lagarith is an open source lossless video codec written by Ben Greenwood.[1] It is a fork of the code of HuffYUV and offers better compression at the cost of greatly reduced speed on uniprocessor systems.[2][3] Lagarith was designed and written with a few aims in mind:

Speed
While not as fast as HuffYUV, it still outperforms most other lossless video codecs when it comes to encoding times,[4][5] although decoding speed may be slower. Recent versions also support parallelizing on multi-processor systems.
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 easier.

These three things, as well as being more efficient at compression than HuffYUV, make it a codec useful for the video editing stage.


References

  1. ^ Biebeler, Ralf (2007). Video-Codecs. Schiele & Schön. p. 60. ISBN 978-3-7949-0773-1.
  2. ^ Lagarith Lossless Video Codec. Retrieved 2009-01-28
  3. ^ the case against Lagarith. Retrieved 2013-06-26
  4. ^ "Lossless Video Codecs Comparison 2007".
  5. ^ S, Joshi (18 July 2008). "Design and Performance Evaluation of some Conditional Replenishment Schemes for Video".