View Full Version : Maestro: audio stream selection
kleen
16th November 2007, 01:49
I have two separate VTS. The first has one AC3 audio stream, and the second two: AC3 and MP2. I'd like to make a separate menu where a user may choose audio for the second video.
Unfortunately setting it from the "Buttons" tab doesn't work as when the first video is played and then the second, always the first stream is selected.
I don't know much about DVD command sequences, but I hope it can be done through a coding. Can anybody help?
Thanks,
kleen
Corion
16th November 2007, 13:56
You will need a command sequence for your audio selection menu (route the buttons to this) and one prior to each of your movies.
Audio selection menu Cmd sequence: (assuming button 1 selects audio stream 1, button 2 selects stream 2 and button 3 goes back to main menu). Point buttons 1 & 2 at this command sequence and button 3 back to your main menu:
1. Mov GPRM0, SPRM8 ... (SPRM8 contains button highlight)
2. Div GPRM0, 1024 ... (Button highlights are multiples of 1024 ie button 1 = 1024 and button 2 = 2048)
3. Sub GPRM0, 1
4. (if GPRM 1 == 1) Set STN Audio, GPRM0 ... (Audio stream 1 = 0, stream 2 = 1)
5. Jump to Language menu button 3 or Jump to main menu, whatever
Then prior to your Movie 2:
1. Set STN Audio, GPRM0
2. Mov GPRM1, 1
3. Jump to Movie 2
And finally prior to Movie 1:
1. Set STN Audio = Stream 1 ... (if audio is set to stream 2 and there is only 1 stream sometimes you will get silence, so we set here to stream 1)
2. Mov GPRM1, 0
3. Jump to Movie 1
I'm not at a Spruce station so the code isn't verbatim but it should work. It's quite complicated and maybe there are more simple ways but hopefully you get the idea.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.