Without video data being compressed it would not be possible to have streaming video over the Internet or even DVD movies. The time and space required, respectively, would be too great. A video can be thought of as a series of still images played in quick succession to give the appearance of motion. The 'moving pictures' part of a video is quite often accompanied by an audio track. The frequency that one image replaces another is called the frame rate. A rate common to many movies is 24 frames per second (fps). Video dimensions, like images, are measured in pixels. Similar to an mp3 audio recording, the quality of a video is measured in the number of kilo bits per second (Kbps) that is played back at. The higher this number the better the quality the video will have.
If no compression was used, a video with dimensions of 640 x 480 pixels (with each pixel using 24bits to store its colour information) would need 640x480x24 = 7,372,800bits of memory storage per frame. If the video was played at a frame rate of 24fps then one second's playback would consume 7,372,800x24 = 176,947,200bits or 22,118,400Bytes or 21,600KB. One minute's playback would need 21,600x60 = 1,296,000KB or 1,265.625MB or 1.27GB. This is about 25% the size of a standard DVD disc. So, a standard DVD disc could hold about 4 minutes of uncompressed 640x480 video. Note: this example video contains no audio track. If it did more storage would be required. So, storing video in an uncompressed format is plainly impractical. Compression methodsThere are basically two methods used to compress video data. To quote the Wikipedia article mentioned in the links section below:Video data contains spatial and temporal redundancy. 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 perceive changes in brightness, so that 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. Also, from Intraframe versus Interframe compression:
|
Raw AVI recording (39MB) |
Edited AVI recording (513KB) |
Free video converters
- The above screenshots were taken from the FormatFactory editor program. It is a good program that is freely available on the Internet, but be sure to untick the Google toolbar and Ask search engine options during the install process. Download from CNET
- This web page has information on free converters; experiment!: Lifehacker
- MediaCoder - seems worth a try; download from this page
- Handbrake - Mac as well as Windows versions.
- There are many online converters, though they usually give limited conversion options. Google around and see what you can find.
Further reading
- DVD.HQ - Video compression - a good website that contains in-depth information on video compression.
- Video compression - a Wikipedia article about video compression; lots of technical detail.