All Topics  
Video compression

 

   Email Print
   Bookmark   Link






 

Video compression



 
 
Video compression refers to reducing the quantity of data
DATA

Debt, AIDS, Trade in Africa is a multinational Non-governmental organization founded in January 2002 in London by U2's Bono along with Robert Sargent Shriver III and activists from the Jubilee 2000 Drop the Debt campaign....
 used to represent digital video
Digital video

Digital video is a type of video recording system that works by using a digital rather than an analog signal video signal.The terms camera, video camera, and camcorder are used interchangeably in this article....
 images, and is a straightforward combination of image compression
Image compression

Image compression is the application of Data compression on digital images. In effect, the objective is to reduce redundancy of the image data in order to be able to store or data transmission data in an efficient form....
 and motion compensation
Motion compensation

One method used by various video formats to reduce file size is motion compensation. For many frames of a movie, the only difference between one frame and another is the result of either the camera moving or an object in the frame moving....
. This article deals with its applications: compressed video can effectively reduce the bandwidth
Bandwidth (computing)

In computer networking and computer science, digital bandwidth, network bandwidth or just bandwidth is a measure of available or consumed data communication resources expressed in bit/s or multiples of it ....
 required to transmit video
Video

Video is the technology of electronics Videography, recording, processing, storing, transmitting, and reconstructing a sequence of still images representing Scene in motion....
 via terrestrial broadcast
Terrestrial television

Terrestrial television is a term which refers to modes of television broadcasting which do not involve satellite transmission. . The term is uncommon in the United States while more common in Europe....
, via cable TV, or via satellite TV services.

video compression is lossy — it operates on the premise that much of the data present before compression is not necessary for achieving good perceptual quality.






Discussion
Ask a question about 'Video compression'
Start a new discussion about 'Video compression'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Video compression refers to reducing the quantity of data
DATA

Debt, AIDS, Trade in Africa is a multinational Non-governmental organization founded in January 2002 in London by U2's Bono along with Robert Sargent Shriver III and activists from the Jubilee 2000 Drop the Debt campaign....
 used to represent digital video
Digital video

Digital video is a type of video recording system that works by using a digital rather than an analog signal video signal.The terms camera, video camera, and camcorder are used interchangeably in this article....
 images, and is a straightforward combination of image compression
Image compression

Image compression is the application of Data compression on digital images. In effect, the objective is to reduce redundancy of the image data in order to be able to store or data transmission data in an efficient form....
 and motion compensation
Motion compensation

One method used by various video formats to reduce file size is motion compensation. For many frames of a movie, the only difference between one frame and another is the result of either the camera moving or an object in the frame moving....
. This article deals with its applications: compressed video can effectively reduce the bandwidth
Bandwidth (computing)

In computer networking and computer science, digital bandwidth, network bandwidth or just bandwidth is a measure of available or consumed data communication resources expressed in bit/s or multiples of it ....
 required to transmit video
Video

Video is the technology of electronics Videography, recording, processing, storing, transmitting, and reconstructing a sequence of still images representing Scene in motion....
 via terrestrial broadcast
Terrestrial television

Terrestrial television is a term which refers to modes of television broadcasting which do not involve satellite transmission. . The term is uncommon in the United States while more common in Europe....
, via cable TV, or via satellite TV services.

Video quality

Most video compression is lossy — it operates on the premise that much of the data present before compression is not necessary for achieving good perceptual quality. For example, DVD
DVD-Video

DVD-Video is a consumer video format used to store digital video on DVD discs, and is currently the dominant consumer video format in Canada, Europe and Australia....
s use a video coding standard called MPEG-2
MPEG-2

MPEG-2 is a standard for "the generic coding of moving pictures and associated audio information". It describes a combination of Lossy compression video compression and lossy audio data compression methods which permit storage and transmission of movies using currently available storage media and transmission bandwidth....
 that can compress around two hours of video data by 15 to 30 times, while still producing a picture quality
Video quality

Video quality is a characteristic of a video passed through a video transmission/processing system, a formal or informal measure of perceived video degradation ....
 that is generally considered high-quality for standard-definition video. Video compression is a tradeoff between disk space, video quality, and the cost of hardware
Hardware

Hardware is a general term that refers to the physical cultural artifacts of a technology. It may also mean the physical components of a computer system, in the form of computer hardware....
 required to decompress the video in a reasonable time. However, if the video is overcompressed in a lossy manner, visible (and sometimes distracting) artifacts
Compression artifact

A compression artifact is the result of an aggressive data compression scheme applied to an , Sound recording, or video that discards some data that may be too complex to store in the available data-rate, or may have been incorrectly determined by an algorithm to be of little subjective importance, but is in fact objectionable to the view...
 can appear.

Video compression typically operates on square-shaped groups of neighboring pixel
Pixel

In digital imaging, a pixel is the smallest item of information in an image. Pixels are normally arranged in a 2-dimensional grid, and are often represented using dots, squares, or rectangles....
s, often called macroblock
Macroblock

Macroblock is a term used in video compression, which represents a block of 16 by 16 pixels. Each macroblock contains 4 Y block, 1 Cb block, 1 Cr block ....
s. These pixel groups or blocks of pixels are compared from one frame to the next and the video compression codec
Video codec

A video codec is a device or software that enables video compression and/or decompression for digital video. The compression usually employs lossy data compression....
 (encode/decode scheme) sends only the differences
Residual frame

In video compression algorithms a residual frame is formed by subtracting the reference frame from the desired Video frame. This difference is known as the error or residual Video_frame#Video_frame....
 within those blocks. This works extremely well if the video has no motion. A still frame of text, for example, can be repeated with very little transmitted data. In areas of video with more motion, more pixels change from one frame to the next. When more pixels change, the video compression scheme must send more data to keep up with the larger number of pixels that are changing. If the video content includes an explosion, flames, a flock of thousands of birds, or any other image with a great deal of high-frequency detail, the quality will decrease, or the variable bitrate
Variable bitrate

Variable bitrate is a term used in telecommunications and computing that relates to the bitrate used in sound or video encoding. As opposed to constant bitrate , VBR files vary the amount of output data per time segment....
 must be increased to render this added information with the same level of detail.

The programming provider has control over the amount of video compression applied to their video programming before it is sent to their distribution system. DVDs, Blu-ray discs, and HD DVD
HD DVD

HD DVD is a discontinued high-density optical media optical disc format for storing data and high-definition video.HD DVD was supported principally by Toshiba, and was envisaged to be the successor to the standard DVD format....
s have video compression applied during their mastering process, though Blu-ray and HD DVD have enough disc capacity that most compression applied in these formats is light, when compared to such examples as most video streamed on the internet, or taken on a cellphone. Software used for storing video on hard drives or various optical disc formats will often have a lower image quality, although not in all cases. High-bitrate video codecs with little or no compression exist for video post-production
Post-production

Post-production occurs in the making of film, television program, radio programs, videos, sound recording and reproduction, photography and digital art....
 work, but create very large files and are thus almost never used for the distribution of finished videos. Once excessive lossy video compression compromises image quality, it is impossible to restore the image to its original quality.

Theory


Video is basically a three-dimensional array
Array

In computer science, an array is a data structure consisting of a group of element s that are accessed by index . In most programming languages each element has the same data type and the array occupies a contiguous area of computer memory....
 of color
Color

Color or colour is the visual perception property corresponding in humans to the categories called red, yellow, blue and others....
 pixel
Pixel

In digital imaging, a pixel is the smallest item of information in an image. Pixels are normally arranged in a 2-dimensional grid, and are often represented using dots, squares, or rectangles....
s. Two dimensions serve as spatial (horizontal and vertical) directions of the moving pictures, and one dimension represents the time domain
Time domain

Time domain is a term used to describe the analysis of mathematical function s, or physical signal s, with respect to time. In the time domain, the signal or function's value is known for all real numbers, for the case of continuous time, or at various separate instants in the case of discrete time....
. A data frame
Data frame

In computer networking, a frame is a digital data transmission unit on the Data Link Layer of the OSI model. It is used for data exchange between two points via a direct physical or logical link....
 is a set of all pixels that correspond to a single time moment. Basically, a frame is the same as a still picture
Image

An image is an artifact, usually two-dimensional , that has a similar appearance to some subject —usually a physical object or a person....
.

Video data contains spatial and temporal redundancy
Redundancy (information theory)

Redundancy in information theory is the number of bits used to transmit a message minus the number of bits of actual information in the message....
. Similarities can thus be encoded by merely registering differences within a frame (spatial), and/or between frames (temporal). Spatial encoding is performed by taking advantage of the fact that the human eye is unable to distinguish small differences in color as easily as it can changes in brightness and so very similar areas of color can be "averaged out" in a similar way to jpeg images . With temporal compression only the changes from one frame to the next are encoded as often a large number of the pixels will be the same on a series of frames.

Lossless compression

Some forms of data compression are lossless
Lossless data compression

Lossless data compression is a class of data compression algorithms that allows the exact original data to be reconstructed from the compressed data....
. This means that when the data is decompressed, the result is a bit-for-bit perfect match with the original. While lossless compression of video is possible, it is rarely used, as lossy compression results in far higher compression ratios at an acceptable level of quality, which is the entire point of video compression.

Intraframe versus interframe compression


One of the most powerful techniques for compressing video is interframe compression. Interframe compression uses one or more earlier or later frames in a sequence to compress the current frame, while intraframe compression uses only the current frame, which is effectively image compression
Image compression

Image compression is the application of Data compression on digital images. In effect, the objective is to reduce redundancy of the image data in order to be able to store or data transmission data in an efficient form....
.

The most commonly used method works by comparing each frame in the video with the previous one. If the frame contains areas where nothing has moved, the system simply issues a short command that copies that part of the previous frame, bit-for-bit, into the next one. If sections of the frame move in a simple manner, the compressor emits a (slightly longer) command that tells the decompresser to shift, rotate, lighten, or darken the copy — a longer command, but still much shorter than intraframe compression. Interframe compression works well for programs that will simply be played back by the viewer, but can cause problems if the video sequence needs to be edited.

Since interframe compression copies data from one frame to another, if the original frame is simply cut out (or lost in transmission), the following frames cannot be reconstructed properly. Some video formats, such as DV
DV

Digital Video is a digital video format created by Sony, JVC, Panasonic and other video camera producers, and launched in 1995. In its smaller tape form factor MiniDV, has since become a standard for home and semi-professional video production; it is sometimes used for professional purposes as well, such as filmmaking and electronic...
, compress each frame independently using intraframe compression. Making 'cuts' in intraframe-compressed video is almost as easy as editing uncompressed video — one finds the beginning and ending of each frame, and simply copies bit-for-bit each frame that one wants to keep, and discards the frames one doesn't want. Another difference between intraframe and interframe compression is that with intraframe systems, each frame uses a similar amount of data. In most interframe systems, certain frames (such as "I frames" in MPEG-2
MPEG-2

MPEG-2 is a standard for "the generic coding of moving pictures and associated audio information". It describes a combination of Lossy compression video compression and lossy audio data compression methods which permit storage and transmission of movies using currently available storage media and transmission bandwidth....
) aren't allowed to copy data from other frames, and so require much more data than other frames nearby.

It is possible to build a computer-based video editor that spots problems caused when I frames are edited out while other frames need them. This has allowed newer formats like HDV
HDV

HDV is an entry-level format for High-definition video video recording. HDV uses DV tape providing a cost-effective HD production solution, compared to previously developed HD formats....
 to be used for editing. However, this process demands a lot more computing power than editing intraframe compressed video with the same picture quality.

Current forms

Today, nearly all video compression methods in common use (e.g., those in standards approved by the ITU-T
ITU-T

The Telecommunication Standardization Sector coordinates standards for telecommunications on behalf of the International Telecommunication Union and is based in Geneva, Switzerland....
 or ISO
International Organization for Standardization

The International Organization for Standardization , widely known as ISO , is an international standard-setting body composed of representatives from various national standards organizations....
) apply a discrete cosine transform
Discrete cosine transform

A discrete cosine transform expresses a sequence of finitely many data points in terms of a sum of cosine functions oscillating at different frequency....
 (DCT) for spatial redundancy reduction. Other methods, such as fractal compression
Fractal compression

Fractal compression is a lossy data compression method using fractals to achieve high levels of compression. The method is best suited for photographs of natural scenes ....
, matching pursuit
Matching pursuit

File:Matching pursuit.pngMatching pursuit is a type of numerical technique which involves finding the "best matching" projections of multidimensional data onto an over-complete dictionary ....
 and the use of a discrete wavelet transform
Discrete wavelet transform

In numerical analysis and functional analysis, a discrete wavelet transform is any wavelet transform for which the wavelets are discretely sampled....
 (DWT) have been the subject of some research, but are typically not used in practical products (except for the use of wavelet coding as still-image coders without motion compensation). Interest in fractal compression seems to be waning, due to recent theoretical analysis showing a comparative lack of effectiveness to such methods.

See also


  • Video quality
    Video quality

    Video quality is a characteristic of a video passed through a video transmission/processing system, a formal or informal measure of perceived video degradation ....
  • Subjective video quality
    Subjective video quality

    Subjective video quality is a subjective characteristic of video quality. It is concerned with how video is perceived by a viewer and designates his or her opinion on a particular video sequence....
  • Video coding
    Video coding

    Video coding is the field in electrical engineering and computer science that deals with representation of video data, for storage and/or transmission, for both analog and digital video....
  • Video compression picture types
  • D-frame


External links