View Full Version : Audio Selection Menu and Resume/Play Button in Scenarist
Eric69
4th August 2010, 03:01
Was wondering if someone could offer some advice how to program this menu in Scenarist.
Audio Set up Menu:
Button 1- select audio stream 1
Button 2 -select audio stream 2
Button 3 -Play
Once the user selects an audio stream I'd like to highlight the Play button. Once they press Play, Id like the to start from the beginning if they have not accessed it yet. If they have been watching the film, and select another audio stream and press play, Id like to resume from the point they left off.
Figure Id ask here first before authoring to make sure Im not climbing up a wrong tree.
Thanks
Ghitulescu
4th August 2010, 07:39
DVD or BD?
Eric69
4th August 2010, 07:43
...dvd
Ghitulescu
4th August 2010, 07:49
Make use of GPRM for highlighting [and keep tracking thereof] the buttons (or make several identical menus for all states you want). For resuming the play one can use Rsm (works only from VMGM if I'm not mistaking).
A good source for other techniques would be a commercial DVD, especially one that makes use of PUOs.
Eric69
4th August 2010, 08:00
So setting the Play Button to resume will access whats in the resume buffer of the player?
Ghitulescu
4th August 2010, 08:19
No, to a post command so to be sure you can access the beginning, in case the play was not started, thus no resume possible.
Eric69
4th August 2010, 08:27
I see...so first test to see if its been started. If it has then...what? Resume?
Ghitulescu
4th August 2010, 09:34
I'm on my internet PC now, as you may see ;). I cannot help you blindly. Just open eg in PGCedit a commercial DVD that has PUOs so one needs to go through menus to select eg a language and see how it's done.
Eric69
4th August 2010, 09:42
Ha Ha...neither am I. I'll try it out tomorrow....you were a great help. I think I know where to go with this.
e
rik1138
6th August 2010, 21:16
No, to a post command so to be sure you can access the beginning, in case the play was not started, thus no resume possible.
If there's other content on the disc, you will want a little more control than this as well...
The resume command will literally resume whatever video was last played (and a good standard authoring policy is to play some valid piece of video before going to the menus, since the user can just press the menu button on the remote for a 'resume' command. If you haven't played any video in title space, the disc will crash).
But, if the user was playing a trailer, and then goes to the audio page, and you just use a resume command, it will resume/restart the trailer...
I use a GPRM that is set to '1' if the feature is playing, and to '0' if any other piece of video is played (it's set to '0' at the pre-command of every piece of video on the disc). So you just check if it's 1, then resume, otherwise start feature.
Scene selection pages should jump to Post Commands or a dummy PGC so you can set the GPRM to '1' and then jump to the appropriate chapter in some way (just jumping straight to a chapter will bypass Pre commands and you won't get your tracking '1' set.)
If the feature is the only thing on the disc, set a weird value in a GPRM (1111 or something) before anything is seen on the screen. Then, after any intro logos, but before you play the main menu, jump immediately to your feature video. On the feature have a pre-command like this:
1- Jump to line 4 if GPRMx is NOT 1111
2- Set GPRMx 0
3- Jump to main menu
4- NOP (or any pre-feature commands you need start here)
This will make the player _think_ the user has been playing the feature. If you execute a resume command, it will just start the feature video. No other programming/tracking is needed (only if there's no other video the user can play on the disc, and the feature is completely contained in one Title.)
Rik
Eric69
7th August 2010, 02:28
I'm lucky here since there's only 1 piece on this disc.
Thanks for your help
Eric69
8th August 2010, 10:35
That works fine. Question: What is the purpose of the button selections in the resume command?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.