Codec: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>JeromeDelacroix
mNo edit summary
imported>JeromeDelacroix
mNo edit summary
Line 1: Line 1:
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.
'''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.
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.

Revision as of 06:34, 8 November 2007

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.