VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Member
    Join Date
    Aug 2003
    Location
    United States
    Search Comp PM
    Well, I read the documentation but I apparently didn't get it. I set up my Root menu to loop (dragged its out point back to its beginning), and set up my buttons to automatically select after a certain amount of time which corresponded to three loops of the menu. Apparently, that wasn't what was needed, because the menu played once and then went directly to the first movie.

    Anyone know what I should be doing to accomplish, say, three repeats of the menu, then leading to the first movie automatically?

    Gonna have to re-encode the movie again and set up a lot of I-frames this time around, because all my chapter stops were way off. Even though I'm positive most of them _were_ on I-frames. (Well, dramatic scene changes, at the least. :P )
    Quote Quote  
  2. Member
    Join Date
    Aug 2003
    Location
    United States
    Search Comp PM
    Well, I guess it's possible that DVD-Lab doesn't enable that sort of flexibility. Still doesn't explain why my supposedly looped menu did no such thing.
    Quote Quote  
  3. The loop is a post VM command in the menu. When you set a default button to be executed, and it times out and executed, the post VM commands are never executed. When a button is pushed flow is to the linked object. You never return to the calling menu to execute POST VM commands.


    DLP VM Commands will do it:

    Increment a GPMR as a VM post command with each loop and check it as a pre VM command.

    hints

    Pre VM
    GPMR1 = 3
    if (GPMR0 == GPMR1) jump ......

    Post VM

    GPMR0 +=1
    -----------------------------------------------------

    There is a reason why God gave us one mouth and two ears!!!
    Quote Quote  
  4. Member
    Join Date
    Aug 2003
    Location
    United States
    Search Comp PM
    Thanks. Haven't tested it yet but I suspect that'll do it. I'd say it's a pity DVD-Lab doesn't present a user-friendly solution to the concept, but now that I've had to teach myself the code, I don't really care. ;P
    Quote Quote  
  5. Member
    Join Date
    Aug 2003
    Location
    United States
    Search Comp PM
    Okay, well. I put the code in. Far as I can tell, each time the menu loops, I have a variable set up to increase by one, and should said variable ever reach the value of 3, then the next time the menu tries to play, it will skip directly to tt 1.

    Load the result into WinDVD and it just loops the menu forever.

    So, like, what the heck?

    My syntax:

    PreVM:
    GPRM1=0x3
    if (GPRM0 == GPRM1) JumpTT 1

    PostVM:
    GPRM0 +=0x1

    The only possible issue may be that I cannot tell which "TT" my non-menu movies are. If DVD-Lab presents that information, it sure seems to hide it well.
    Quote Quote  
  6. Originally Posted by Colmino
    Well, I read the documentation but I apparently didn't get it. I set up my Root menu to loop (dragged its out point back to its beginning), and set up my buttons to automatically select after a certain amount of time which corresponded to three loops of the menu. Apparently, that wasn't what was needed, because the menu played once and then went directly to the first movie.
    If you've set a force activate button, then what happened is correct because this is a vob instruction which will override the loop. The time you've set is the still time after the cell has done playing. It won't make it loop.

    The syntax awlchu gave you is OK. It may be that when doing the loop DVD-Lab resets GPRM0 or links to another PGC first where it modifies its value or something silly like that. In this case do the loop yourself. Add a post command LinkPGCN X, where X is the PGC number of the menu (you have to find this; it may not be 1 even if it's the first menu because I think DVD-Lab puts some default PGCs on its own before your menus).

    It may also be that before the pre command section is executed, GPRM0 is not 0 because its value has been modified in another PGC. In this case put as a first pre command If (GPRM1!=3) GPRM0=0. This will assign 0 to GPRM0 but only if GPRM1 is not 3.

    Also before the jumpTT command you'll need to reset GPRM0 to 0 (or GPRM1 to 0 if you've added the upper command) otherwise you won't be able to call the menu anymore (as soon as you get to the pre command section it will jump back to the title because GPRM0 is 3).

    Another thing. What kind of menus are they, VMG or VTS? If they are VMG, fine but if they are VTS menus, jumpTT is not a legal command there, so, depending on the player, it may ignore it and loop forever. You need to replace it with jumpVTS_TT.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!