Codec

From Citizendium
Revision as of 05:17, 8 November 2007 by imported>JeromeDelacroix (New page: Codec stands for "Compression - Decompression". Most of the time, it refers to an algorithm, but sometimes the term is used to describe a device that perform these two tasks. The purpose ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Codec stands for "Compression - Decompression". Most of the time, it refers to an algorithm, but sometimes the term is used to describe a device that perform these two tasks.

The purpose of a codec is to reduce the quantity of data needed to transmit a digital signal. It can be used for images, audio, video or logical signals.

There are two main families of codecs : lossless and lossy. A lossless codec creates no alteration of the signal: after decompression, it is exactly the same as before compression. The advantage is an absolute fidelity to the origin, but it requires more bandwith. Reversely, a lossy codec has a higher rate of compression but part of the signal can be lost. This is not always an issue. Most audio codecs are lossy but when the sound is rendered through loudspeakers, the human ear and brain cannot tell the difference.