Tutorial: Page (1) of 2 - 06/15/05 Email this story to a friend. email article Print this page (Article printing at MyDmn.com).print page facebook

DVD Studio Pro: Switching Streams with Buttons over Video

The script-free way to change angles on the fly By Dave Nagel
We've seen that buttons over video can be used to accomplish pretty much anything regular (menu) buttons can do. We've also seen that they can be a lot more trouble than they're worth, as they can take up a huge amount of development time while still providing flaky results. However, there are some cases where these buttons can come in handy for providing viewers with obvious visual cues for accessing interactive options while a track is playing.

One such case is when you want to give viewers the option of switching audio streams or video angles or a combination of the two. You and I know, of course, that we can do this easily with the Angle and Audio buttons on our remotes. (This assumes our universal remotes provide these buttons and that these buttons behave as they should, which is a big assumption given the compatibility issues that have arisen with the proliferation of remotes that are "universal" in name only.) But with your average viewer, this might not be the case. First, they might not even know what these high-fangled "Angle" and "Audio" buttons on their remotes are for. And, second, if they do know what they're for, they might not know when alternative content is available (as would be the case with users who don't turn on the angle indicator on their DVD players).

One way around this is to provide the viewer with an onscreen menu while a track is playing, allowing them to switch angles and audio streams (or access any other options you wish to provide). But there's a problem that crops up when switching angles and audio streams when using buttons over video. That is, if you use the same method you would use when providing stream options in a menu--namely, a script--then what happens is that the track jumps back to the start position, rather than resuming at the point where the button was activated.

Fortunately, there's a simple way around this.

Setting up the buttons
We'll assume for this project that you already have your track set up with two angles and two audio streams at least. (If you don't know how to set this up, please refer to some of our previous tutorials on streams. You'll find links for these and other tutorials at the end of this article.) Open your track in the Track Editor. Add a marker (if needed) where you want your buttons to appear in the track. Then select this marker, and, in the Inspector palette, set its Type to "Button Highlight" by clicking the appropriate checkbox.

Now, back in the Track Editor, point your cursor at the section in an available (unused) subtitle stream where you want the buttons to appear. Right-click in this section, and, from the contextual menu that pops up, choose "Add Subtitle."

Select your new Subtitle. Then, in the Inspector palette, choose the graphic you wish to use for your overlay. (Remember, buttons over video do now use assets the way menu buttons do. They can only use overlays.)

While you're in the Inspector palette, also check the box labeled "Force Display" to force this subtitle to be displayed when the track reaches the button highlight marker.

Then, in the Track Editor, double-click your subtitle to make it active in the Viewer window. This will activate the cursor insertion point, where you can type text, if desired. It will also allow you now to draw boxes within the subtitle that represent your buttons. To draw these, simply click and drag, as you would create a button for a menu, making sure the button overlaps the appropriate portion of your overlay. In ther example below, I've drawn two buttons.

Now your buttons for this track are all set up. Time to apply the functionality that will allow them to switch streams on the fly.

Page: 1 2 Next Page

Related Keywords:apple dvd studio pro, scripting, set system stream, switch angle, change audio stream, buttons over video, track buttons


Our Privacy Policy --- @ Copyright, 2015 Digital Media Online, All Rights Reserved