<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=Lagarith</id>
		<title>Lagarith - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=Lagarith"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Lagarith&amp;action=history"/>
		<updated>2026-05-20T04:24:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=Lagarith&amp;diff=46100&amp;oldid=prev</id>
		<title>Parchivist: Created page with &quot;{{FormatInfo |formattype=electronic |subcat=Video |released=2004 }}  '''Lagarith''' by Ben Greenwood is a lossless video codec that offers better compression than codecs like ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Lagarith&amp;diff=46100&amp;oldid=prev"/>
				<updated>2023-10-29T19:10:06Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{FormatInfo |formattype=electronic |subcat=Video |released=2004 }}  &amp;#039;&amp;#039;&amp;#039;Lagarith&amp;#039;&amp;#039;&amp;#039; by Ben Greenwood is a lossless video codec that offers better compression than codecs like ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Video&lt;br /&gt;
|released=2004&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''Lagarith''' by Ben Greenwood is a lossless video codec that 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 Lossless Video Codec|MSU]] and FFV1; however Lagarith tends to be faster than these codecs.&lt;br /&gt;
&lt;br /&gt;
[[FourCC]]: LAGS&lt;br /&gt;
&lt;br /&gt;
Lagarith is able to operate in several colorspaces - RGB24, RGB32, RGBA, YUY2, and YV12&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;Predict Median&amp;quot; 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [https://lags.leetcode.net/codec.html Homepage]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Lagarith Wikipedia]&lt;br /&gt;
* [http://mod16.org/hurfdurf/?p=142 The case against Lagarith]&lt;br /&gt;
* [https://www.afterdawn.com/glossary/term.cfm/lagarith Afterdawn info page]&lt;br /&gt;
* [https://wiki.multimedia.cx/index.php/Lagarith wiki.multimedia.cx]&lt;br /&gt;
* [http://samples.mplayerhq.hu/V-codecs/lagarith/ Sample files]&lt;/div&gt;</summary>
		<author><name>Parchivist</name></author>	</entry>

	</feed>