Learn about the technologies behind the Internet with The TCP/IP Guide!|
NOTE: Using robot software to mass-download the site degrades the server and is prohibited. See here for more.
Find The PC Guide helpful? Please consider a donation to The PC Guide Tip Jar. Visa/MC/Paypal accepted.
|View over 750 of my fine art photos any time for free at DesktopScenes.com!|
Video Performance Issues and the MPEG Format
The idea of playing a movie or TV program on the PC is a relatively new one, and these applications make demands on the performance of a PC system that few others do. The main problem is the sheer volume of data that is involved.
Let's suppose that we wanted to display a 2-hour movie in high-quality, high-resolution graphics. To keep things from getting out of hand, let's choose just 640x480 resolution in high color (16 bits per pixel) instead of going "all out" to say, 1024x768 in true color. Full-motion video typically means 30 frames per second. To store the data required for a full-motion, two-hour movie using these parameters, would require approximately 133 GB. (That's not a typo--133 billion bytes, and that doesn't include sound.) Also, the data to support this video stream would need to be pumped to the video card at the rate of about 150 million bits per second. In ten years these numbers won't seem like that big of a deal but of course, right now they sure are.
There is a solution to this dilemma: data compression. Due to the nature of the data, video can be easily compressed by a large factor. There are several reasons for this:
The most popular compressed video format is MPEG, which stands for the Motion Pictures Expert Group, the body that defined the standard. MPEG can typically compress as high as 100 to 1, bringing our 2-hour movie down to a much more manageable 1.33 GB. To use MPEG the video must be encoded using an MPEG encoder, and then viewed using an MPEG decoder. Not surprisingly, MPEG has its own problems. The chief one is that the process of encoding and decoding takes a lot of processing power, which is why dedicated MPEG encoding and decoding hardware is used for high-performance applications.