Video Track With Two Audio Streams
by Conor Flynn
on
May 1, 2008 at 6:55:47 pm
Hi,
I am using Sonic Scenarist to author this DVD. One of the video tracks on the disc has two different audio streams (one with music and one without). I had no trouble creating the track, but I'm not sure how to make the navigation work. This video track is accessed by either of two buttons on the Main Menu. One button says "Play - Music," and the other says "Play - No Music." How can I make the buttons access the correct audio stream? It seems like I'll have to use GPRMS/SPRMS rather than simple drag and drop navigation. I know that SPRM1 refers to the audio stream number. Does that come into play at all? I'd appreciate any help you can offer. Thanks.
Re: Video Track With Two Audio Streams by Eric Pautsch on May 1, 2008 at 7:15:40 pm
Several ways to do this...here 's one. You'll need to put the value of SPRM 8 (button highlight) into a GPRM. Then based on which button was chosen, set the correct audio stream in the title PGC.
1. Set GPRM 0, SPRM 8
2. Div GPRM 0, 1024
3. Jump Title
Pre-command of title PGC
1. go to 3 if GPRM 0=1
2 go to 5 if GPRM 0=2
3 Set system stream 1
4 Link PG
5 Set system stream 2
6 Link PG
There are other ways to do this (and maybe better depending who you talk too). It also depends on which Domain your menus are as well and how your entire title functionality is set up.
Re: Video Track With Two Audio Streams by Max Kovalsky on May 1, 2008 at 7:32:33 pm
Eric's code will definitely work. You can also set that GPRM 0 in your buttons. So your button commands can look like this...
button 1: set GPRM 0=1, link by sub-instruction, post-command of current PGC
button 2: set GPRM 0=2, link by sub-instruction, post-command of current PGC
In the post command of your menu, add a jump to title line.
Re: Video Track With Two Audio Streams by Max Kovalsky on May 1, 2008 at 7:44:37 pm
Sure, just click on "link" under "assign GPRM" line. We usually set these links to dummy PGCs as the menu-post commands usually have looping instructions.