Huffyuv
Template:Short description {{#invoke:Infobox|infobox}}Template:Template other{{#invoke:Check for unknown parameters | check | showblankpositional=1 | unknown = Template:Main other | preview = Page using Template:Infobox software with unknown parameter "_VALUE_"|ignoreblank=y | AsOf | author | background | bodystyle | caption | collapsetext | collapsible | developer | discontinued | engine | engines | genre | included with | language | language count | language footnote | latest preview date | latest preview version | latest release date | latest release version | latest_preview_date | latest_preview_version | latest_release_date | latest_release_version | licence | license | logo | logo alt | logo caption | logo upright | logo size | logo title | logo_alt | logo_caption | logo_upright | logo_size | logo_title | middleware | module | name | operating system | operating_system | other_names | platform | programming language | programming_language | released | replaced_by | replaces | repo | screenshot | screenshot alt | screenshot upright | screenshot size | screenshot title | screenshot_alt | screenshot_upright | screenshot_size | screenshot_title | service_name | size | standard | title | ver layout | website | qid }}Template:Main other Huffyuv (or HuffYUV) is a lossless video codec created by Ben Rudiak-Gould which is meant to replace uncompressed YCbCr as a video capture format. The codec can also compress in the RGB color space.
"Lossless" means that the output from the decompressor is bit-for-bit identical with the original input to the compressor. Lossless only occurs when the compression color space matches the input and output color space. When the color spaces do not match, a low loss compression is performed.
Huffyuv's algorithm is similar to that of lossless JPEG, in that it predicts each sample and then Huffman-encodes the error. The predictor is intraframe-only.
ImplementationsEdit
The original implementation was written for Windows by Ben Rudiak-Gould and published under the terms of the GPL. The Huffyuv 1.1 was released in 2000.<ref>Ben Rudiak-Gould Google Groups - rec.video.desktop, Retrieved on 2009-08-11</ref> The implementation is considered very fast, giving a compression throughput of up to 38 megabytes per second on a 416 MHz Celeron. The official Huffyuv has not had a new release since 2002.
Huffyuv 2.1.1 with CCESP patch 0.2.5 was released to address problems particularly for compatibility with Cinema Craft Encoder.<ref>Huffyuv 0.2.5 patch, Retrieved on 2009-08-20</ref>
Huffyuv 2.2 is available on some alternative sites,<ref>Huffyuv 2.2.0, Retrieved on 2009-08-20</ref> but is reported to have problems on some computer systems.<ref>Huffyuv 2.2 Crashes Xp, Retrieved on 2009-08-20 Template:Webarchive</ref>
Huffyuv MT is a multi-threaded version that uses a different FourCC.
There is a currently developed fork of the code named Lagarith which offers better compression at the cost of greatly reduced speed on uniprocessor systems.<ref>Lagarith Lossless Video Codec. Retrieved 2009-01-28</ref><ref>the case against Lagarith. Retrieved 2013-06-26</ref>
The FFmpeg project also contains an implementation of HuffYUV which allows HuffYUV files to be created & played on Linux and Mac OS X. Additionally, this means that many of the applications which use FFmpeg as a base can also play/create HuffYUV files, including VLC media player, MPlayer and ffdshow. FFmpeg also has its own FFmpeg-specific (incompatible with the original) version of HuffYUV which supports a wider variety of colorspaces, including chroma-quartered and high bit depth color spaces up to 48bpp.
See alsoEdit
- Huffman coding
- Adaptive Huffman coding
- PPM compression algorithm
- YCbCr color space
- Lagarith Lossless Video Codec
- MSU Lossless Video Codec
- List of lossless codecs
ReferencesEdit
External linksEdit
Template:Compression formats Template:Compression Software Implementations