DVD Video LogoDVD Bit Budgeting

Introduction

This page is intended to explain the "bit budgeting" aspect of the DVD authoring process. Bit budgeting essentially refers to deciding upon the bitrate to use when encoding the video and audio assets in your project. Compress too much and you could waste precious DVD space or (worse) end up with unnecessarily poor quality video. Compress too little and you could end up re-encoding some or all of your assets because your project won't fit on a DVD.

General Formula

Here is the general formula:

Tv (Ra + Rv) + X <= C
where
Tv = the total running time of all video sources, in seconds;
Ra = the average audio bitrate, in bytes/sec;
Rv = the average video bitrate, in bytes/sec;
X = slack space (for extra items such as menu graphics and audio), in bytes;
C = the disk capacity, in bytes.

Most of the terms in this equation are self-explanatory, but a few merit further discussion.

Disk Capacity

Of course, we know that C is 4.7 GB, but please note that this is measured on a decimal basis (10003), not binary (10243). Thus we are talking about 4,700,000,000 bytes (4.7 x 1000 x 1000 x 1000), which corresponds to 4.377 GB in binary terms (4,700,000,000 / (1024)3).

Audio Bitrate

Many DVD authoring tools support only uncompressed PCM audio, but the collection of applications that support Dolby Digital™ compression is quickly growing. This document will address both types of audio.

Let's start with uncompressed PCM audio, since it's simpler. It has a fixed rate of 192,000 bytes per second [(48,000 samples/sec) x (16 bits/sample) x (1 byte/8 bits) x (2 channels)].

Dolby Digital™ (or DD, sometimes called AC-3) is a compressed format and hence leaves more room on your DVD for (1) longer-running video, (2) higher-quality video, or (3) a combination of both.

A common bitrate for stereo, DD-encoded audio is 192,000 bits per second. That may seem similar to the PCM rate, but notice that it is in bits (not bytes) per second. Converting units yields just [(192,000 bits/sec) x (1 byte/8 bits)] 24,000 bytes per second. This represents, not surprisingly, a compression ratio of 8:1.

Surround-sound (5.1) audio is usually encoded at 384 kbps or higher, but we will concentrate on stereo audio in this document.

At any rate, you can see that Dolby Digital™ can save you a lot of space. If your authoring app' supports it, I highly recommend that you use it.

Video Bitrate

It is worth mentioning that video bitrate is also normally discussed in decimal terms. So, 4 Mb/sec video represents 4,000,000 bits per second.

An Example

Now, let's consider an example. How much video encoded at 6 Mb/sec with PCM audio will fit on a DVD-R? First, let's solve for Tv.

Tv = C / (Ra + Rv)

We have Rv = 750,000 [(6,000,000 bits/sec) x (1 byte/8 bits)], and we know the values of C and Ra. Thus:

Tv = 4,700,000,000 / (192,000 + 750,000) = (4989.4 sec)(1 min/60 sec) = 83.16 min.

So, we can fit approximately 83 minutes of 6 Mb/sec video with PCM audio on a single DVD-R. How much additional video could we fit if we had used Dolby Digital™ at 192 kpbs? The only part of the equation that changes is that Ra becomes 24,000:

Tv = 4,700,000,000 / (24,000 + 750,000) = (6072.4 sec)(1 min/60 sec) = 101.2 min.

So, using Dolby Digital™ would allow us to include an additional 18 minutes of video.

Common Bitrates and Running Times

Here are a couple of tables that show common running times and bitrates. The first table assumes a fixed running time and shows the maximum video bitrate for both PCM audio and 192 kbps-Dolby Digital™ audio. The second assumes a fixed video bitrate and shows the associated maximum running times.

Running Time Video Bitrate
  PCM 192 Kbps DD
HH:MM MB/sec MB/sec
1:05 8.00 8.00
1:15 6.82 8.00
1:30 5.43 6.77
1:45 4.43 5.78
2:00 3.69 5.03
2:15 3.11 4.45
2:30 2.64 3.99
2:45 2.26 3.61
3:00 1.95 3.29
Video Bitrate Running Time
  PCM 192 Kbps DD
MB/sec HH:MM HH:MM
2.0 2:57 4:45
2.5 2:35 3:52
3.0 2:18 3:16
3.5 2:04 2:49
4.0 1:53 2:29
4.5 1:43 2:13
5.0 1:35 2:00
5.5 1:29 1:50
6.0 1:23 1:41
6.5 1:18 1:33
7.0 1:13 1:27
7.5 1:09 1:21
8.0 1:05 1:16