Codec
From Open Encyclopedia
- For other uses of codec, see Codec (disambiguation).
Codec is a portmanteau of either 'Compressor-Decompressor', 'Coder-Decoder', or 'Compression/Decompression algorithm' which describes a device or program capable of performing transformations on a data stream or signal.
Codecs 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 solutions. A video camera's ADC converts its analog signals into digital signals, which are then passed through a video compressor for digital transmission. A receiving device then runs the signal through a video decompressor, then a DAC for analog display. An audio compressor converts analog audio signals into digital signals for transmission. A receiving device then converts the digital signals back to analog 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 robustness of the stream.
Most codecs are lossy, in order to get a reasonably small file size. There are lossless codecs as well, but for most purposes the almost imperceptible increase in quality is not worth the considerable increase in data size. The main exception is if the data will undergo more processing in the future, in which case the repeated lossy encoding would damage the eventual quality too much.
Many multimedia data streams need to contain both audio and video data, and often some form of metadata that permits synchronization 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.
An endec is a similar (but not identical) concept for hardware.
See also
- Audio codec, Video codec
- Audio signal processing
- List of codecs
- Digital signal processing
- Lossless data compression
- Lossy data compression
- Multimedia compression
- Comparison of container formats
- Open source codecs and containers
External links
- List of video codecs from FOURCC
- Free-Codecs.com
- XP Codec Pack
- Exhaustive list of audio & video codecs
- MPEG-1/-2/-4 Codec Packs
- Discussions of codecs
- Getting Louder - Comparison of file sizes produced by popular Codecsaf:Codec
ca:Còdec cs:Kodek de:Codec es:Códec fr:Codec hr:Codec hu:Kodek it:Codec ja:コーデック nl:Codec pl:Kodek ru:Кодек fi:Koodekki zh:编解码器


