HuffYUV

from Wikipedia, the free encyclopedia
HuffYUV
Basic data

developer Ben Rudiak-Gould
Current  version 2.1.1
operating system Win32
programming language C ++
category free video codec
License GPL
www.math.berkeley.edu/~benrg/huffyuv.html

HuffYUV is a format for losslessly compressed video data with very low complexity and was developed by Ben Rudiak-Gould . Its reference codec is available under the terms of the free GNU General Public License for Windows operating systems.

Each sample is predicted and the residual signal is encoded with the Huffman code .

Lossless means that the decoded HuffYUV video again corresponds bit-exactly to the input material. HuffYUV is intended to replace uncompressed YUV . In addition to the compression of YUV data, lossless compression of RGB data and the conversion of RGB data to YUY2 data are also supported. This color space conversion performs both a lossy compression of the data (chrominance signals are horizontally undersampled by a factor of 2) and a lossy color space conversion (since not all RGB color triples can be represented uniquely as YUV color triples ). In addition to rounding errors, the YUV color space is too small for this. However, when recompressing from YUV to YUV, which may be required in further processing steps, no more data is lost, as happens with MPEG , for example . The associated limitation of the color space can only be seen at very critical points, for example extremely soft color gradients start to fray.

HuffYUV is the fastest lossless video codec for Windows.

Other lossless formats such as the HuffYUV-Fork Lagarith (free software), FFV1 (free software) and MSU Lossless Video Codec offer better compression but are slower.

HuffYUV uses the FourCC code hfyu.

ffvhuff

The free codec library libavcodec contains a codec that can generate an improved variant of the HuffYUV format, which is called "ffvhuff" for easier differentiation (FourCC:) FFVH. The improvements include support for the YV12 color space (the original HuffYUV codec was limited to YUY2 and RGB) and improved compression efficiency through the use of adaptive Huffman tables. The libavcodec library is backwards compatible with the reference codec, but the latter is not compatible with the ffvhuff format. The ffvhuff codec is available under Windows for example via the VfW interface of ffdshow and can therefore be used in VirtualDub [Mod] and similar.

Web links

Individual evidence

  1. Archive link ( Memento of the original from August 22, 2016 in the Internet Archive ) Info: The archive link was inserted automatically and has not yet been checked. Please check the original and archive link according to the instructions and then remove this notice.  @1@ 2Template: Webachiv / IABot / osdir.com