Codec Article Index for
Codec
Articles about
Codec
 

Information About

Codec




A codec is a device or Program capable of performing Encoding and Decoding on a Digital Data stream or Signal . The word ''codec'' may be a combination of any of the following: ''''Co'''mpressor-'''Dec'''ompressor', ''''Co'''der-'''Dec'''oder', or ''''Co'''mpression/'''Dec'''ompression algorithm'.


DESCRIPTION


Related concepts

An Endec is a similar (but different) concept for Hardware . In the mid 20th century, a "codec" was hardware that coded Analogue signals into Pulse-code Modulation (PCM) and decoded them back. Late in the century the name came to be applied to a class of software for converting among digital signal formats, and including Compander functions.

Codecs (in the modern, software sense) encode a stream or signal for transmission, storage or Encryption and decode it for viewing or editing. Codecs are often used in Videoconferencing and Streaming Media applications. A video camera's Analogue-to-digital Converter (ADC) converts its analogue signals into digital signals, which are then passed through a Video Compressor for digital transmission or storage. A receiving device then runs the signal through a video decompressor, then a Digital-to-analogue Converter (DAC) for analogue display. A "codec" is a generic name for a video conferencing unit.

An Audio Compressor converts analogue audio signals into digital signals for transmission or storage. A receiving device then converts the digital signals back to analogue using an audio decompressor, for playback.

The raw encoded form of audio and video data is often called essence, to distinguish it from the Metadata information that together make up the information content of the stream and any "wrapper" data that is then added to aid access to or improve the Robust ness of the stream.


Compression quality


Most codecs are Lossy . Originally this was in order to make the compressed files small enough to be readily transmitted across non-broadband networks and stored on relatively expensive media, such as Non-volatile Memory and Hard Disk as opposed to write-once read-many formats such as CD-ROM and DVD.

There are Lossless codecs but for most purposes the slight increase in quality is not worth the increase in data size, which is often considerable. The main exception to this is if the data is to undergo further processing (for example editing) in which case the repeated application of lossy codecs (repeated encoding and subsequent decoding) will almost certainly degrade the quality of the edited file such that it is readily identifiable (visually or audibly or both). Using more than one codec or encoding scheme whilst creating a finished product can also degrade quality significantly (however there are many situations where this is all but unavoidable). The decreasing cost of storage capacity and network bandwidth may obviate the need for lossy codecs for some media over time.

Many codecs are designed to emphasise certain aspects of the media to be encoded. For example, a digital video (using a DV codec) of a sports event, such as baseball or soccer, needs to encode motion well but not necessarily exact colours, while a video of an art exhibit needs to perform well encoding colour and surface texture. There are hundreds or even thousands of codecs ranging from those downloadable for free to ones costing hundreds of dollars or more. This can create compatibility and obsolescence issues. By contrast, lossless PCM audio (44.1 Khz, 16 bit stereo, as represented on an audio CD or in a .wav or .aiff file) offers more of a persistent standard across multiple platforms and over time.

Many Multimedia data streams need to contain both Audio and Video data, and often some form of metadata that permits synchronisation of the audio and video. Each of these three streams may be handled by different programs, processes, or hardware; but for the multimedia data stream to be useful in stored or transmitted form, they must be Encapsulated together in a Container Format .

While many people explain that AVI is a codec, they are incorrect. AVI (nowadays) is a Container Format , which many codecs might use (although not to ISO Standard ). There are other well known alternative containers such as Ogg , ASF , QuickTime , RealMedia , Matroska , DivX , and MP4 .


SEE ALSO




EXTERNAL LINKS