From: Lawrence D'O. <ld...@ge...> - 2008-09-08 02:09:56
|
I've been trying to come up with the simplest possible sequence of program commands where, after you have finished playing one title, you go back to the menu with the next title already preselected. The following manages it with very short command sequences using just one GPRM. It works, except for one quirk: on my Pioneer, if I press the "Top Menu" button, it seems to hunt around for a second or two, then give up and start playing the first title. The "Menu" button does work. "Top Menu" should be going to the '<pgc entry="title">' section. But as you can see, I do have a jump to the root menu there, and the other jump in the FPC works, so why not that one? Has anybody else tried something similar? Thanks for any suggestions. <dvdauthor dest="out"> <vmgm> <fpc> g0 = 0; jump titleset 1 menu entry root; </fpc> <menus> <pgc entry="title"> <pre> jump titleset 1 menu entry root; </pre> </pgc> </menus> </vmgm> <titleset> <menus> <video format="pal" aspect="4:3" resolution="720x576"/> <!-- variables: g0 - index of selected title --> <pgc entry="root"> <pre> if (g0 eq 0) { g0 = 1; <!-- default to first title --> } button = g0 * 1024; </pre> <vob file="tmp/menu.mpg" pause="inf"/> <button name="Button_1"> jump title 1; </button> <button name="Button_2"> jump title 2; </button> <button name="Button_3"> jump title 3; </button> <button name="Button_4"> jump title 4; </button> <post> jump menu entry root; </post> </pgc> </menus> <titles> <video format="pal" aspect="4:3" resolution="720x576"/> <pgc pause="0"> <vob file="vid/1.mpg" pause="0" chapters="00:00:00.000"/> <post> g0 = 2; call menu entry root; </post> </pgc> <pgc pause="0" > <vob file="vid/2.mpg" pause="0" chapters="00:00:00.000"/> <post> g0 = 3; call menu entry root; </post> </pgc> <pgc pause="0"> <vob file="vid/3.mpg" pause="0" chapters="00:00:00.000"/> <post> g0 = 4; call menu entry root; </post> </pgc> <pgc pause="0"> <vob file="vid/4.mpg" pause="0" chapters="00:00:00.000"/> <post> g0 = 1; call menu entry root; </post> </pgc> </titles> </titleset> </dvdauthor> |