Log in

View Full Version : "play all" mode with dvdauthorgui (or dvdauthor)


spase
24th November 2004, 22:42
ok i have a set of 6 video clips that i have set as seperate titles. from my menu i have each set to a different button, and each clip is set to return to the menu after playback.

is there some way i can make a "play all" button/mode that will playback all 6 titles in a row (without returning to the menu after each)?

the tools i am using are dvdauthorgui (windows version 0.995) which in turn uses mplex and some other things.

liquid217
25th November 2004, 00:27
For a 'Play all' function, set a register value for the button when it is pressed. Then, have an statement at each post command that if that register is set, goto the next title. Otherwise, goto the menu. Below is a simple demonstration. Button1 (the 'play all' button) sets the register to 1, so everytime the post command is excuted, if it is '1', then goto the next title. if the second button is pressed, it simply plays that one particular title.

<?xml version="1.0" encoding="UTF-8"?>
<dvdauthor dest="C:\test">
<!-- DO NOT edit the 2 lines above -->
<vmgm>
</vmgm>
<titleset>
<menus>
<pgc>
<button>g4=1; jump title 1 chapter 1; </button>
<button>g4=0; jump title 1 chapter 1; </button>
<vob file="C:\test\menusub1.mpg" pause="5"/>
</pgc>
</menus>
<titles>
<video format="ntsc" />
<pgc>
<vob file="C:\test\title1.mpg" chapters="00:00:00.00" />
<post>if (g4==1) jump title 2; call menu;</post>
</pgc>
<pgc>
<vob file="C:\test\title2.mpg" chapters="00:00:00.00" />
<post>if (g4==1) jump title 3; call menu;</post>
</pgc>
<pgc>
<vob file="C:\test\title3.mpg" chapters="00:00:00.00" />
<post>call menu;</post>
</pgc>
</titles>
</titleset>
</dvdauthor>

spase
28th November 2004, 00:11
excellent

thanks!