Lossless video - Lagarith lossless codec
Lossless audio today comes to our usual life instead of mp3. But what about video?
Lagarith lossless codec - is a lossless video codec intended for video editing and archiving. Lagarith offers better compression than codecs like Huffyuv, Alparysoft, and CorePNG. There are a few lossless codecs that can compress better than Lagarith, such as MSU and FFV1; however Lagarith tends to be much faster than these codecs (For DVD video the compression is typically only 10-30% better than Huffyuv, but for high static scenes or highly compressible scenes, Lagarith significantly outperforms Huffyuv).
It is also suitable for video capture on high-end systems. It is capable of handling RGB24, RGB32, RGBA, YUY2, and YV12 input video. To facilitate editing, Lagarith currently only supports keyframes, and optional null frames. Other features that make it suitable for video editing include a simple configuration interface, a good compression to speed ratio, full backwards compatibility with earlier versions of the codec, and a reduced resolution mode that is useful for 'bait-and-switch' editing.
Lagarith is able to outperform Huffyuv due to the fact that it uses a much better compression method. Pixel values are first predicted using median prediction (the same method used when "Predict Median" is selected in Huffyuv). This results in a much more compressible data stream. In Huffyuv, this byte stream would then be compress using Huffman compression. In Lagarith, the byte stream may be subjected to a modified Run Length Encoding if it will result in better compression. The resulting byte stream from that is then compressed using Arithmetic compression, which, unlike Huffman compression, can average fractional bits per symbol. This allows the compressed size to be very close to the entropy of the data, and is why Lagarith can compress simple frames much better than Huffyuv, and avoid expanding high static video. Additionally, Lagarith has support for null frames; if the previous frame is mathematically identical to the current, the current frame is discarded and the decoder will simply use the previous frame again.
Lagarith lossless codec have good compression results, supports multithreading and 64-bit systems (64-bit version is significantly faster than the 32-bit version on a 64-bit AMD processor)
Lagarith data is typically transported in AVI files and is released under the GPL.
You can download installer, codec, source code at offsite: http://lags.leetcode.net/codec.html