Skip to main content icon/video/no-internet

Compression refers to the process of storing information in a manner that uses less space than usual; compressed files provide the same basic amount of data, audio, and/or video information as the original files, but use fewer bits of storage. Current standards of communication, such as the widespread use of 56.6 kbps modems, necessitate the use of compression techniques for experiencing the audio and video content of the Internet.

Two techniques of compression are lossless and lossy. Lossless compression produces files that, upon decompression, are identical to the original file; that is, little to no information is lost during the process. More widely used, however, is lossy compression, which modifies the original file. Lossy compression techniques take advantage of redundancies in the information being stored in order to represent it efficiently. Instead of encoding every piece of information available, as traditional methods of storing audio and video do (e.g., audiotape, videotape), these techniques encode only momentary changes in audio and/or frame-by-frame changes in video in order to produce files that are smaller than the original. This subtle process is done through an initial encoding process that identifies the “static,” or redundant, information, and afterwards encodes only data representing changes occurring over time. As these changes accumulate, they produce, for instance, movement or even a change of scenery on video. Although this process removes information from the original file, the difference between the original and compressed files is typically undetectable by human auditory and visual senses. MP3s and digital video based on MPEG standards, for example, use lossy compression.

When compressed media files are opened, the information is streamed, or transmitted, to a media player. Players, such as the Windows Media player and RealPlayer, are software programs capable of playing compressed audio and video files stored in numerous formats (see below). In order for a media file to play over the Internet, portions of it are loaded into a temporary storage area in the memory (buffer) of the user's computer and, without being permanently saved to the hard drive, the file is then streamed.

Video Compression

Software used to compress and decompress video for viewing is commonly referred to as a codec, a term that originated as a shortened word for “compression/decompression.” Although the sound quality of files produced by early codecs was quite poor, more recent versions yield files that are both smaller and of higher quality. Codecs are commonly included in digital-video software programs, most requiring computers with fairly powerful central processing units (CPUs) for compressing video. RealNetworks, for example, includes a codec in its RealPlayer and RealPlayer Plus media players that performs basic encoding tasks.

Codecs generally operate in two different ways, each of which is based on lossy compression techniques, but removes different types of information. Temporal compression identifies and removes non-essential information on a frame-by-frame basis. Each temporal change, or those occurring over time, is encoded while static information is ignored, resulting in smaller files. Spatial compression also removes information that is repetitive in a series of frames within a file, or even within the complete file itself. However, rather than looking for temporal changes, this method essentially monitors spatial areas (hence its name), as identified by coordinates of pixels, for changes. The coordinates help to identify changes in information, which are then encoded to the file. In both cases, the more non-redundant information present in the original file, the larger the compressed file produced will be.

...

  • Loading...
locked icon

Sign in to access this content

Get a 30 day FREE TRIAL

  • Watch videos from a variety of sources bringing classroom topics to life
  • Read modern, diverse business cases
  • Explore hundreds of books and reference titles

Sage Recommends

We found other relevant content for you on other Sage platforms.

Loading