A codec is a device or computer program capable of encoding and/or decoding a digital data stream or signal.[1][2][3][4] The word codec is a portmanteau of "compressor-decompressor" or, more commonly, "coder-decoder". A codec (the program) should not be confused with a coding or compression format or standard – a format is a document (the standard), a way of storing data, while a codec is a program (an implementation) which can read or write such files. In practice "codec" is sometimes used loosely to refer to formats, however.

A codec encodes a data stream or signal for transmission, storage or encryption, or decodes it for playback or editing. Codecs are used in videoconferencing, streaming media and video editing applications. A video camera's analog-to-digital converter (ADC) converts its analog 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-analog converter (DAC) for analog display. The term codec is also used as a generic name for a video conferencing unit.


Related concepts

An endec (encoder/decoder) is a similar yet different concept mainly used for hardware. In the mid 20th century, a "codec" was hardware that coded analog 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.

A modem is a contraction of modulator/demodulator (modem was called dataset by telcos) and converts digital data from computers to analog for phone line transmission. On the receiving end the analog is converted back to digital. Codecs do the opposite (convert audio analog to digital and then computer digital sound back to audio).

An audio codec converts analog audio signals into digital signals for transmission or storage. A receiving device then converts the digital signals back to analog using an audio decompressor, for playback. An example of this are the codecs used in the sound cards of personal computers. A video codec accomplishes the same task for video signals.

Compression quality

  • Lossy codecs: Many of the more popular codecs in the software world are lossy, meaning that they reduce quality by some amount in order to achieve compression. Often, this type of compression is virtually indistinguishable from the original uncompressed sound or images, depending on the codec and the settings used.[5] Smaller data sets ease the strain on relatively expensive storage sub-systems such as non-volatile memory and hard disk, as well as write-once-read-many formats such as CD-ROM, DVD and Blu-ray Disc. Lower data rates also reduce cost and improve performance when the data is transmitted.
  • Lossless codecs: There are also many lossless codecs which are typically used for archiving data in a compressed form while retaining all of the information present in the original stream. If preserving the original quality of the stream is more important than eliminating the correspondingly larger data sizes, lossless codecs are preferred. This is especially true if the data is to undergo further processing (for example editing) in which case the repeated application of processing (encoding and decoding) on lossy codecs will degrade the quality of the resulting data such that it is no longer identifiable (visually, audibly or both). Using more than one codec or encoding scheme successively can also degrade quality significantly. The decreasing cost of storage capacity and network bandwidth has a tendency to reduce the need for lossy codecs for some media.

Media codecs

Codecs are often designed to emphasize certain aspects of the media, or their use, to be encoded. For example, a digital video (using a DV codec) of a sports event needs to encode motion well but not necessarily exact colors, while a video of an art exhibit needs to perform well encoding color and surface texture.

Audio codecs for cell phones need to have very low latency between source encoding and playback; while audio codecs for recording or broadcast can use high-latency audio compression techniques to achieve higher fidelity at a lower bit-rate.

There are thousands of audio and video codecs ranging in cost from free to hundreds of dollars or more. This variety of codecs can create compatibility and obsolescence issues. The impact is lessened for older formats, for which free or nearly-free codecs have existed for a long time. The older formats are often ill-suited to modern applications, however, such as playback in small portable devices. For example, raw uncompressed PCM audio (44.1 kHz, 16 bit stereo, as represented on an audio CD or in a .wav or .aiff file) has long been a standard across multiple platforms, but its transmission over networks is slow and expensive compared with more modern compressed formats, such as MP3.

Many multimedia data streams contain both audio and video, and often some metadata that permit synchronization of audio and video. Each of these three streams may be handled by different programs, processes, or hardware; but for the multimedia data streams to be useful in stored or transmitted form, they must be encapsulated together in a container format.

Lower bitrate codecs allow more users, but they also have more distortion. Beyond the initial increase in distortion, lower bit rate codecs also achieve their lower bit rates by using more complex algorithms that make certain assumptions, such as those about the media and the packet loss rate. Other codecs may not make those same assumptions. When a user with a low bitrate codec talks to a user with another codec, additional distortion is introduced by each transcoding.

The notion of AVI being a codec is incorrect as AVI is a container format, which many codecs might use (although not to ISO standard). There are also other well-known containers such as Ogg, ASF, QuickTime, RealMedia, Matroska, DivX Media Format and containers defined as ISO standards, such as MPEG transport stream, MPEG program stream, MP4 and ISO base media file format.

See also



  1. ^ "Using codecs". Microsoft. Retrieved 2009-12-21. 
  2. ^ " - Codec". Retrieved 2009-12-21. 
  3. ^ "Glossary - Codec". Retrieved 2009-12-21. 
  4. ^ "Ubuntu Documentation - What is a codec?". Ubuntu Documentation Team. Retrieved 2009-12-21. 
  5. ^ "Audio quality of aac vs. mp3 vs. wma vs. ogg encoders". SoundExpert. Retrieved 2010-07-25. "above 5.0 – all sound artifacts will be beyond threshold of human perception with corresponding perception margin" 

Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Códec — es la abreviatura de codificador decodificador. Describe una especificación desarrollada en software, hardware o una combinación de ambos, capaz de transformar un archivo con un flujo de datos (stream) o una señal. Los códecs pueden codificar el… …   Wikipedia Español

  • CODEC — (compressor/decompressor) (Computers) technology used to compress and decompress computer data (such as sound or video files, etc.) CODEC (coder/decoder) (Telecommunications) chip that converts digital signals to analog and from analog signals to …   English contemporary dictionary

  • codec — [kō′dek΄] n. an integrated circuit that converts analog data into digital and vice versa, used as to transmit images or sounds * * * …   Universalium

  • Códec — Codec es una abreviatura de Compresor Decompresor. Describe una especificación implementada en software, hardware o una combinación de ambos, capaz de transformar un archivo con un flujo de datos (stream) o una señal. Los códecs pueden codificar… …   Enciclopedia Universal

  • CODEC — CODEC,   Abkürzung für Codierer/Decodierer oder englisch Coder/Decoder, mit Analog digital Umsetzern arbeitende Einrichtung zur Umsetzung von analogen Signalen (z. B. Sprache im Telefonverkehr) in eine digitale Impulsfolge nach standardisierten… …   Universal-Lexikon

  • codec — by 1970, an abbreviation from compressor decompressor or coder decoder, on model of modem …   Etymology dictionary

  • codec — (izg. kòdek) m DEFINICIJA inform. softver ili čip za sažimanje i dekomprimiranje podataka (npr. za digitalne video snimke, MP3 glazbu) ETIMOLOGIJA krat., engl. compressor/decompressor …   Hrvatski jezični portal

  • codec — [kō′dek΄] n. an integrated circuit that converts analog data into digital and vice versa, used as to transmit images or sounds …   English World dictionary

  • CoDec — Als Codec (Kunstwort aus engl. coder und decoder) bezeichnet man ein Verfahren bzw. Programm, das Daten oder Signale digital kodiert und dekodiert. Beim direkten Umwandeln von einem Format in ein anderes (bspw. MPEG 2 zu MPEG 4 oder MP3 zu WMA)… …   Deutsch Wikipedia

  • Codec — Als Codec (Kunstwort aus englisch coder und decoder) bezeichnet man ein Verfahren, das Daten oder Signale digital kodiert und dekodiert. Beim direkten Umwandeln von einem Format in ein anderes (bspw. MPEG 2 zu MPEG 4 oder MP3 zu WMA) spricht man… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”