![]() |
Historically audio and video technologies were completely analog-based. An analog representation of a signal is usually electrical; for example, a voltage level represents the air pressure waveform of a sound. Today audio or video signals are generally converted to digital signals. Analog signals are continuous in time. To convert these signals into a flow of digital values it is necessary to take samples at a defined rate - the sampling rate or frequency. An analog-to-digital converter (ADC, A/D or A to D) is an electronic circuit that converts continuous signals to discrete digital numbers. The reverse operation is performed by a digital-to-analog converter (DAC).
There are lossless and lossy types of data compression. Lossless data compression enables the data to be reconstructed almost exactly as the original. Lossy compression may alter the data but is generally close enough to the original to be useful. Lossy compression is used frequently in current technologies using streaming media and telephony applications. These methods are typically referred to as codecs.
A codec is a device or program which encodes a data stream or signal for transmission, storage or encryption and decode it for viewing or editing. There are many types of codecs. Below is a small sampling of commonly used video codecs:
There is a difference between file formats and codecs. Although most audio file formats support only one audio codec, some file formats - such as AVI - support multiple codecs. There are three major groups of audio file formats: