Activity › Forums › DVD Authoring › Need Script to Play Track 2
-
Need Script to Play Track 2
Posted by John Dobovan on April 25, 2012 at 4:31 pmHi:
I have a DVD project with 2 tracks. Track 1 loops until the play button is hit, which then activates Track 2. At the end of Track 2 the project reverts to the Track 1 loop. I’ve got everything working except for a script that causes Track 2 to play when the play button is hit. I’ve set both Title and Menu to play Track 2 but of course there is no preset for Play – it needs a script. Can anybody help me out?
Thanks,
JohnAndreas Gumm replied 14 years ago 4 Members · 11 Replies -
11 Replies
-
Andreas Gumm
April 25, 2012 at 9:51 pmCould you give us more informations?
Which authoring system are you using?Usually something like your loop track 1 will be defined as menu!
Play button is linked to track 2 which is defined as title.
At the end of playback it links back to the menu!There is no need to script something!
Andreas Gumm
selfemployed media author -
John Dobovan
April 25, 2012 at 11:09 pmSorry, should have been more specific. I’m working in DVDSP3 on a presentation video. There is no menu, just 2 video tracks and 1 subtitle track. First play is set to Track 1, which is just video and audio track 1 and it returns to itself for continuous loop. Track 2 is supposed to be activated by the Play button but I see no way to do that without a script. I have both Title and Menu set to trigger Track 2 (which jumps back to Track 1 after playing).
What I need is a simple script that tells DVDSP to play Track 2 if the Play button is pressed. That’s all. Anybody got an elegant solution?
TIA,
John -
Andreas Gumm
April 26, 2012 at 12:47 amIt will not work the way you want
You can’t assign a specific action to the button you want directly!If the subtitle track is assigned to track 2 you can realize what you want by a simple trick:
– create a title containing track 1
– add a button with 100% transparency over the whole screen size to the full lenght of the video
– assign 100% transparency to all the button states
– make the button pre selected by delfault
– link the button to track 2Since play button on remote control will work like an ENTER button while the disc plays a menu, track 2 will be started after pushing PLAY!
Andreas Gumm
selfemployed media author -
Eric Pautsch
April 26, 2012 at 12:51 amYou wouldnt use scripts but DVDSPs Buttons Over Video function. It’s basically an invisible button covering your entire track. Set this to the other track
-
John Dobovan
April 26, 2012 at 5:12 pmHmm, yes. That’s my experience as well. Problem is, they want to use the Play button. I can’t seem to find any way to make that happen. Enter causes the track info to display briefly, partially obscuring the start of the video track. Guess I can put a slight delay in the play start. Sure would like to enable to Play button though….
-
Andreas Gumm
April 26, 2012 at 7:50 pmMany players will start action of the pre-selected button if play button is pushed!
It really depends on the player!Andreas Gumm
selfemployed media author -
Michael Sacci
May 3, 2012 at 7:10 pmBut you cannot (or at least should not) author on what most do.
DVD is a closed spec delivery method you have to play by their rules.
-
Michael Sacci
May 3, 2012 at 7:13 pmBut you cannot (or at least should not) author on what most do.
DVD is a closed spec delivery method you have to play by their rules.
Reply to this Discussion! Login or Sign Up