Conditional Elements and States
The conditional elements are based on settings read from the System Parameter Register
Memories (SPRMs) or the General Purpose Register Memories (GPRMs).
The conditional states are determined by the element. For example, the menu language
element has all supported languages as the possible states. If the state is a numeric entry,
you need to enter a decimal-based number (binary and hex numbers are not supported).
• Menu Language: Use to set up a condition based on the DVD player’s menu language
setting (SPRM 0). The states include all supported languages.
• Audio Language: Use to set up a condition based on the DVD player’s audio language
setting (SPRM 16). The states include all supported languages.
• Subtitle Language: Use to set up a condition based on the DVD player’s subtitle language
setting (SPRM 18). The states include all supported languages.
• Audio Stream Number: Use to set up a condition based on the currently selected audio
stream (SPRM 1). The states include audio stream numbers 1 through 8. “Not set”
appears next to any streams that currently have no assets assigned.
• Subtitle Stream Number: Use to set up a condition based on the currently selected
subtitle stream (SPRM 2). The states include subtitle stream numbers 1 through 32.
“Not set” appears next to any streams that currently have no subtitles assigned.
• Player Aspect Ratio: Use to set up a condition based on the DVD player’s aspect ratio
setting (4:3 or 16:9—bits 8 and 9 of SPRM 14). The states include 4:3, 16:9 Pan-Scan,
16:9 Letterbox, and 16:9 Pan-Scan and Letterbox.
• Last Track Played: Use to set up a condition based on the most recently played track
(SPRM 4). The states include all track numbers in the project.
• Last Chapter Played: Use to set up a condition based on the most recently played chapter
(SPRM 7). The states include all chapter marker numbers in the track.
• Last Button Selected: Use to set up a condition based on the most recently selected
button (SPRM 8). The states include numbers 1 through 36.
• Player Region Code: Use to set up a condition based on the DVD player’s region setting
(SPRM 20). The states include all eight regions.
• Parental Level: Use to set up a condition based on the DVD player’s parental level setting
(SPRM 13). The states include all eight parental levels plus a Not Rated setting.
Important:
DVD players will always set SPRM 13 to Not Rated when playing DVDs
authored with DVD Studio Pro.
• Video Player Config: Use to set up a condition based on the DVD player’s aspect ratio
setting (4:3 or 16:9) and display mode (letterbox or pan-scan) (SPRM 14). The state
requires a decimal number entry.
610
Chapter 23
Using Advanced Features
• Audio Player Config: Use to set up a condition based on the DVD player’s audio
configuration—PCM, AC-3, and MPEG (SPRM 15). The state requires a decimal number
entry.
• GPRM 0 - 7: Use to set up a condition based on the values stored in one of the eight
GPRM locations. The values must first be placed into the GPRM by a separate script
that you have run. The state requires a decimal number entry.
Note: Display conditions can only use full 16-bit GPRMs.
See
Scripting Overview
for details on scripts, GPRMs, and SPRMs.