DVD Studio Pro Manual
DVD Studio Pro Manual
DVD Studio Pro Manual
3
Adding a Track 22
Previewing Audio Streams 24
Creating a Multi-Angle Track 24
Adding Angles 25
Previewing Angles 25
Creating a Still Menu 26
Adding Buttons to a Still Menu 29
Naming the Buttons 30
Specifying Button States 30
Previewing Buttons 31
Creating a Motion Menu 32
Previewing a Motion Menu 34
Specifying Button States in Motion Menus 34
Adding Markers 35
Previewing Markers 37
Creating a Slideshow 37
Previewing Slideshows 39
Linking Things Together Using the Action Menus 39
Linking a Button to a Track 40
Jumping Somewhere When a Track Is Finished 41
Setting a Startup Action 41
Setting the Actions of Standard Remote Control Keys 42
Previewing Links and Actions 42
Expanding Your DVD 43
Creating a Story 43
Creating Interactive Markers 45
Specifying the Shape of the Button Area That Changes Color 47
Adding Subtitles 48
Adding Web Links to Your Project 48
Writing a Simple Script 51
Setting a Timeout Action 52
Testing Your Project 52
Building the Finished Project 53
Using the Apple DVD Player 54
4 Contents
What’s Next? 55
2 Preparing Source Material 57
Capturing Video and Audio 58
Capturing Video for 16:9 Aspect Ratio 58
Segmenting Your Material 59
Preparing Video Content 59
Encoding Video to MPEG Format 59
The QuickTime MPEG Encoder 59
Encoding Video for Multi-Angle Tracks 62
Preparing Audio Content 62
Encoding Audio 62
The A.Pack Application 63
Creating Material for Menus 63
Creating Graphics for Still Menus 63
Creating Video for Motion Menus 64
Creating Video for Interactive Markers 65
Creating Graphics for Slideshows 65
Preparing Graphics for Use With 16:9 Aspect Ratio 65
Building Menus in Multiple Languages 65
Preparing Subtitles 66
3 Using DVD Studio Pro 67
Setting Preferences for a New Project 68
Setting Disc Properties for a New Project 69
Setting Remote Control Properties for a New Project 70
Views Available in DVD Studio Pro 71
The Graphical View 72
Customizing the Appearance of the Graphical View 73
The Project View 74
The Property Inspector 76
The Editors 82
Preview Mode 82
Troubleshooting Windows 83
The Matrix Views 83
Contents 5
4 Working With Languages and Subtitles 87
Working With Languages 87
Setting Up Multiple Language Audio in Slideshows 89
The Subtitle Editor 89
Preparing Source Material for Subtitles 89
Setting Preferences for the Subtitle Editor 90
Starting a New Subtitle Project 91
Changing the Location and Duration of Subtitles 94
Locking and Unlocking Subtitle Positions 94
Linking Subtitles 94
Selecting Multiple Subtitles 94
Importing Subtitles 95
Compiling a Subtitle Stream 95
Working With Subtitle Streams in DVD Studio Pro 95
Keyboard Shortcuts 96
5 Using Scripts 97
Creating a Script 98
Assigning Scripts 99
Assigning Global Variables for Scripts 100
Viewing Script Properties 101
Scripting Reference 101
About Registers, Parameters, and Variables 101
Limitations of Variables and Registers 102
Script Reference Conventions 102
Numbers 102
Labels 103
Comments 103
Functions and Commands 103
Using NVRAM in DVD Studio Pro 110
Determining Whether NVRAM Is Available 112
6 Previewing, Testing, and Building Your DVD 113
Using Preview Mode 114
Limitations of Preview Mode 115
6 Contents
Previewing on an External Video Monitor 115
Debugging 116
Debugging in Preview Mode 116
Using Built-in Error Checking 118
Finding Missing Asset Files 118
Finding Unassigned Asset Files 119
Getting Information About Your Project 119
Using Project Description Files 119
Using the Log Window 120
Building Your Project 121
Tracking the Multiplexing Process 122
Solving Multiplexing Problems 122
Creating Your Disc 123
Appendix A
Using A.Pack to Encode AC-3 Sound 125
What Is A.Pack? 125
Creating AC-3: An Overview 125
Using A.Pack for Encoding 127
Opening A.Pack 128
Converting to AC-3 Format Using the Instant Encoder 128
Converting to AC-3 Format in Batches 129
Specifying Encoding Settings 131
Using A.Pack for Playback and Decoding 134
Setting Up Stereo Playback 134
Setting Up Multi-Channel Playback 134
Playing an AC-3 Stream 136
Decoding an AC-3 Stream 136
Getting Information 137
Options for Spatial Mixing 138
Using the Center Channel 138
Using Surround Channels 138
Limitations of the LFE Channel Versus the Subwoofer Signal 138
Accommodating Stereo Playback 139
Contents 7
Appendix B
More About DVD 141
DVD in Detail 141
Comparison of DVD and CD 141
Disc Types and Capacities 142
Physical Formats 143
Logical Formats 143
Video in DVD-Video 144
Audio in DVD Video 145
DVD-Audio Compatibility 148
Subtitles in DVD-Video 148
Text in DVD-Video 148
Navigation on a DVD-Video 149
File Structure of a DVD-Video 150
Copy-Protection and Region Coding 150
Specifications for DVD Compliance 152
Video 152
Audio 153
How the Technology Works 154
About Macrovision Copy-Protection 155
Index 157
8 Contents
P R E F A C E
9
System Requirements
You need the following hardware and software to use DVD Studio Pro:
Hardware Requirements
m Computer with a G4 processor and an Apple-supplied AGP graphics card
m 128 megabytes (MB) of random-access memory (RAM)
m DVD drive
m Display software and hardware capable of 1024 x 768 pixels at thousands or
millions of colors
m For writing to disc: DVD-R recorder, DVD-RAM drive, or DLT tape drive
You should have at least twice as much hard disk storage space as the size of your project.
(For DVD-5, for example, you need 5 gigabytes [GB] for the source files, and another 5 GB to
hold the multiplexed project.) For best multiplexing performance, dedicate two or three
Ultra Wide A/V or FireWire hard disks to your project (make sure they contain only your
media and no other programs that might fragment the disk and decrease performance). If
you have three disks, use one for video assets, one for audio assets, and the third for the
finished files. If you have two disks, use one for source assets and one for final files.
Software Requirements
m Mac OS 9.0.4 or 9.1
m QuickTime Pro 4.1 or later (included on the DVD Studio Pro CD)
m Apple DVD Player 2.3 or later (installed with the DVD Studio Pro software)
m Edited video and audio files in MPEG or AC-3 format; or video creation and editing
software, such as Final Cut Pro or any video and audio editing programs that support
QuickTime and its component technology
m MPEG encoding software, such as the QuickTime MPEG Encoder included with
DVD Studio Pro. ( You can also use any MPEG encoder, software or hardware based, that
produces DVD-compliant streams.)
m Adobe Photoshop (version 4.0 or later) for creating menus and buttons
10 Preface
Software Installation and Registration
When you install DVD Studio Pro, the following items are placed on your hard disk in the
DVD Studio Pro folder:
m DVD Studio Pro application
m Subtitle Editor application
m A.Pack application
m DVD Studio Pro manual in PDF format
m Read Me file for DVD Studio Pro
If necessary, Apple DVD Player version 2.3 is also installed.
The DVD Studio Pro CD also comes with the latest version of QuickTime Pro, which must be
installed separately.
Important You need to install and register DVD Studio Pro and QuickTime Pro before you
can use the QuickTime MPEG Encoder.
DVD Studio Pro helps you with the last three parts of this process.
12 Preface
Authoring With DVD Studio Pro
The role of DVD Studio Pro is to orchestrate your linear video and audio material and
graphics into interactive DVD-Video, complete with menus, buttons, subtitles, and alternate
languages or sound tracks. You can script buttons to perform actions, define links between
parts of your material, and see a real-time preview of your DVD as you create it.
Here are the general steps for authoring your material in DVD Studio Pro:
1 Import your edited video, audio, graphics, and subtitle files into the program.
2 Create one or more tracks (a track is a segment of video, audio, and subtitle information).
3 Create one or more menus to define the structure of your DVD.
4 Add buttons to your menus to allow users to navigate.
5 Create interactivity in the form of scripts, slideshows, and Web links.
6 Link the tracks and interactive material on your DVD to menu buttons and to functions on
the remote control.
7 Preview and test as you go, using DVD Studio Pro’s real-time emulator/multiplexer.
8 Build the project as a set of files on your hard disk.
9 Record a DVD-R or DVD-RAM, or format a DLT tape, using DVD Studio Pro’s built-in
recording module.
Creating a Disc
The output of DVD Studio Pro is a folder on your hard disk containing multiplexed files.
(Multiplexed means that the contents of several different kinds of files—video, audio, and so
forth—have been combined into one file.)
You can open and play the contents of this folder as if it were on a DVD, using the Apple DVD
Player, or you can use the following methods to put the material on a disc:
m DVD-R: If you have a DVD-R drive, you can use the built-in recording module of
DVD Studio Pro to write the VIDEO_TS directory directly to a DVD-R recordable disc. The
resulting disc can be used in most DVD-Video players.
m DVD-RAM, DVD-RW, or DLT tape: You can use the built-in recording module of
DVD Studio Pro to write the VIDEO_TS directory to these media. If you want the
disc to work in standard DVD-Video players, you can send the disc or tape to a service
bureau or replicator.
Where to find
more information
DVD Studio Pro Help If you need help working with the software after you have
completed the tutorial, look in DVD Studio Pro Help by choosing
DVD Studio Pro Help from the Help menu.
Read Me file You can find late-breaking information in this file on the
DVD Studio Pro CD.
Apple DVD Studio Pro For general product information and updates, visit the Apple
Web site DVD Studio Pro Web site at www.apple.com/dvd
14 Preface
C H A P T E R
15
Getting the Tutorial Files and Starting the Program
If you haven’t installed DVD Studio Pro yet, follow the instructions in the Preface, “Getting
Started With DVD Studio Pro,” on page 9. Be sure to look at the Read Me file for any new
information about DVD Studio Pro.
You need at least 500 megabytes (MB) of free space on your hard disk to complete the
tutorial. The tutorial files require about 300 MB of free space. You need an additional 200 MB
to write the finished project.
1 Copy the Tutorial folder from the DVD Studio Pro CD to your hard disk.
When you’re finished copying, your hard disk should contain a folder with the following files:
2 Double-click the DVD Studio Pro icon (in the DVD Studio Pro folder) to start the program.
The DVD Studio Pro workspace appears. You use the windows in this workspace to build
your DVD project.
16 Chapter 1
DVD Studio Pro Building Blocks
In DVD Studio Pro, every project is constructed from these basic components:
m Assets: Video, audio, graphics, and subtitle files.
m Tracks, markers, and stories: Each track has up to 9 video streams, 8 audio streams, and
32 subtitle streams, linked together in a single structure (the DVD specification calls these
video title sets). Each track can have up to 99 markers (spots within the track where you
can start play). Markers can be arranged in sequences called stories, which can be thought
of as “virtual” tracks.
m Slideshows: Each slideshow can use up to 99 assets, which can be MPEG video streams or
still pictures in PICT format. Up to 8 audio streams can be assigned to each asset.
m Menus and buttons: A menu is a graphic backdrop for buttons, which allow the viewer to
interact with your program. You can create as many menus as you want. Each menu can
have up to 36 buttons.
m Scripts: These are simple programs that can add sophisticated interactivity to your DVD.
DVD Studio Pro scripts can also use the special memory (NVRAM) in the Philips
Professional DVD Player.
m Languages: These labels make it easy to construct multi-language titles. You can put up
to 16 languages on a disc.
18 Chapter 1
Importing Assets
The various files in your project—video, audio, and graphics files—are collectively called
assets. You can import assets individually or in groups, either by using the Import command
or by dragging files from the Finder.
5 When all the files have been selected, click the Import button to import them into the
Assets container.
3 When you’re finished adding assets, make sure the Assets container has the following files:
20 Chapter 1
Viewing the Properties of an Item
Every item in a DVD project has properties and settings that affect its behavior within the
project. You can view and change most properties using the Property Inspector. The Property
Inspector always shows the properties of the currently selected item.
To see the properties of an item:
m Click the item in any of the DVD Studio Pro windows.
Note: If you don’t see the Property Inspector, choose it from the Windows menu.
3 In the Region Code pop-up menu, leave the default setting—All Regions Selected—for now.
4 Now is a good time to save your project. Choose Save As from the File menu and give it a name.
Note: It’s a good idea to save your project periodically throughout this tutorial so that you
don’t need to repeat sections in case you are interrupted.
Adding a Track
The pieces of video and audio that make up your DVD are held in tracks. A track is simply a
collection of video, audio, and subtitles that play as a unit. A DVD can have anywhere from 1
to 99 tracks. Each track can contain up to 9 video streams (angles), 8 audio streams (different
sound tracks), 32 subtitle streams, and 99 chapter markers and stories.
Your first track will have one video and two audio streams.
1 Click the Add Track button at the bottom of the Graphical View.
2 In the Track area of the Property Inspector, name the track OffBeat Scenes. ( You can also
change the name in the text box on the track tile.)
3 In the Video area of the Property Inspector, choose OffBeat Scenes.m2v from the Asset pop-
up menu.
The assets available in this pop-up menu are those that you imported earlier.
22 Chapter 1
4 Click the audio icon on the track tile.
9 Instead of using the icons on the track tile, you can drag an audio stream directly to a track.
Select the asset Heartland – AC-3 in the Assets container (in the Project View) and drag it to
the OffBeat Scenes track.
Its name appears in the Asset pop-up menu in the Property Inspector.
10 Name the new stream Example 2 and choose German from the Language pop-up menu. The
Audio Streams container should look like this:
4 Click the Stop key to return to the DVD Studio Pro workspace.
For your sample project, you’ll create a short track that has two alternate angles.
1 Create a track by dragging the Angle 1.m2v asset into the Graphical View.
2 Change the track’s name to Views.
Note: When you create a video track by dragging an asset into the Graphical View, the
Property Inspector shows the video assets by default. Select the track to access the Track area
of the Property Inspector. You can name the track here, or use the text box on the track tile.
3 Drag the audio stream Angle 1 - AIFF onto the track tile to add it.
24 Chapter 1
Adding Angles
1 Click the track’s angle icon.
Angle icon
5 Add a third angle named Angle 3 and assign it the Angle 3.m2v asset.
Previewing Angles
You can preview your multi-angle track.
1 Select the track, then click the Preview button.
2 While the track is playing, click the Angle key in the lower portion of the Preview window to
switch to other views.
Angle key
Note: There may be a short delay before the new angle appears. This is normal. If
previewing angles does not work, make sure Show All Angles is selected in the Preview area
of the Preferences window.
If the new menu tile overlaps the existing tile, drag the new tile to another part of the
Graphical View.
2 Name the menu Main Menu. (This menu will be the main menu for your project.)
Note: If the menu tile doesn’t look like the one below, choose Large from the View Size
pop-up menu in the Graphical View to see the large version of item tiles.
3 In the Property Inspector for this menu, make sure the Picture area is expanded. If not, click
the triangle next to Picture.
4 Select a Photoshop file to use for this menu by choosing “Still menus.psd” from the Asset
pop-up menu.
26 Chapter 1
When you use a Photoshop file, you can specify that different layers of the file be used
for the background of the menu, as well as for the different states of the buttons that
appear on the menu. The layers of the Photoshop file are available in different areas of the
Property Inspector.
5 In the Main Menu tile, double-click the rectangle (also called the thumbnail area).
A window called the menu editor opens, with one button automatically created.
6 In the Picture area of the Property Inspector, click the underlined property labeled “Layers
(always visible).”
A box appears that displays the available layers in the Photoshop file you are working with.
Note: It’s easiest to work with Photoshop layers if you organize the layers according to the
button positions in the containers in the Project View. (First the layers for the background,
then the layers for Button 1, then the layers for Button 2, and so on.) If you create empty
layers beginning with a hyphen (“-”), they appear as menu dividers in the Property
Inspector’s Layers menu.
8 Click OK.
9 The selected layers now appear in the menu editor. (The untitled button is still present.)
28 Chapter 1
Adding Buttons to a Still Menu
Buttons allow the user to interact with the DVD. When you create a new menu, one button
appears automatically. You can work with this button and add more as needed. All menus
must have at least one button, and can have as many as 36.
1 Position the pointer inside the button rectangle and drag it to the graphic labeled OffBeat
Action.
The button’s rectangle represents its “hot,” or active, area. When the viewer uses your DVD
on a computer and clicks inside the hot area, the button is activated (it changes color and the
action assigned to it is carried out).
2 Resize the active area of the button by dragging a corner. The active area should be slightly
larger than the graphic.
3 To create a button for the graphic labeled OffBeat Crew, drag from the upper-left corner of
the graphic to the lower-right corner.
4 Repeat step 3 to create buttons for the rectangles labeled OffBeat Views and OffBeat Online.
When you’re finished, the names of the buttons appear in the menu editor.
30 Chapter 1
For a still menu, such as the one you’re creating now, you can use the three State pop-up
menus in the Display area of the Property Inspector to specify additional layers of the
Photoshop file that will appear whenever a button is in a particular state.
Previewing Buttons
Now that you have set the selected and activated states for the Main Menu buttons, you can
preview them to see how they will look in a DVD player.
1 Select the Main Menu in the Graphical View.
2 Click the Preview button.
4 To see how a button will look when it’s activated, select it and then click OK on the
remote control.
Because these buttons are not yet linked to any actions, nothing happens when you activate
them, but you can see how they change color.
5 Click the Stop key to return to the DVD Studio Pro workspace.
Note: You can drag a still menu asset directly to the Graphical View to create a still menu,
but if you use this technique with a video asset you will create a track, not a menu. When you
create a motion menu, you need to use the Add Menu button.
2 Name the new menu Scene menu, and set its Picture Asset to OffBeat Menu.m2v.
32 Chapter 1
3 Choose “OffBeat menu - AIFF” from the Audio pop-up menu to add an audio stream to
the menu.
4 Choose Edit from the Item menu to open the menu editor (or double-click the thumbnail area).
The first frame of the selected video stream and one untitled button are visible.
5 Drag the button into position over the small “video window” in the lower-left corner, and
resize it to enclose the entire underwater image.
6 Draw five additional buttons (three for the remaining video windows, and one each for the
Main and Next arrows).
When you’re finished, your menu should look something like this:
Important You must create and edit the video asset you use for a motion menu (using a
program such as Final Cut Pro) before you work with it in DVD Studio Pro. The QuickTime
file used to create this motion menu is provided in the tutorial files (in the “Files to encode”
folder in the Tutorial folder). You cannot create or edit video files using DVD Studio Pro.
7 Using the Property Inspector, name the buttons at the top of the motion menu Main Menu
and Next and the buttons at the bottom Waves, Heat, Air, and Chill.
The video for a motion menu can be set to repeat (loop) indefinitely. For this project you will
set the menu to loop.
1 Set the Loop property to On in the Timeout area of the Property Inspector.
34 Chapter 1
When you’re finished, the Property Inspector should look something like this:
Adding Markers
When you play a track within a DVD project, it starts from the beginning. If you want to be
able to start playback at, or jump to, specific spots within a track, you insert chapter markers.
Every track has a “Start of track” marker, so the marker you add will be the second marker on
the track.
1 Click the marker icon on the OffBeat Scenes track to open the Markers container.
Note: When you type a time code, DVD Studio Pro sets the marker at the closest valid
location, which may not be the exact number you entered.
36 Chapter 1
Previewing Markers
You can see how markers work by previewing the OffBeat Scenes track.
1 Select the OffBeat Scenes track and click Preview.
2 Click the Next Track key (also called the Skip key) on the remote control to jump to the
next marker.
After you reach the last marker, the video track plays until the end. The Next Track key will
not take you from the last marker back to the “Start of track” marker.
3 Click the Stop key to return to the DVD Studio Pro workspace.
Creating a Slideshow
Besides tracks, which hold video and audio, a DVD can contain slideshows, which hold
sequences of still images or video clips, with or without audio. A slideshow can be set
to advance automatically or to wait for the viewer to click the Next Track key on the
remote control.
In this section you’ll add a slideshow to your project:
1 Click the Add Slideshow button in the Graphical View.
2 Name the slideshow Crew.
The list on the right shows all the assets in your project that are suitable for use in a
slideshow. To assemble the slideshow, you drag items from the Assets list on the right to the
Slide list on the left.
4 Drag the Slide 1 PICT file into the Slide list.
5 Add audio to the slide by dragging the audio stream Slide 1 - AIFF from the Assets list
onto the slide file.
38 Chapter 1
6 Add the remaining three slides (Slide 2, Slide 3, Slide 4) and their matching audio files.
Previewing Slideshows
1 Select the slideshow tile and click Preview.
2 You can use the Next Track and Previous Track keys on the remote control to jump to
different slides.
3 Click the Stop key to return to the DVD Studio Pro workspace.
40 Chapter 1
Jumping Somewhere When a Track Is Finished
A DVD often displays a menu after a video has finished playing. In your project you’ll set the
three main items to jump back to the main menu when they are finished.
1 Select the OffBeat Scenes track.
2 Using the General area of the Property Inspector, set the “Jump when finished” property to
Main Menu.
3 For the Views track and the Crew slideshow, also set the “Jump when finished” property to
Main Menu.
Now, when this disc is inserted into a DVD player, it will begin by displaying the main menu.
42 Chapter 1
3 Click the Stop key when you want to exit Preview Mode.
You have now completed the first part of this tutorial. To learn more about the features of
DVD Studio Pro, continue with “Expanding Your DVD,” next.
Creating a Story
A story is a collection of markers that play in a particular order. To create a story, you first
create the markers you want to use in the story. Then you move the markers that indicate the
beginning of each clip that you want to use to the Stories Folder. The markers that indicate
the ending point of the clip need to be created in the track, but they are not included in the
Stories Folder. (Unlike a standalone marker, a marker in a story plays only until the next
marker in a track is reached, even if that marker is not used in the story.)
For this project, you will create a story using the OffBeat Scenes track. The OffBeat Scenes
track already contains four markers. You will add four new markers to this track that will mark
the end of each clip. You will then move the four original markers to the track’s Stories
Folder to create the story.
Creating New Markers
1 Open the OffBeat Scenes track in the marker editor by double-clicking its thumbnail area.
The track appears at the “Start of track” marker.
2 Click the New Marker button and name the marker End of start in the Property Inspector.
3 Click the time code button and set the new marker at 10:15.
4 Create three more new markers:
m Add a marker named End of heat at 40:15.
m Add a marker named End of air at 1:08:15.
m Add a marker named End of chill at 1:42:15.
5 Close the marker editor.
1 Click the story icon on the OffBeat Scenes track to open the Stories Folder.
2 Choose New Story from the Item menu and name the story Highlights.
3 It is easiest to work with multiple containers within one track using the Tracks container in
the Project View. In the Project View, click the Tracks tab to access the Tracks container, and
click the triangle next to OffBeat Scenes to see the contents of the track.
You can pull the Tracks container away from the Project View and expand it to make it easier
to work in.
4 Open the Markers folder.
5 Drag the following markers from the Markers container to the Highlights story: Start of
track, Heat, Air, and Chill.
44 Chapter 1
Creating Interactive Markers
You can place buttons on top of tracks (or parts of tracks) that are assigned a video stream.
Buttons on tracks are called interactive markers. Like the buttons on menus, they allow the
viewer to choose various actions.
Because the video stream won’t usually include button graphics, you need to apply an
overlay image to define the shape and position of the buttons and their highlights. An
overlay image is a black-and-white graphic file (a PICT file or a layer of a Photoshop file).
You can apply an overlay to buttons and interactive markers.
Important Interactive markers are created using the subtitle feature of DVD players, so you
cannot combine subtitles and interactive markers within one track.
Note: To use an overlay image you must have already created one and added it to the Assets
container. The tutorial files include overlay images for you to use.
For your project you will add buttons to the second and third markers in your story, Heat
and Air. (These are actually the third and fifth markers in the track.)
1 Double-click the thumbnail area on the OffBeat Scenes track to open the marker editor, and
choose Heat from the marker pop-up menu.
2 In the Buttons area of the Property Inspector, choose “Overlay for track buttons” from the
Overlay Picture pop-up menu.
3 For the Normal state of the button, choose the medium gray in the pop-up menu, and set its
transparency to 80 percent.
5 Draw buttons enclosing the two button images and their text.
Because you are using an overlay image that contains button graphics, the shape of the
buttons will reflect the overlay image, instead of being a solid rectangle.
You should now see the highlights outlining the button images in the video.
6 In the Property Inspector, name the button enclosing the left-pointing arrow Action Menu,
and name the button enclosing the right-pointing arrow Main Menu.
7 Set the “Jump when activated” properties for the two buttons:
m Action Menu: Scene menu
m Main Menu: Main Menu
m For this track, you will use the same buttons in both markers. The Use Buttons Of
property lets one marker inherit the settings of another.
46 Chapter 1
8 Jump to the next marker that you want to create buttons for, Air.
9 In the Property Inspector, set the Use Buttons Of property to Heat.
You do not need to re-create the buttons on the Air marker if you set the Use Buttons Of property.
Important Interactive markers are created using the subtitle feature of DVD players, so you
cannot combine subtitles and interactive markers within one track.
6 Make a second subtitle, named German subtitle, and set its asset to German.spu and its
language to German.
When you play your DVD and click the Subtitle key on the remote control, you can switch
back and forth between English and German subtitles.
48 Chapter 1
For this project, you’ll create a menu that lets the viewer know that the Web browser is
opening and loading the specified URL. You’ll link this menu to a button on the main menu.
1 Add a new menu to your project by dragging the asset “Still menus.psd” from the Assets
container to the Graphical View.
2 Name the menu Online.
3 Double-click the thumbnail area to open the menu editor.
4 In the Picture area, click “Layers (always visible)” and select the layers shown below.
8 Select the background image of the menu to access the menu’s properties. In the @ccess
area of the Property Inspector, set the @ccess Type to URL.
9 Type Web Site as the @ccess name and http://www.apple.com/dvd/offbeat as the
@ccess URL.
1 Open the Main Menu in the menu editor and select the Online button.
2 Choose Online as its “Jump when activated” property. ( You left this property as “not set”
when you assigned the other button properties in the first part of the tutorial.)
3 Close the menu editor, then open the Main Menu in Preview Mode to see if the Web link works.
4 Use the arrow keys to select the OffBeat Online button and click OK on the remote control.
Your browser software should open.
5 Close the browser window to return to Preview Mode.
50 Chapter 1
Writing a Simple Script
DVD Studio Pro supports the DVD-Video scripting language, which allows you to construct
sophisticated interactivity that works on all DVD players. In this section you’ll add a short
script to your project that randomly plays one of four tracks or slideshows.
This script has two parts. The first part generates a random number between 1 and 4. The
second part plays a particular item in your project depending on which number is generated.
1 Click the Add Script button in the Graphical View.
2 Name the script RandomPlay.
52 Chapter 1
Building the Finished Project
You have now completed both sections of the tutorial project. All that remains is to get it
onto the desired output media. DVD Studio Pro can write directly to DVD-R, DVD-RAM, or
DLT. It can also save completed projects to your hard disk. The process of formatting the
project data so that it’s ready for a DVD is called building the disc or multiplexing (muxing
for short).
Follow these steps to build the tutorial project:
1 Choose Build Disc from the File menu.
2 Choose a location.
As the disc is being built, a Progress window shows data about the multiplexing process.
When building is finished, the Log window opens, showing a completion message and listing
any errors that have occurred.
The end result is a folder called VIDEO_TS, which contains the complete DVD-Video structure.
54 Chapter 1
4 Choose Open VIDEO_TS from the File menu.
What’s Next?
Congratulations! You’ve successfully made your first DVD project. Read the rest of this
manual to learn about preparing source material; using the QuickTime MPEG Encoder and
A.Pack application to prepare DVD-compliant files; working with languages and the Subtitle
Editor; and writing projects to DVD-R, DVD-RAM, or DLT.
57
Capturing Video and Audio
For best results, you should create and capture your video and audio using the settings
required for DVD:
m Frame size: 720 x 480 pixels (NTSC); 720 x 576 pixels (PAL)
m Frame rate: 29.97 frames per second (NTSC); 25 frames per second (PAL)
m Aspect ratio: 4:3 or 16:9
m Audio resolution: 16 or 24 bits
m Audio sample rate: 48 kHz or 96 kHz
If you are unable to capture and edit using these settings, most MPEG encoders can convert
from other resolutions and sizes.
You can use Final Cut Pro 1.2.5 or later to capture, import, edit, and export 16:9 anamorphic
media for NTSC and PAL. When you capture or import, you need to specify that the material
is 16:9 anamorphic.
Note: 16:9 anamorphic is different from letterbox (4:3 aspect ratio). Although both are
sometimes called widescreen, to a DVD-Video player they are different formats. 16:9
anamorphic is squeezed horizontally and looks unnaturally tall and skinny on a 4:3 screen.
With letterbox, the widescreen effect is accomplished by placing the widescreen image in a
field of 4:3 black. The width of the image determines its vertical size. This leaves bands of
black across the top and the bottom of the 4:3 screen.
You have two options for anamorphic transfer. In both cases the recorded image requires an
NTSC or PAL monitor with a 16:9 setting to look correct.
m If you use a camera with an anamorphic lens adapter, the image appears stretched in the
camera’s viewfinder.
m If you use a DV camera set to 16:9 mode, the image looks correct in the viewfinder.
58 Chapter 2
Segmenting Your Material
If you plan to divide your project into multiple tracks, your source material must be divided
in the same way. It’s easiest to segment the material when preparing it for encoding. If your
encoder works with QuickTime movies, you can segment your tracks once they are digitized
into the computer.
Usually you work with your primary video and audio tracks together as a single file until they
are encoded. At that point they need to be separated into audio and video “elementary”
streams.
The end result of this phase of the production is
m edited video material either on tape or in digital format, such as QuickTime
m edited audio material either on tape or in digital format, such as SoundDesigner,
AIFF, or WAVE
3 In the settings dialog box, set options appropriate for your material.
m Select Save Audio if you want to encode both audio and video. (The QuickTime MPEG
Encoder outputs PCM audio only.)
m Select Write Protocol File to create a detailed encoding log in the destination folder.
The estimated size for the quality level you chose appears in the Info area.
60 Chapter 2
A progress window shows you information during the MPEG-2 export. Click the
expansion triangle to see the currently encoding frame.
The QuickTime MPEG Encoder produces streams that meet the criteria for multi-angle use:
m All streams must be the same length.
m All streams must have the same resolution and frame rate.
m The length and pattern of GOPs (Group of Pictures) must be the same on all tracks
(angles). (Use an encoder that allows you to turn scene detection off.)
m All GOPs must be closed. You cannot create angles for a track that has open GOPs.
Maximum Bit Rates for Multi-Angle Tracks
The maximum bit rate for a multi-angle track is different from other tracks. It is
calculated by adding the bit rate for each video stream to the bit rate for all of the
track’s audio streams.
m 5 angles or fewer: 8 Mbps maximum for each angle stream
m 6–8 angles: 7.5 Mbps maximum for each angle stream
m 9 angles: 7 Mbps maximum for each angle stream
Encoding Audio
DVD Studio Pro accepts audio streams in these formats:
m PCM audio (AIFF, SoundDesigner, or WAVE format, 16- or 24-bit resolution, 48 or 96 kHz
sample rate, stereo or mono files)
m MPEG audio (MPEG-1, layer 2 audio, 48 kHz resolution, 32–384 Kbps data rate. MPEG-2
audio is not supported.)
m Dolby AC-3 audio
The QuickTime MPEG Encoder outputs PCM audio only.
Note: All audio streams used within one slideshow must have the same format (for example,
MPEG or PCM). All audio tracks for motion menus must have the same format.
For more information on the different audio formats, see “Audio in DVD Video” beginning on
page 145.
62 Chapter 2
The A.Pack Application
The preferred audio format for DVD-Video discs is Dolby Digital (also known as AC-3). To
encode AC-3 audio, you can use the A.Pack application supplied with DVD Studio Pro. For
more information, see Appendix A, “Using A.Pack to Encode AC-3 Sound,” on page 125.
m Make horizontal lines taller than 1 pixel so they won’t flicker on TV screens.
m Consider various shapes for your highlighted buttons—they don’t have to be rectangles.
m Normal-state buttons that are always visible can be merged with the background layer.
That way, you’ll only need a separate layer for the highlighted and activated state of each
button.
m If you link a Photoshop file to a DVD Studio Pro project and then later reorder or add
layers to the file, DVD Studio Pro can relink layers to their assigned buttons or menu, as
long as the layer names are the same.
64 Chapter 2
Creating Video for Interactive Markers
Interactive markers are buttons that appear “on top of ” tracks, using the subtitle feature. If
you want buttons in a track, you need to create video that includes button images and an
overlay graphic (PICT or Photoshop) for defining the button highlights.
You can create composites using a standard video editing tool like Final Cut Pro.
66 Chapter 2
C H A P T E R
67
Setting Preferences for a New Project
You use the Preferences window to configure certain settings for new projects.
To set preferences:
1 Choose Preferences from the File menu.
68 Chapter 3
Setting Disc Properties for a New Project
Creating your project proceeds more smoothly if you set certain properties for the disc at the
outset.
To set disc properties:
1 Select the disc by clicking an empty area of the DVD Studio Pro workspace.
2 If it’s not already open, choose Property Inspector from the Windows menu. Click the
triangles to expand and collapse the various areas.
The standard remote control keys and their default assignments are listed here:
m Title: Goes to the main menu of the DVD-Video project. A disc is required to have one
and only one title menu.
m Root (called Menu in the Property Inspector): Goes to the main menu for a single title
set of a disc. A title set is required to have one and only one root menu.
m Track: Displays a selection of the individual clips in a title set. (Optional)
m Audio: Allows viewers to change to another audio stream; for example, from English to
German. (Optional)
m Subtitle: Allows viewers to choose subtitles. (Optional)
m Return: Usually goes back to the item that was playing before the viewer displayed a menu.
70 Chapter 3
Views Available in DVD Studio Pro
The DVD Studio Pro workspace has several views and windows to represent the facets of
your project. The workspace is flexible: you can open as many or as few windows as you like,
and move the windows anywhere on your screen.
Items in the DVD Studio Pro workspace are color-coded: menus and their assets are blue,
tracks are green, slideshows are gray, and scripts are orange.
m The Graphical View: Represents your project as tiles and shows the links among items.
m The Project View windows: Hold the pieces of your project in folder-like containers,
accessible by tabs.
m The Property Inspector: Shows the information and settings belonging to a selected item.
m Editors: Special windows for creating menus, markers, slideshows, and scripts.
m Matrix Views: Allow you to link items together efficiently.
m Preview Mode: Shows you how your project looks and works.
m Troubleshooting windows: Alert you to potential problems in your project.
Property Inspector
Graphical View
Project View
You can specify whether these links are visible in the Lines pop-up menu. Choose Configure
to show or hide specific kinds of links.
72 Chapter 3
If you specified a disc medium in the Property Inspector for the disc, the bar next to the disc
icon estimates the size of the finished project. If the size is larger than the selected medium
for the disc, the bar appears red.
Thumbnail area
The Project View represents your DVD project as icons inside containers accessible by tabs.
Items in tabs are not actual files, but links to files (like Finder aliases). There are six tabs:
Assets, Menus, Tracks, Slideshows, Scripts, and Languages. Some item types (for example,
tracks) have subcontainers.
m A number in parentheses after an item name indicates how many items are assigned to
that item.
m An arrow (“->”) followed by a name represents something an item is linked to.
m An item listed in italics is incomplete (some of its properties still must be set).
Working With Items in the Project View
To reorder items:
m Drag them to new positions in the container. Most items are written on the disc in the
order specified.
74 Chapter 3
To open a container in a separate window:
m Drag the container’s tab.
Note: If you close a container that is in a separate window, that container does not
reappear in the Project View window. To make the container and its tab reappear,
close the Project View window and then re-open it by choosing Project View from
the Windows menu.
76 Chapter 3
There are three ways to edit or assign a property, depending on the kind of property it is.
m Text properties: The property itself (for example, the item’s name) is in a text box to
indicate it can be changed. To change it, select it and type in the text box.
Click a property in a
text box to edit it.
To collapse or expand all the properties of all the items of a selected type (for example, all
menus):
m Select an item and choose “Collapse all Properties” or “Expand all Properties” from the
Item menu.
To copy and paste properties to another item:
1 Select the item whose properties you want to copy, then choose Copy Properties from the
Edit menu.
2 Select the target item and choose Paste Properties from the Edit menu.
3 In the list that appears, choose the properties to paste and click OK.
Only properties that can be pasted appear in the list.
78 Chapter 3
The individual sections of the Property Inspector in which you specify item settings are
known as areas. The following sections describe some of these in detail.
Disc area
m Name: This name is for your use. It does not have to match the filename of the project
on your hard disk, and it is not included on the final DVD.
m Label: You can assign a Finder label to the disc.
m Comment: You can enter information or reminders here.
m Estimated Size: DVD Studio Pro estimates the size of the completed disc based on the
assets you have assigned so far.
General area
m Disc Media: Choose a type of disc from this pop-up menu. If you specify a single- or
double-sided disc, DVD Studio Pro keeps a running estimate of the size of your project
and alerts you if your project may be getting too big to fit on your disc. A bar in the
Graphical View shows you how much space is remaining.
m Region Code: Region codes are areas of the world where your disc can play (if the player
has a matching region code). You can choose items from the pop-up menu or click the
underlined text and choose items in the list that appears. (For more information, see
“Copy-Protection and Region Coding” on page 150.)
m Number Of Sides: Specify a single- or double-sided disc. DVD Studio Pro indicates which
side of the disc you are working on.
Settings in this area specify the size of menus (720 x 480 for NTSC, 720 x 576 for PAL) and the
aspect ratio (4:3 full screen or 16:9 widescreen). If you assign a video or picture asset to a
menu, these settings automatically match those of the asset.
Variable Names area
You can create and name up to eight global variables (also called GPRMs), which store data
used by scripts. Variable names can be changed at any time. For more information, see
“Assigning Global Variables for Scripts” on page 100.
Remote-Control area
See “Setting Remote Control Properties for a New Project” on page 70 for information about
this area of the Property Inspector.
Time Search / Time Play
Some DVD players can access material on a disc using time values. DVD players reset the
content of all variables (GPRMs) whenever Time Search or Time Play is used. If your project
depends on maintaining variable values, you can turn off this option.
80 Chapter 3
Important Properties
You can assign any property using the Property Inspector, but the Property Inspector is
especially useful for assigning particular types of properties. Some of these are described in
the following sections.
Action / Jump Action
Action menus list all menus, tracks, markers, scripts, slideshows, slides, and stories in your
project. Depending on the item selected, the menu may include other predefined actions.
Actions you can specify include
m startup action (when a disc is inserted)
m jump action (when a button is activated or an item finishes playing)
m remote control key assignments (when the viewer clicks a remote control key)
m timeout action (when the viewer does not make a choice within a set time)
Button Link
This button property specifies which button is selected next if the viewer presses an arrow
key. You can link to a button’s name, or you can use relative options (previous, next) based
on button positions in the containers in the Project View.
By default, DVD Studio Pro sets button links using a wraparound strategy (each button is
linked to the next, and the last is linked back to the first).
Default Button
This menu property lists all the buttons defined on the active menu and specifies which
button is selected when the menu appears.
You can select “1st button” (based on the button positions in the containers in the Project
View), or you can select a button by name.
Picture, Layer, and Hilite
These properties specify the appearance of menus and buttons in their activated and
selected states.
Layer properties list all the layers in a Photoshop file. You specify layers to use for the
background of a menu and the normal, selected, and activated states of each button.
Selected layers are indicated with the • symbol. Photoshop layers that have names beginning
with “-” appear as dividers in the Layer menu.
Pre-Script
This property allows you to specify a script to run before an item begins playing.
Specifies the actions of remote control keys when the item is playing. Actions you choose for
markers override actions you choose for tracks, which in turn override actions you choose
for the disc as a whole.
Selection Condition
Highlights the selected button (instead of the default one) if a chosen track, audio stream,
or subtitle stream was playing just before this button’s menu appeared. In the menu, tracks
are specified by name and audio or subtitle streams by number, based on the item order in
the container.
The Editors
Besides the main workspace windows in DVD Studio Pro, smaller, more task-specific
windows are available when you are working with menus, markers, scripts, and slideshows.
The appearance of the editor depends on the kind of asset you are working with.
Preview Mode
You can preview your project at any time without waiting for it to be multiplexed. See
Chapter 6, “Previewing, Testing, and Building Your DVD,” on page 113 for more information
about Preview Mode.
82 Chapter 3
Troubleshooting Windows
DVD Studio Pro includes several features that check your material, making sure that all links
are valid and all necessary settings have been made.
m The Asset Files window shows the name and location of every asset file used in your
project. You can use it to locate missing files or to change the source files assigned to
particular assets.
m A project description file contains a specially formatted description of every aspect of a
DVD Studio Pro project, including absolute paths specifying the location of each file.
m The Log window displays status messages, copy-protection details, and disc build errors.
It opens automatically if you try to import assets with invalid formats.
For more information on these views, see Chapter 6, “Previewing, Testing, and Building
Your DVD,” on page 113.
The Matrix Views show assets, jumps, or layers across the top and containers along the left.
A right-pointing arrow indicates a collapsed container; a downward-pointing arrow indicates
an expanded one. Gray dots indicate assignments within a collapsed container. Black dots
indicate assignments within an open one. A container must be open to change its
assignments.
To open a Matrix View:
m Select a disc or menu and choose a command from the Matrix menu.
The commands in the menu change depending on what you’ve selected.
The Asset Matrix shows assets (video, audio, and subtitle streams) across the top and
containers (menus and tracks) down the side.
84 Chapter 3
Jump Matrix
The Jump Matrix shows possible jump actions along the top and containers (disc, menus,
buttons, tracks and so on) along the side.
The Layer Matrix shows the layers of a Photoshop file along the top and the button states
(normal, selected, and activated) along the side.
Note: If you arrange the layers in your Photoshop files in a logical order, you will see
patterns in the Layer Matrix that can help you spot mistakes.
86 Chapter 3
C H A P T E R
87
Each language on a disc must have its own menu assets. DVD Studio Pro automatically adds a
container for the new language to each menu item and adds a property for the language to
the Pictures and Audio areas of the menu properties.
Important The assets used for alternate-language versions of a menu must have the same
format and structure (in the case of Photoshop files). If you assign a Photoshop file, the files
assigned to the other languages must have the same number of layers, the layers must be in
the same order, and they must have the same names as those in the first file assigned. If you
assign a video stream to a menu, the streams assigned to the other languages must be exactly
the same length.
88 Chapter 4
Setting Up Multiple Language Audio in Slideshows
If you assign multiple language audio streams to each slide, make sure that they are always in
the same order. For example, add English first, then German, and then French. Then in the
Property Inspector for the slideshow, set Audio Language 1 to English, Audio Language 2 to
German, and Audio Language 3 to French.
To edit the names and colors that appear in the color menu of the subtitle editor:
1 Click Color Menu Settings.
2 In the Color Menu Settings dialog box, select and change the names of any colors.
3 Click a color, then use the color picker to choose a new color.
The color picker is described in the onscreen help for your operating system.
90 Chapter 4
Starting a New Subtitle Project
1 Open the STE.
Several windows appear. You can show or hide any window using the Windows menu.
2 In the Project Settings dialog box, click Select Project Movie and choose a source movie.
5 Click Rendering Options to select the appearance of your subtitles when rendered.
You can specify border and shadow options (color and offset) for subtitles. These settings
are used when the finished project is complied into a subtitle stream. Click OK when
you’re finished.
6 Click Preview Window Color to specify a color for the background of the Preview window.
This color does not influence how subtitles are rendered.
92 Chapter 4
7 Navigate to the spot in the movie where you want to begin your subtitle by doing one of the
following:
m Use the controls in the QuickTime Preview window.
m Enter a new time code in the time code box in the upper-left corner of the Preview
window.
m Select a marker’s name in the Marker window or the Markers menu.
m Choose the Find command from the Markers menu to search for a marker by name.
m Choose “GoTo in Movie” from the Edit menu and enter a time code.
m Select the subtitle’s In point or Out point and choose Lock or Unlock from the Subtitle menu.
Linking Subtitles
When linking is turned on, the Out points of the linked subtitles change dynamically to keep
the subtitles linked. You can still edit the In points.
To link a subtitle to the next subtitle:
1 Select a subtitle.
2 Click the magnet icon next to the Out time code, or choose Link from the Subtitle menu.
94 Chapter 4
Importing Subtitles
You can import subtitles from a plain text file, such as a script or EDL. The text file must
contain three fields for each entry:
m start time code for the subtitle
m end time code for the subtitle
m subtitle text ( You can specify line breaks within a single screen of subtitles by inserting the
HTML paragraph tag <P> into the text to be imported.)
To import subtitles:
1 Choose Import from the File menu, then choose Subtitles from the submenu.
2 Select the file you want to open.
96 Chapter 4
C H A P T E R
5 5 Using Scripts
The DVD-Video specification includes a simple yet powerful scripting language.
DVD Studio Pro gives you full access to this capability. You can add sophisticated interactivity
and control to a project with only a few simple scripts.
Scripts in DVD Studio Pro are created as separate items within a project, so they can be
assigned easily to any item that supports a script. Scripts can be assigned to buttons or
attached to the start or end of any track, story, menu, or marker.
With scripts you can
m allow viewers choices that affect what buttons, menus, and tracks they see
m add random play to your project
m allow viewers to create a playlist of favorite tracks
97
Creating a Script
You use the script editor to enter the text of your scripts.
To open the script editor:
1 Double-click a script tile.
98 Chapter 5
Assigning Scripts
Once you create a script, you can assign it as the action for a button, track, menu, marker,
story, slideshow, or remote control key.
To assign a script:
1 Create the script.
2 Select the item to which you want to assign the script.
3 In the Property Inspector, choose the script from the appropriate pop-up menu.
Using Scripts 99
Assigning Global Variables for Scripts
You can create and name up to eight global variables (also called GPRMs) for scripts. The
variables store data used by scripts. To create a variable, you use it in a script or name it in the
Property Inspector. The variables are stored as properties of the disc.
Important DVD players reset the content of all variables whenever the viewer uses the
Time Search or Time Play functions of the remote control. If your project depends on
maintaining variable values, you should prohibit use of these functions. To do so, view the
disc in the Property Inspector, open the Remote-Control area, and choose Prohibited from
the Time Search / Time Play pop-up menu.
100 Chapter 5
Viewing Script Properties
To view or change information about a script:
1 Select a script.
2 In the Property Inspector, make the changes you want.
The DVD-Video standard limits the number of commands in a script to 128. One line of a
script is roughly equivalent to one command. The Commands Used and Commands Free
values give an indication of the size of the script.
Scripting Reference
Numbers
There are three ways to enter numbers in scripts:
102 Chapter 5
Labels
Any line in a script can have a label associated with it. You can jump to a label with the gotoLabel
command. A label must begin with a letter.
Example label: A= 5
Comments
A line with a # sign at the beginning is not executed. You can use these lines to write notes about the
script or to disable certain lines of the script.
Operators
Assignment
Assigns the value on the right to the variable on the left. The value can come from another
variable, a constant, or a built-in function.
Examples A = B
A = 5
A = getAudioStream()
Addition
Adds the value from the right to the variable on the left.
Examples A += B
A += 7
Subtracts the value on the right from the variable on the left.
Examples A -= B
A -= 3
Multiplication
Multiplies the variable on the left by the value on the right; stores the result in the variable on
the left.
Examples A *= B
A *= 8
Division
Divides the variable on the left by the value on the right; stores the result in the variable on
the left. The result is truncated to an integer.
A division by zero results in $FFFF or 65535.
Examples A /= B
A /= 19
Modulo
Divides the variable on the left by the value on the right; stores what’s left over (modulo) in
the variable on the left.
Examples A %= B
A %= 20
104 Chapter 5
Bit-wise And
Examples A &= B
A &= 6532
Bit-wise Or
Examples A |= B
A |= 456
Bit-wise Exclusive Or
Examples A ^= B
A ^= 21
Random Number
Examples A ?= B
A ?= 34
Functions
getAudioStream()
Example A = getAudioStream()
Example A = getSubtitleStream()
getRegionCode()
Yields the region code of the player. This is a binary value. Bit 0 means region 1, bit 1 means
region 2, and so on.
Example A = getRegionCode()
getCurrentItem()
Yields the current item (usually the item the script is attached to: a script, if the script was
called directly, or a menu or track, if the script was assigned as a pre-script).
Example A = getCurrentItem()
getLastItem()
Examples A = getLastItem()
if A == Track “drehung shell.dvd.mpv Track”
then nop
getCurrentTrack()
Yields the track currently playing or the track that was playing before a jump to a menu.
Example A = getCurrentTrack()
106 Chapter 5
Procedures
setAudioStream
Example setAudioStream 5
setSubtitleStream
Example setSubtitleStream 19
Commands
nop
Syntax nop
stop
This command is equivalent to clicking the Stop key on the remote control.
Syntax stop
Example stop
exitScript
This command, which only works with pre-scripts, exits from the running script immediately.
The player goes to the next item to which the pre-script is assigned.
Syntax exitScript
Example exitScript
return
This command returns from a menu to the player’s position before the jump to the menu.
(The player continues playing the track as if nothing happened.)
Syntax return
Example return
play
This command plays an object. Objects are tracks, markers, menus, buttons, and scripts.
play Button When this menu appears, this button is selected. Overrides
selection conditions normally assigned to the button.
play Script Calls that script, stopping the execution of the current script.
108 Chapter 5
Control Structures
if then
The “if ” clause enables comparisons and the execution of commands based on the result of
comparisons.
Several operators are available for the if clause:
Equal
This operator compares the values on both sides of the operator and executes the “then”
condition if they are equal.
Not Equal
This operator compares the values on both sides of the operator and executes the “then”
condition if they are not equal.
When you choose Build & Format Disc from the File menu, DVD Studio Pro automatically
includes the PROF folder in the proper place on the disc.
When you preview your project, the debugging window shows all current values stored in
the NVRAM. (See “Debugging in Preview Mode” on page 116.)
To store information in or read information from the NVRAM, you use four simple commands
in your scripts. (Using NVRAM commands on a player without installed NVRAM has no effect.)
poke
This command stores the value of the first global variable (by default, this variable is named
A; you can change the name in the disc properties) in the NVRAM at the address specified.
Example poke 33
110 Chapter 5
pokeAll
This command stores the values of all global variables (by default, these variables are named
A through H; you can change the name in the disc properties) in the NVRAM. A is stored in
the address specified, B is stored in the next address, and so on.
Example pokeAll 33
peek
This command retrieves the value from the NVRAM address specified and writes it to the
corresponding global variable. For example, if you store variables A–H in addresses 33–40
and you use the command peek 34, the command retrieves the value of address 34 and
writes it to variable B.
Example peek 33
peekAll
This command retrieves the contents of eight sequential addresses beginning with the
address specified and writes the contents in the same order in the global variables A–H.
Example peekAll 33
Important To avoid loss of information, after using the poke or pokeAll command,
instruct the player to wait at least one second before using it again. The player needs this
time to store the information safely.
A = 0
Peek 33
if A==0 then play menu "NVRAM not installed"
play menu "NVRAM installed"
112 Chapter 5
C H A P T E R
113
Using Preview Mode
1 Select an item.
You can select the disc, a track, angle, marker, story, menu, audio stream, video stream, or
slideshow. Selecting the disc previews its startup behavior.
2 Choose Preview from the Item menu, or click the Preview button in the Graphical View.
Other windows close, the Preview window opens, and you see or hear the selected item.
Note: Preview does not work if any of the following are missing:
m assigned picture assets for the menus for all languages you’ve created
m one basic asset assigned for each track and slideshow
m the startup action for the disc
3 Use the onscreen remote control to navigate through your project.
The remote control keys (except for the Stop key) will perform whatever actions you
previously assigned to them in the Property Inspector of the item you’re previewing. These
are typical actions assigned to the keys:
m Return key: Goes back to the previously active item.
m Next Track/Previous Track (Skip) keys: Jump to the previous or next point defined by a
marker. If no markers are assigned to a track, nothing happens.
m Arrow keys: Select menu buttons.
m OK key (also known as Enter key): Activates the selected menu button.
114 Chapter 6
4 To rotate through alternate audio streams, subtitle streams, or angle streams, click the Audio,
Subtitle, or Angle key in the lower-right portion of the remote control.
5 When you’re finished, click the Stop key on the remote control or press the Esc key on the
keyboard.
2 To specify the shape of pixels, choose an item from the pop-up menu marked with arrows
inside a square.
Choose square pixels to see how your project will look on a computer screen. Choose
rectangular pixels to preview the look of your project on a TV monitor.
3 For best results, stop and restart Preview Mode after specifying a different monitor.
116 Chapter 6
If you are authoring a disc for use on a Philips Professional DVD Player and you turn on Use
NVRAM in the Preferences dialog box, the debugging window also shows the values assigned
to its registers and buttons that allow you to clear, load, and save the contents of the
registers.
By paying attention to this information while stepping through your project with the remote
control, you can find errors in your action assignments, button links, and scripts.
When you import or add assets to a project, DVD Studio Pro checks whether they are valid. If
you try to import a video stream with an inappropriate frame rate or an audio stream with an
incorrect frequency, the Log window displays an error message.
DVD Studio Pro keeps track of which items on your DVD are not complete. Incomplete items
appear in italics. To see what’s missing, select the item and view it in the Property Inspector.
If you try to delete an item that is linked to other items, you see a message explaining the
error and listing the links. Click Show Item to view the item so you can unlink it from other
items. (Show Item is not available if the item is not assigned as a property of the disc.)
118 Chapter 6
To open the Asset Files window:
m Choose Asset Files from the Item menu.
120 Chapter 6
Building Your Project
When you’re finished putting together and testing your project, it’s time to build it. Building
combines the files in a process called multiplexing. The finished product is a folder called
VIDEO_TS containing all the information needed to write a DVD.
To build your project:
1 Choose Build Disc from the File menu.
If the command is not available, there are missing or incorrect settings in your project. Items
with incomplete settings appear in italics in the Project View. To see what’s missing, select
the item and view it in the Property Inspector.
Important If you have selected a disc medium in the disc properties, and DVD Studio Pro
estimates that the project will take more space than is available on that medium, you see an
error message.
2 Select the location where you want the VIDEO_TS folder created.
For fastest results, select a different hard disk from the one containing your files.
3 If you specify a location that already contains a VIDEO_TS folder, choose whether to reuse
material that has not changed.
Warning If you choose not to reuse material in the folder, DVD Studio Pro deletes the
folder and all its data. If you aren’t sure whether the folder contains material you need,
choose a different location to build your disc.
Depending on the bit rates of your tracks and the speed of your computer and hard
disks, building takes from 1/4 to 1/2 the length of all your tracks combined. If you have an
hour of material in your project, it will take between 15 and 30 minutes to multiplex it.
The Log window also displays a status message when the disc has been successfully built,
such as “Disc complies to DVD Video standard 1.0 or 1.1.” This final confirmation
depends on the audio formats used. Standard 1.0 uses PCM or AC-3 audio; standard 1.1
allows MPEG audio or a mixture of AC-3, PCM, and MPEG.
Multiplexing stops and this error appears if one of the following is true:
m The total data rate for the video content of a track exceeds 9.8 Mbps.
m The total data rate for all assets used in a track exceeds 10.085 Mbps. To solve this problem,
use fewer audio or subtitle streams, or re-encode the video content at a lower data rate.
Found VOBU error
m “Found VOBU longer than 1.0 seconds at sector xxxxx” (any GOP in a VOBU)
m “Found VOBU longer than 1.2 seconds at sector xxxxx” (last GOP in a VOBU only)
m “Found VOBU shorter than 0.4 seconds at sector xxxxx” (any GOP in a VOBU)
These messages mean the GOP pattern of an underlying video stream is out of range.
Multiplexing does not stop. Depending on the tolerance of the decoder, VOBU errors can
cause audio and video to go out of sync.
To solve this problem, re-encode the MPEG stream.
122 Chapter 6
Bad encoded video
Multiplexing stops. This message means the encoding did not work properly—frames inside a
GOP may be missing, too long, or too short; the temporal reference that defines the order of
the I, P, and B frames in a GOP may be incorrect.
To solve this problem, re-encode the MPEG stream.
6 Click OK.
If you’re recording onto DLT tape and you’ve specified a dual-layer disc (in the disc
properties), the formatter asks you for a second tape when ready.
124 Chapter 6
A P P E N D I X
125
Step 1: Recording Sound
As with any audio track, the first step is finding and recording the sound that you want. Keep
your end result in mind. If you want to position particular sounds in the surround sound
environment, you should record them separately.
126 Appendix A
Your sound files must also conform to the following rules:
m All source files should be the same length (if not, A.Pack sets the length of the AC-3
stream to match the length of the longest file).
m All files must have the same sample rate—for DVD, 48 kHz (although A.Pack also supports
32 and 44.1 kHz).
m AC-3 streams must have a multiple of 1536 samples. If the selected input files do not,
A.Pack adds digital silence to the end of the files.
If you label your files with the suffixes listed below, A.Pack automatically assigns each file to
the correct surround position when you drag multiple files to the Instant Encoder.
Left front .L
Right front .R
Center front .C
Left rear .Ls
Right rear .Rs
Subwoofer .LFE or .SUB
128 Appendix A
The name of the file appears on the input channel button.
130 Appendix A
To export settings of a job in a batch:
m Select a job and choose Export Settings from the File menu.
When you create a new job for encoding or change the settings for a job, a red
checkmark appears to the right of the Set Output button. When encoding is finished, the
checkmark disappears.
m Select the job and choose Mark Done or Mark Not Done from the Batch menu.
m Enable Low Frequency Effects: Includes the LFE channel in the encoded stream. (Not
available for mono or stereo.)
m Data Rate: Choices depend on coding mode and target system. The higher the rate, the
better the quality. AC-3 streams have a constant data rate. At 448 Kbps, which is the
default for 5.1 encoding, one minute of AC-3 audio takes about 3.3 MB of storage space.
m Dialog Normalization: Specifies the average volume of the dialog in your sound files
relative to full modulation. The playback device uses this information to maintain similar
volume among different AC-3 streams.
m Bit Stream Mode: Defines the purpose of the encoded audio material. The information is
included in the finished stream and can be read by some decoding systems.
Options in the Bit
Stream Mode menu
These settings are stored in the finished stream for use by the playback device. Leave them at
their default values unless you have a specific technical reason for changing them.
m Center Downmix, Surround Downmix: If your encoded audio has these channels, but
the player does not, the channels are mixed into the stereo output at the specified level.
m Dolby Surround Mode: When encoding in 2/0 (stereo) mode, specifies whether the
signal uses Dolby Surround (Pro Logic).
m Audio Production Information: Check this box to specify how the encoded audio
content was mixed. Playback devices may use this information to adjust output settings.
132 Appendix A
m Peak Mixing Level: Specifies peak sound pressure level (SPL) (between 80 dB and
111 dB) in the production environment when this mix was mastered.
m Room Type: Specifies information about the mixing studio.
Preprocessing Settings
Preprocessing options are applied to the audio data before encoding. Leave them at their
default values unless you have a specific technical reason for changing them.
m Compression Preset: Specifies one of the dynamic range processing modes built
into AC-3.
134 Appendix A
6 Click Options to open the ASIO Setup window.
7 Choose the settings for your ASIO system.
The settings vary depending on the system you have installed. See the documentation that
came with your sound system for further details.
136 Appendix A
Getting Information
To get information about a stream:
1 Open the stream in the AC-3 Monitor.
2 Click the Get Info button.
138 Appendix A
Because LFE is separate from other channels, its ability to blend with higher frequencies can
be affected by filters used to generate the LFE signal. To ensure a cohesive audio signal, keep
the entire signal together in the main channel or channels.
Avoid creating an LFE channel for material originally produced without one. Dolby Digital’s
five main channels are all full-range, and the LFE channel does not extend frequency
response. Dolby Digital decoders offer bass management, directing low frequencies to a
subwoofer or other suitable speakers. An LFE track may interfere with bass management.
DVD in Detail
DVD technology is similar to CD technology, but uses a different recording method that
allows a disc to store considerably more material (up to 17 gigabytes [GB] per disc).
Specifications DVD CD
141
The basic bit rate of a DVD is 1200 kilobits per second (Kbps), 8 times that of a 1x CD-ROM at
150 Kbps. A single-sided, single-layered DVD has a maximum storage capacity of 66.8 minutes. A
typical 2x DVD-ROM drive performs at levels comparable to the fastest standard CD drives.
1x 1200 8x
2x 2450 16x
A DVD has the same physical dimensions as a CD, but unlike a CD it has two sides—two 0.6
mm thick discs glued together back-to-back. Also, each side of a DVD can contain two layers
of data, one on top of the other. By refocusing the read laser to a lower depth, a DVD player
can read “through” the top layer to retrieve the data from the lower layer.
Storage capacity
Type Abbreviation Name 12 cm DVD (GB)
Unlike CDs, which are recorded with several incompatible formats, all DVD data is written in
the same logical format—Universal Disk Format (UDF). This standardization eliminates the
format confusion that has plagued the CD authoring process.
142 Appendix B
Physical Formats
There are four physical DVD formats:
Physical Conceptually
format ss/sl ss/dl ds/sl ds/dl similar to Comment
DVD-ROM x x x x CD-ROM
DVD-R x – – – CD-R
Logical Formats
DVD-ROM
Contains a UDF file system with any type of data. No multi-session ability intended.
DVD-Video
Contains a UDF file system and an ISO directory; intended for such video content as movies
and training material. The contents of the ISO directory have been defined precisely and are
readable by standardized set-top players. DVD-Video provides picture and audio quality far
surpassing that of VHS tape and laserdisc. DVD-Video titles can have up to 8 sound tracks, up
to 32 subtitle tracks, and up to 9 views or angles. Menu structures allow the creation of
flexible content using simple building blocks.
DVD Audio
Replaces the current Red Book audio CD standard, delivering higher sound quality and including
the flexibility of adding video or other data. Supports audio sampling rates up to 192 kHz.
Hybrid DVD
A type of DVD-Video or audio disc that includes additional files that do not comply with the
DVD-Video and audio standards.
MPEG-1 is used when picture quality is less important. It allows a maximum data rate of 1.8
megabits per second (Mbps) and is always encoded at a constant bit rate (CBR), so simple
and complex scenes require the same amount of data per second. With suitable source
material, this yields quality roughly equivalent to VHS tape.
MPEG-2
MPEG-2 gives higher picture quality by allowing data rates up to 9.8 Mbps. DVD-Video can
display the picture in a 16:9 aspect ratio, but the number of pixels used doesn’t increase.
MPEG-2 can be encoded with a variable bit rate ( VBR), which means that simple scenes use
less space on the disc than complex scenes. This decreases storage requirements while
increasing quality in complex scenes. With most video material, VBR encoding makes it
possible to record considerably more than the minimum hour’s worth of playing time
on a DVD.
144 Appendix B
The MPEG standard for video defines three frame types: I-, P- and B-Frames. Each is
compressed in a different way. Specific sequences of these frame types make up a Group of
Pictures (GOP). The result of stringing together GOPs is an MPEG video stream. Playback of
an MPEG video stream can only start from the beginning of a GOP.
I-Frames (Intra Frames)
I-Frames are encoded independently of other frames. They are equivalent to key frames in
other video compression processes. The complete frame is divided into macro blocks, using
a technique similar to that of JPEG. The blocks are transformed mathematically using discrete
cosine transformation (DCT). The results are quantified and compressed using simple
statistical procedures.
P-Frames (Predicted Frames)
P-Frames take advantage of the fact that successive frames of a video are often very similar.
But instead of simply calculating the difference between two pictures and then compressing
what has been changed, the system also checks whether the macro blocks have been
displaced. Therefore a displacement vector can be calculated for each macro block that has
moved. The rest of the picture is encoded like an I-Frame, but quantification uses different
parameters. Since a P-Frame only contains the data that has changed, it can’t be played on
its own.
B-Frames (Bidirectional Predicted Frames)
These frames are encoded like P-Frames, except that the displacement vectors are calculated
based on both the previous and subsequent frames. This allows additional redundancies to
be removed from the picture data. B-Frames need to be placed in the stream according to
their time stamp, because the subsequent frame (in time) must be loaded and decompressed
first in order to display the B-Frame. This is why B-Frames can’t be displayed on their own.
Linear PCM
Linear PCM audio is the same as that used on audio CDs. The analog signal is scanned
using a particular sampling frequency, and the values determined are entered into a grid
(quantification). The quantification of these values results in a small loss of quality compared
to the analog signal. No compression is built into the system, so PCM achieves high fidelity at
the cost of high storage space. The sampling rate of 96 kHz on a DVD-Video can only be used
with linear PCM.
Dolby Digital (AC-3)
AC-3 is a sophisticated compression procedure using knowledge about how people hear to
remove certain proportions from the frequency spectrum of an audio signal. This reduces
the size of the data stream without affecting the sound. Dolby AC-3 compression results in
the loss of information—decompressed audio data is no longer identical to the original data.
However, this difference is hardly noticeable to the human ear. The sampling rates are 32,
44.1, and 48 kHz. The system supports up to 5 channels plus a narrower subwoofer channel,
also called LFE (Low Frequency Effects). AC-3 ranges from 64 to 448 Mbps; typical rates are
192 Mbps for stereo and 384 Mbps for 5.1 channels.
146 Appendix B
MPEG Audio
This optional audio format was originally developed for theatres. It provides 5.1 channels
at a sampling rate of 48 kHz with 20-bit resolution. The data rate can range from 64 to
1536 Mbps. Possible channel combinations are 1/0, 2/0, 3/0, 2/1, 2/2, and 3/2, plus the
subwoofer. DTS playback requires special hardware. Further information on DTS is available
at this Web site: www.dtstech.com
SDDS (Sony Dynamic Digital Sound)
This format is based on the ATRAC compression algorithm. It provides 5.1 or 7.1 channels
and was developed for theatres. The sampling rate is 48 kHz and the maximum data rate is
1280 Mbps. No current DVD systems use SDDS for DVD-Video.
Comparison of DVD Audio Formats
1 “.1” describes the additional subwoofer channel, which usually has a smaller bandwidth than the other channels.
Subtitles in DVD-Video
DVD-Video supports up to 32 subtitle streams per video track. This feature is used primarily
for displaying the text of the movie in alternate languages, or for closed captioning for the
hearing impaired.
Subtitles can be created in any color or font. They are encoded as bitmapped graphics to
ensure uniform appearance on all players. The bitmapped data “floats” above the video or
still picture and can be modified during playback through color changes or movements.
Subtitle graphics (also known as sub-pictures) are limited to four colors and every pixel has
one of 16 possible transparency values.
Sub-pictures can be used for the following:
Karaoke
The current word of a song’s lyrics can be highlighted by changing pixel values so that the
text to be sung appears in a different color.
Rolling Titles
The graphic used must be higher than the screen (576 lines for PAL, 480 for NTSC). The
width is always 720 pixels. It is possible to “skip” a number of lines before displaying 576 or
480 lines of the sub-picture. By increasing or decreasing this skip counter, the sub-picture
appears to roll upwards or downwards.
Menus
You can generate complete menus with the subtitle graphics. While a video is running or a
still picture is displayed, all other elements (buttons and so on) are defined with subtitle
graphics or changes to these graphics.
Text in DVD-Video
According to the standard, a DVD-Video can also contain text data that has not been saved as
a graphic. This can include titles or information on actors, authors, editing information, and
so on. DVD-Video players are not required to be able to display text, so currently this type of
data is not used.
148 Appendix B
Navigation on a DVD-Video
The viewer navigates through a DVD-Video with a remote control. According to the standard,
the remote control must provide certain basic functions:
Basic functions of a DVD
remote control
The user can stop (pause) the video at any time and call up menus to change the current
selection. Menus can also lead directly to specific chapters, to an index, and so on.
There are two distinct types of menus on a DVD-Video: system menus and in-title menus.
These types have no design differences.
System Menus
System menus are required for every language supported by the DVD-Video title. They
define the basic structure of the DVD-Video. The player tries to display the menu
corresponding to the language the player has been set to use. If it does not find a
corresponding menu, it displays the “first” menu.
Several types of menus can be accessed directly with a remote control key:
m Title: The main menus of the DVD-Video disc. Exactly one title menu is mandatory for
both the disc and the player.
m Root: Every title set of a disc has a set of submenus. The root menu is the main menu for
one of these title sets. Like the title menu, it is mandatory both for the player and the disc.
m Track: This optional menu displays a selection of the individual clips in a title set.
m Audio: This optional menu allows the viewer to switch to another audio stream—for
example, from English to German.
m Subtitle: This optional menu allows the viewer to choose subtitles.
“Optional” means the disc does not need to contain the menu even if the player has a remote
control key for it. If the player is not able to access the menu because the key has not been
linked to anything on the disc, then the disc must provide another way of accessing the
menu—for example, through a link from a mandatory menu.
These are “soft” menus that the content creator can define within the DVD-Video. Since
there are no dedicated keys on the remote to access these menus, the author must provide
links or other ways to display them.
Buttons
Menus consist of a still frame or a video that contains buttons (using subtitle graphics).
Every menu button has three states: normal, selected, and activated. There is always one
button selected on a menu. The viewer uses the arrow keys to select a different button.
If the viewer clicks the OK key, the selected button is activated. A button can also be set to
activate immediately upon selection.
150 Appendix B
The DVD copyright protection technology has three parts:
Region Code: The world is divided into eight regions. The producers of a DVD determine
which parts of their DVD can be played in which parts of the world. Each disc or portion
thereof is marked to indicate where it should be playable. Each DVD player also has a region
code. If a disc’s region code doesn’t match that of the player, the disc won’t play.
Each sector of the disc contains one region code byte, which consists of eight flags—one
per region. It’s possible to create a disc on which some material is restricted and other
material is not.
Scrambling: To prevent copying of the data on a DVD-Video, the author has the option of
using the Contents Scrambling System (CSS) to encrypt the data. Each sector of a DVD can
be scrambled. The data can only be unscrambled when a licensed DVD reader is connected
to a licensed DVD decoder card. CSS requires an individual encryption key, which can be
provided by most mastering plants. For more information about licensing CSS, contact the
Motion Picture Association of America (MPAA) or the DVD Copy Control Association
(DVDCCA).
Macrovision copy-protection: To deter analog copying of DVD-Videos (to videotape, for
example), DVD incorporates Macrovision copy-protection, which causes extreme
degradation of the image quality if a copy is attempted. Macrovision protection is assigned
directly to tracks and markers. There are two levels of Macrovision. For more information,
see “About Macrovision Copy-Protection” on page 155.
Video
MPEG-1
The MPEG-1 encoding has to be ISO 11172-2 compliant. The maximum bit rate of the
MPEG-1 video is 1856000 bps.
Constraints:
The MPEG-2 encoding has to be ISO 13818-2 compliant. The encoding profile has to be
MP@ML (main profile at main level) or SP@ML (simple profile at main level).
Bit rates are as follows:
m Constant bit rate (CBR): ≤9.8 Mbps
m Variable bit rate ( VBR): ≤9.8 Mbps (vbv_delay = 0xFFFF and lo_delay = 0x0)
Constraints:
152 Appendix B
Audio
PCM
The audio data has to be stored in one of the following file formats: AIFF, WAVE, or
SoundDesigner II.
Requirements for PCM audio are
m Quantization: two’s complementary code, 16 or 24 bits/sample
m Sampling phase: simultaneous for all channels
m Sampling frequency: 48 Hz (optional 50/15 µs emphasis) or 96 Hz (no emphasis / emphasis
off )
The following table shows the maximum number of audio channels depending on bit depth
and sample rate:
48 kHz 96 kHz
16 bits/sample 8 4
24 bits/sample 5 2
The encoding has to comply with the Dolby AC-3 Standard (ATSC STANDARD “DIGITAL
AUDIO COMPRESSION AC-3” Doc. A/52 20 Dec. 1995).
m Bit rate: 64–448 Kbps (constant bit rate)
m Sampling frequency: 48 Hz
m Allowed audio coding modes: 1/0, 2/0, 3/0, 2/1, 3/1, 2/2, and 3/2 (including modes with LFE)
MPEG
The MPEG-1 audio encoding has to be ISO 11172-3 compliant. The MPEG-2 audio encoding
has to be ISO 11172-3 and ISO 13818-3 compliant. The MPEG audio layer is always layer 2.
Setting Value
Protection Always on
Surround 0, 1, 2, or 3
mc_prediction_on Always 0
154 Appendix B
About Macrovision Copy-Protection
Macrovision DVD copy-protection, also known as the Analog Protection System (APS),
thwarts attempts to copy DVD programming onto videotape. Used on the majority of
DVD-Video discs currently being produced, the technology degrades unauthorized copies
made on consumer VCRs. Almost all Hollywood studios, as well as many special interest and
corporate rights owners, are using the technology to protect their content from
unauthorized copying.
Note: Use of analog copy-protection for DVD applications is subject to the proprietary
intellectual property rights of Macrovision Corporation, of Sunnyvale, California, U.S.A., and
users require a usage agreement with Macrovision Corporation before the analog protection
system activation bits are set to “on.”
For further information, contact Macrovision:
m Telephone: (408) 743-8600
m Fax: (408) 743-8610
m Email: acp-info@macrovision.com
m Web site: www.macrovision.com
157
ASIO drivers 134, 135 recording 126
ASIO playback hardware 134–135 resolution 58
ASIO Setup window 135 sample rate 58
aspect ratio settings 132
4:3 aspect ratio 58 specifications 153–154
16:9 aspect ratio 58, 65 stereo plus center 126
audio/video capture 58 surround sound 126, 135, 138, 139
constraints and 152 audio “elementary” streams 59
settings for 80 audio icon 24
asset files 118–119 Audio key 70
Asset Files window 83118–119 Audio Language properties 89
Asset Matrix 83, 84 audio menus 149
assets audio streams
adding by dragging 20 changing 70
adding with Import command 19 current number 105
assigning to menus 84 multiple language 89
assigning to tracks 84 number of 107
described 17 slideshows and 62
displaying in Asset Matrix 84 switching between 24
error-checking 118 Audio Streams container 23–24
files assigned to 119 audio tracks. See tracks
import errors 120 Automatic Gain Control (AGC) technology 154
importing 19–20
jumping to asset containers 73 B
Preview Mode and 114
“bad encoded video” error 123
uncoupling from menus 84
batches, converting to AC-3 format 129–131
uncoupling from tracks 84
B-Frames (Bidirectional Predicted Frames) 145
Assets container 20
Bidirectional Predicted Frames (B-Frames) 145
illustrated 18
bit stream settings 132–133
assignment operator 103
“bit-wise and” operator 105
ATRAC compression algorithm 147
“bit-wise exclusive or” operator 105
audio
“bit-wise or” operator 105
A.Pack software 125–139
Build & Format Disc command 110, 123
capturing 58
Build Disc command 53, 121
compression 146
build errors 120
creating tracks for 22–24
building projects 53123–124
Dolby Digital 5.1 126
BUP files 150
DVD audio 145–148
Button Link property 81
encoding 12, 62
Buttons 29
formats 62153–154
buttons
mixing 126
See also specific buttons
NTSC formats 145
actions for 39–40
PAL formats 145
adding to still menus 29
PCM audio 62, 146, 153
appearance of 30–31, 81
preparing content 62
defined on active menu 81
158 Index
described 17 Build Disc 53, 121
highlight colors 34–35 Copy Properties 78
highlight shapes 47, 64 exitScript 107
interactive markers 65 Find 93
linking to tracks 40 GoTo in Movie 93
links to 81 gotoLabel 108
on menus 64, 150 Import 19
naming 30 Load Description 119
previewing 31 maximum number in script 101
states 30–31, 64 New Batch List 129
tips for 64 nop 107
on tracks 45 NVRAM commands 110
Paste Properties 78
C peek 111
peekAll 111
capturing audio 58
play 108
capturing video 58
poke 110
CD technology 141–142
pokeAll 111
center channel 138
return 108
channels
Save As 22
AC-3 streams and 128–129
Save Description 119
audio settings 132
scripting commands 107–108
center channel 138
Set In Point 94
creating files for 126
Set Out Point 94
Dolby Digital programs 138–139
STE commands 96
driver output channels 135
stop 107
full bandwidth channels 133
Commands Free value 101
LFE channel 138–139
Commands Used value 101
subwoofer signal and 138–139
Comment property 79
surround channels 138
comments 75, 79, 103
chapter markers. See markers
composited video clips 64, 65
clips, video 64
compound statements 102
CMF standard 124
compression
“Collapse all Properties” command 78
audio 146
color
constants 102
button highlights 34–35
containers
highlight shapes 47
adding items to 74
links 72
Assets container 20
Preview window background 92
Audio Streams container 23–24
subtitles 90, 92, 93
collapsing 84
Color Menu Settings box 90
displaying in Asset Matrix 84
Colorstripe process 154
expanding 84
commands
jumping to 73
"Collapse all Properties" 78
Languages container 87
"Expand all Properties" 78
opening in separate window 75
Build & Format Disc 110, 123
Index 159
Contents Scrambling System (CSS) 80, 151 region codes 79
control structures 109 size of 79
Copy Generation Management System. See writing to 10
CGMS display. See monitors
Copy Properties command 78 division operator 104
copy-protection DLT tape 13, 123
CSS 80, 151 DLT tape drives 10, 124
Macrovision 151, ??–154155 Dolby AC-3. See AC-3
region codes 151 Dolby Digital 5.1 126
technology for 150–151 Dolby Digital programs 138–139
CSS (Contents Scrambling System) 151 dollar sign ($) 102
CSS property 80 drivers
ASIO drivers 134, 135
D DAV drivers 135
K1212io drivers 135
data
Sound Manager drivers 134
scrambling 80, 151
DTS (Digital Theatre System) format 147
“data rate too high” error 122
DVD 9, 62, 83
DAV drivers 135
DVD@CCESS feature
DCT (discrete cosine transformation) 145
described 48
debugging 116–119
DVD audio format 143145–148
debugging window 110116–117
DVD-Audio players 148
decoders
DVDCCA (DVD Copy Control Association) 151
VOBU errors and 122
DVD compliance 152–154
decoding AC-3 streams 136
DVD Copy Control Association (DVDCCA) 151
Default Button property 81
DVD Player. See Apple DVD Player
description files 83, 119
DVD players
Digital Theatre System (DTS) format 147
Apple DVD Player 10, 1154–55
digitizing sound 126–127
color use and 93
Disc area, Property Inspector 79
DVD-Audio players 148
Disc Media property 69, 79
DVD-Video players 102, 148
Disc Menu Settings area, Property Inspector 80
Philips Professional DVD Player 17, 68, 110,
Disc Menu Settings property 69
117
discrete cosine transformation (DCT) 145
startup actions 80
discs
time values 80
actions for 82
DVD-RAM drives 10, 124
assigning Finder label to 79
DVD-RAM format 13, 143
build errors 120
DVD-R drives 13
building 53123–124
DVD recorders 124
comments 79
DVD-R format 143
copy-protecting 80
DVD-ROM format 143, 150
creating 13123–124
DVD-R recorders 10
dual-layer 124, 142
DVD-RW format 13, 143
errors while building 122
DVDs
naming 79
capacity of 142
properties 2269–80
160 Index
configurations for 142 A.Pack 127–133
creation process 12–13 audio 12127–133
formats for 143 problems with 123
hybrid DVDs 143, 150 video 1259–62
incomplete items on 118 Enter key 114
types of 142 equal operator 109
DVD Studio Pro equal sign (=) 102
authoring with 13 errors
described 9 asset import errors 120
getting started with 9–13 “bad encoded video” 123
information on 14 while building discs 122
installing 11 “data rate too high” 122
preferences for 68 disc build errors 120
starting program 16 finding 117
system requirements 10 “Found VOBU” 122
tutorial 15–55 insufficient space 121
workspace 18 in Log window 118
DVD Studio Pro Help 14 multiplexing 122–123
DVD technology 141–154 Estimated Size property 79
benefits of 141 exitScript command 107
copy-protection 150–151 “Expand all Properties” command 78
history of 141 exporting files 60–61
region coding 150–151
specifications 141152–154 F
vs. CD technology 141–142
field dominance 60
DVD-Video 144–145
files
copy-protecting 151
See also Photoshop files
described 143
asset files 83, 118
file structure 150
assigned to assets 119
navigating 149–150
BUP files 150
standard for 101
creating for channels 126
subtitles in 148
description files 83, 119
text in 148
exporting 60–61
DVD-Video players 102, 148
flattening 63
IFO files 150
E
importing 95
editors INFO.ID file 110
See also specific editors 82 multiplexed files 13
Enable NVRAM option 68 Read Me file 11, 14
encoders VOB files 150
hardware encoders 59 Final Cut Pro 12, 5860–61
Instant Encoder 127128–129, 131 Find command 93
MPEG encoders 10, 12 finding items 83118–119
software encoders 59 flattened files 63
encoding flattened layers 63
Index 161
Format Disc window 123 slideshows 65
formats still menus 63
AC-3 62125–131 subtitles 148
audio 153–154 tips for menus 63–64
audio streams 62 Group of Pictures (GOP) 59, 62, 145
DVD 143
DVD audio 143145–148 H
MPEG 59–62
hardware encoders 59
PCM 62
hardware requirements 10
PICT 65
HDTV (High Definition Television) 58
psd 63
High Definition Television (HDTV ) 58
TV 63
highlights
video 58
color of 34
“Found VOBU” error 122
shape of 47, 64
4:3 aspect ratio 58
Hilite property 81
frame rate 58
hybrid DVDs 143, 150
frames 58, 145
functions 102103–111
I
G “if ” clause 109
IFO files 150
General area, Property Inspector 79–80
I-Frames (intra frames) 145
getAudioStream() function 105
images
getCurrentItem() function 106
See also graphics
getCurrentTrack() function 106
anamorphic transfer 58
Get Info button 137
overlay images 47
getLastItem() function 106
thumbnail images 72, 73
getRegionCode() operator 106
Import command 19
getSubtitleStream() function 106
importing items
global variables
asset import errors 120
assigning for scripts 100
assets 19–20
creating 80
files 95
storing value in NVRAM 110–111
subtitles 95
viewing 100
subtitle streams 95
writing information to 111
In 94
GOP (Group of Pictures) 59, 62, 145
INFO.ID file 110
“GoTo in Movie” command 93
In points 94
gotoLabel command 103, 108
installing DVD Studio Pro 11
GPRMs. See global variables
installing QuickTime Pro 11
Graphical View 18, 7172–73
Instant Encoder 127128–129, 131
graphics
interactive markers 65
See also images
creating 45–47
aspect ratio and 65
International Standards Organization (ISO) 144
created in Photoshop 63–64
in-title menus 150
layers and 63
intra frames (I-Frames) 145
resolution 65
162 Index
ISO (International Standards Organization) 144 described 17
items maximum number allowed 87
adding to containers 74 motion menus and 65
assigning 75 multiple 17, 65, 89
assigning scripts to 99 working with 87–88
copying properties to 78 Languages container 87
deleting 118 layer 2 audio format 62
descriptions 120 Layer Matrix 83, 86
displaying properties 74 Layer menu 64
importing 95 Layer property 81
incomplete items 118, 121 layers
linking 39–40, 72, 75 Effects layers 63
opening editor for 82 flattening 63
pasting properties to 78 Photoshop files 63, 81, 86
previewing 114–115 selecting 28
reordering 74 still-menu graphics 63
viewing properties 21, 78 tips for using 63
working with 74 letterbox format 58
item tiles 73 LFE (Low Frequency Effects) 126
LFE channel 138–139
J linear PCM format 145, 146, 147
links
Joint Photographic Experts Group ( JPEG) 144
appearance of 72
JPEG ( Joint Photographic Experts Group) 144
to buttons 81
Jump Action property 81
color of 72
jump actions 81, 85
deleting and 118
jumping
to items 39, 75
to labels 103
Photoshop files to projects 64
to markers 36
project component links 72
in scripts 108
to subtitles 94
when track is finished 41
Web links 48–50
Jump Matrix 83, 85
Load Description command 119
local variables 102
K
locking subtitles 94
K1212io Sound Manager drivers 135 logical DVD formats 143
karaoke 148 Log window
keyboard shortcuts 96 building projects 53
Korg 1212io cards 135 error messages 118, 120
status messages 122
L using 120
Label property 79 viewing information in 137
labels 75, 103 looping video 34, 64
languages Low Frequency Effects (LFE) 126
assigning new language 87–88
changing 70
Index 163
M optional menus 149
properties with 77
Macrovision copy-protection 151, ??–154155
root menus 149
manual, contents of 14
selecting thumbnail images for 73
margins, subtitles 92
size of 80
marker editor 36
still menus 26–28, 63
markers
subtitle menus 149
actions for 82
system menus 149
adding 35–36
timeout actions for 52
adding buttons to 45–46
title menus 149
described 17
track menus 149
interactive markers 65
types of 149
jumping to 36
uncoupling assets from 84
navigating through movies with 93
mixing, spatial 138–139
playing tracks from 108
mixing sound 126
previewing 37
modulo operator 104
Markers menu 93
monitors
Marker window 93
16:9 aspect ratio 58
Matrix Views 7183–86
hardware requirements for 10
memory
NTSC monitors 58
displaying 122
PAL monitors 58
NVRAM 17110–112
previewing on external monitor 115
system requirements for 10
motion menus 32–33
menu 82
audio tracks and 62
menu editor
looping video for 34
adding Web links 49
multiple languages and 65
creating still menus 27
previewing 34
Menu key 70
Motion Picture Association of America
menus
(MPAA) 151
action 39
Motion Picture Expert Group. See MPEG
action menus 81
movies
adding buttons to 29
QuickTime movies 59, 89
appearance of 81
subtitles for 89–96
aspect ratio 80
MP3 format 147
assigning assets to 84
MPAA (Motion Picture Association of
audio menus 149
America) 151
buttons on 81, 150
MPEG (Motion Picture Expert Group) 144
calling with remote control keys 149
MPEG-1 audio format 62, 147
creating material for 64–66
MPEG-1 encoding 152, 153
described 17
MPEG-1 video format 144
generating with subtitle graphics 148
MPEG-2 AAC format 147
graphic tips for 63–64
MPEG-2 audio format 147
in-title menus 150
MPEG-2 encoding 152
mandatory menus 149
MPEG-2 exporting option 59
motion menus 32–33
MPEG-2 layer III format 147
multiple languages 65
164 Index
MPEG-2 video format 144 numbers, entering in scripts 102
MPEG audio format 62, 145, 147 number sign (#) 103
MPEG encoders 10, 12, 59 NVRAM 110–112
MPEG Export feature 59–61 debugging and 117
MPEG format 59–62 retrieving information from 111
multi-angle tracks 24–26, 62, 68 scripts and 17
multi-angle video 62 storing information in 110–111
multiplexed files 13 NVRAM commands 110
multiplexed MPEG streams 59
multiplexing O
described 113, 121
objects, playing 108
increasing speed of 68
OK key 114
options for 68
operators 103–105
performance 10
Out 94
real-time multiplexing 113
Out points 94
solving problems 122–123
overlay image 45, 47
tracking process 122–123
multiplication operator 104
P
N PAL
audio formats for 145
Name property 79
copy-protection and 154
navigation
graphics and 65
DVD-Video 149–150
MPEG-1 video and 144
Graphical View 82
MPEG-2 video and 144
Matrix Views 83–84
Photoshop graphics and 63
projects 114–115
specifying default TV system 68
remote control keys 70
subtitle margins 92
with time codes 93
PAL monitors 58
New Batch List command 129
parameters 101
New Marker button 36
Paste Properties command 78
Next Track key 114
PCM audio files 136
nop command 107
PCM audio format 153
not equal operator 109
PCM format 62, 146, 147, 153
NTSC
peekAll command 111
audio formats for 145
peek command 111
copy-protection and 154
percent sign (%) 102
graphics and 65
performance, multiplexing speed 68
MPEG-1 video and 144
P-Frames (Predicted Frames) 145
MPEG-2 video and 144
Philips Professional DVD Player 17, 68, 110, 117
Photoshop graphics and 63
Photoshop (psd) format 63
specifying default TV system 68
Photoshop files
subtitle margins and 92
layers 63, 81, 86
NTSC-DV format 58
linking to projects 64
NTSC monitors 58
resolution and 63
Number Of Sides property 69, 79
Index 165
size of 63 using 113–115
slides and 65 Preview window 92, 114
still menus and 63–64 Previous Track key 114
Photoshop Layer method 30 problems. See troubleshooting
Photoshop program 10 procedures 107
physical DVD formats 143 PROF folder 110
PICT format 65 Progress window 53, 122
Picture property 81 projects
Pictures area, Property Inspector 88 adding assets to 19–20
pixels 115 adding Web links to 48–50
playback basic components of 17
A.Pack 134–136 building 53123–124
multi-channel playback 134–135 component links in 72
stereo playback 134, 139 connections between elements in 83
Play button 55 description files 83, 119
play command 108 dividing into multiple tracks 59
playing items getting information about 83119–120
AC-3 streams 136 linking items in 39–41
objects 108 linking Photoshop files to 64
projects 54–55 navigating through 114–115
tracks 108 playing 54–55
pokeAll command 111 previewing 24–43, 52, 68
poke command 110 saving 22
preferences size of 69, 73, 79
Apple DVD Player 54 starting new subtitle project 91–93
setting 68 testing 5254–55
subtitles 90 Project View 74–75
Preferences dialog box 68 illustrated 18
preprocessing settings 133 incomplete items in 121
pre-script 99, 107 working with items 74
Pre-Script property 81 working with languages 87–88
previewing items Project View windows 71
angles 25, 68 properties
on external monitor 115 See also specific properties
procedure for 114–115 assigning 77–82
projects 24–43, 52, 68 changing 21
real-time multiplexing technique 113 copying to other items 78
region codes and 68 discs 2269–80
Preview Mode displaying for items 74
debugging in 116–117 editing 77–78
described 71 listed 81–82
limitations of 115 with menus 77
problems with 114 multiple assignments 78
starting 24 pasting to other items 78
startup actions and 80 in Property Inspector 76–82
166 Index
scripts 101 remote control
text 77 Angle key 62
viewing 21, 22, 78 navigating through DVD-Video 149–150
Property Inspector navigating through projects 114–115
assigning properties 81–82 Stop key 24, 107
button appearance 30–31 variables and 100
button highlighting colors 34 Remote-Control area, Property Inspector 70, 80
changing properties 21 remote control keys
choosing scripts 99 actions of 42, 82
described 71 assignments 81
displaying item properties 74 calling menus with 149
illustrated 18 controlling projects with 42
overlays 47 default assignments 70
setting disc properties 69–80 navigating with 114
using 76–82 scripts assigned to 99
viewing global script variables 100 Remote-Control property 82
viewing incomplete items 118, 121 rendering options, subtitles 92
viewing properties 21, 22 resolution
viewing scripts 101 audio 58
psd (Photoshop) format 63 graphics 65
pulse code modulation. See PCM Photoshop files 63
widescreen resolution mode 65
Q return command 108
Return key 70, 114
QuickTime format 89, 126
rolling titles 148
QuickTime movies 59, 89
Root key 70
QuickTime MPEG Encoder 9, 10, 12, 57, 59, 62
root menus 149
using 59–61
QuickTime MPEG Export feature 59–61
S
QuickTime Player 59
QuickTime Preview window 93 sample rates 58
QuickTime Pro 1011 Save As command 22
Save Description command 119
R scrambling data 80, 151
script editor 51, 98
RAM. See memory
scripting
random number operator 105
commands 103–111
Read Me file 11, 14
enhanced 68
recording audio 126
functions 103–111
Record To Device option 124
reference 101–109
recursion 102
scripts 97–112
Red Book 141, 143
actions for 99
Region Code property 79
assigning 99
region codes 68, 79, 106150–151
changing information about 101
registers 101–102, 117
choosing 99
registration information 11
current item attached to 106
Index 167
described 17 previewing 39
disabling lines of 103 selecting thumbnail images for 73
entering 98 Slow-Down Background Tasks option 68
exiting 107 software encoders 59
finding errors in 117 software requirements 10
global variables for 100 Sony Dynamic Digital Sound (SDDS) 147
jumping to another position in 108 sound. See audio
labels in 103 Sound control panel 134
maximum number of commands in 101 SoundDesigner format 62
numbers in 102 SoundDesigner II format 126, 153
properties 101 sound files, encoding with A.Pack 127–133
size of 101 Sound Manager 134, 135
specifying 81 Sound Manager driver 134
uses for 97 source material
viewing 101 gathering 12
writing 51–52 multiple tracks 59
Script window 98 preparing 57–66
SDDS (Sony Dynamic Digital Sound) 147 segmenting 59
segments 59 subtitles 89
Selection Condition property 82 types of 12, 57
serial number spatial mixing 138–139
DVD Studio Pro software 11 specifications
QuickTime Pro software 11 audio 153–154
Set In Point command 94 DVD 141152–154
Set Out Point command 94 video 152
setSubtitleStream function 107 square brackets [] 102
settings Startup Action property 69, 80
audio capture settings 58 startup actions 41, 81
audio settings 132 STE. See Subtitle Editor
bit stream settings 132–133 stereo playback 134, 139
preprocessing settings 133 stereo plus center 126
video capture settings 58 still menus
shortcuts 96 creating 26–28
Show All Angles option 26, 68 creating graphics for 63
16:9 aspect ratio 58, 65 stop command 107
Skip keys 114 Stop key 24, 43, 107, 114, 115
slideshow editor 38–39 stories
slideshows creating 43–44
audio format and 62 described 17
creating 37–39 Stories Folder 43
described 17 story icon 44
graphics 65 streams
multiple languages in 89 AC-3 streams 128–129, 134–137
Photoshop format 65 audio streams 59, 62, 70
PICT format 65 getting information about 137
168 Index
multiplexed MPEG streams 59 thumbnail images 72, 73
subtitle streams 95 time code button 35
video “elementary” streams 59 time codes
sub-pictures 148 importing subtitles and 95
Subtitle Editor (STE) 989–96 navigating with 93
Subtitle key 70 selecting subtitles between 94
subtitle menus 149 timeout actions 52, 81, 99
subtitles 89–96 time play function 100
adding 48 Time Search/Time Play option 80
allowing viewers to choose 70 time search function 100
appearance of 92 time values 80
changing duration 94 Title key 70
changing location 94 title menus 70, 149
color in 93 title set 70
compiling streams 95 Track key 70
creating 93, 95 track menus 149
DVD-Video 148 tracks
importing 95 actions for 82
interactive markers and 45, 48, 65 adding a 22–24
linking 94 adding angles 25
locking position 94 adding markers 35–36
margins for 92 adding subtitles 48
preferences 90 adding subtitle streams 95
preparing 66, 89 assigning assets 84
previewing 25 buttons on 45
rendering options 92 current track 106
selecting multiple 94 described 17, 22
source material for 89 dividing projects into multiple tracks 59
starting new project 91–93 linking buttons to 40
unlocking position 94 motion menus and 62
subtitle streams 95, 106, 107 multi-angle tracks 24–26, 62, 68
subtraction operator 104 playing 108
subwoofer signal 138–139 segmenting 59
surround channels 138 thumbnail images 73
surround sound 126, 135, 138, 139 uncoupling assets from 84
system menus 149 troubleshooting
system requirements 10 See also errors
encoding problems 123
T multiplexing problems 122–123
Preview Mode 114
testing items
troubleshooting windows 83
projects 5254–55
tutorial 15–55
text
tutorial files 9, 16
DVD-Video 148
TV formats 63
properties 77
TV system, specifying default 68
“then” condition 109
Index 169
U W, X, Y, Z
UDF (Universal Disk Format) 142 WAVE format 62, 126, 153
UDF file system 143 Web browsers 68
Universal Disk Format (UDF) 142 Web links
unlocking subtitles 94 adding to projects 48–50
Use @ccess option 68 opening with Web browser 68
Use Buttons Of property 47 Web sites
Apple DVD Studio Pro 14
V Digital Theatre System 147
Dolby Digital 139
variable bit rate ( VBR) 59, 144
Windows menu 91
Variable Names area, Property Inspector 80
workspace 18
variables
conventions 102
creating 100
global variables 80100
limitations of 102
local variables 102
VBR (variable bit rate) 59, 144
video
16:9 aspect ratio 58
capturing 58
creating for interactive markers 65
creating tracks for 22–24
DVD-Video 144–145
encoding 12, 62
letterbox format 58
looping 34
multi-angle video 62
specifications 152
VIDEO_TS folder 53, 55, 110, 113, 121, 150
video clips 64
video “elementary” streams 59
video streams
alternate angles and 24
subtitles for 89–96
video title sets 17
video tracks. See tracks
views
described 18, 71
Graphical View 72–73
Matrix Views 83–86
Project View 74–75
Property Inspector 76–82
VOB files 150
170 Index