- Learn
- » Techniques
- » Computers
Save As: MPEG-2 Encoding Tips for DVD Authors
When the Moving Picture Experts Group came up with the MPEG-2 standard in 1994, they may not have realized how much the new codec would change the world. If you're dealing with DVD, HDV, digital satellite TV or off-air digital television, you're dealing with some form of MPEG-2.
Most of the MPEG-2 exposure you'll have as a video producer will be in encoding video for DVD. There are a number of things to consider when you plan to burn for DVD (not the least of which is compatibility with other DVD players). Let's take a quick look at a few of these considerations.
The maximum amount of data that the DVD format can accommodate is 10.08Mbps. This figure takes into account all video and audio streams in your presentations, including such additional features as multiple angles, multiple spoken languages, subtitles and commentary tracks. Most set-top DVD recorders and DVD authoring software are aware of these limits, but we have seen discs with bit rates too high to be compliant with the DVD standard.
If you did code a piece of video at 9.8Mbps, you would only have 0.28Mbps left over for audio, so you would only have room for one 256kbps or two 128kbps audio streams if you used Dolby Digital compression. If, however, you coded your video at 8Mbps, then 2.08Mbps are available for other things. This would give you the versatility to use uncompressed PCM audio or to add subtitles to your video.
The term for parceling out the bits in your video for various uses is "bit budgeting."
Now, we're not overtly trying to impress any mathematicians, but as bit rate decreases, geometrically more video can be recorded onto a disc. We can express this as follows: minutes=(disc capacity (GB) x 400) / bit rate (Mbps) x 3
(For those of you who wince at the prospect of digging out the ol' scientific calculator, we did the math for you, which is found in Table 1.) Don't forget that you also have to factor in the audio, so if you like to use 6Mbps video compression and 1536kbps (48kbps PCM) audio, you'll have to plug 7.536 into the formula. For example: (4.7 x 400) / (7.536 x 3) = 1880 / 22.608 = 1 hour, 23 minutes, 9 seconds
Alternately, if you know how long your program is, you can calculate the maximum possible bitrate: Maximum bit rate (Mbps) = (disc capacity [GB] x 400) / (minutes x 3)
That means, for example, that if you wanted to burn a two-hour program onto a single layer disc: (4.7 x 400) / (120 x 3) = 1880/360 = 5.22 Mbps
Armed with that knowledge, that means that encoding this video at 5.0Mbps with a 128kbps Dolby Digital audio stream, we'd have a perfect amount of space left over for a few menus.
- Sponsors

Digg This!
del.icio.us
Technorati
StumbleUpon
Reddit