Latest Movie Trailers

  • Song of Granite - Trailer: Enigmatic and complex, Joe Heaney was one of the greats of traditional Irish singing (sean nós). Sh (...)

  • Last Flag Flying - Featurette: In 2003, 30 years after they served together in the Vietnam War, former Navy Corps medic Larry “Do (...)

Updated 09/11/2012Home » Video Glossary » Codec


A codec is a device or program capable of encoding or decoding a digital data stream or signal. The word codec is a portmanteau of coder-decoder.

A codec program should not be confused with a coding or compression format or standard a format is a standard way of storing data, while a codec is a program (an implementation) which can read or write such files. In practice, however, codec is sometimes used loosely to refer to formats.

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.

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. 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.