VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    Sep 2002
    Location
    Central IL
    Search Comp PM
    My wife loves me, because she bought me a DVD+/- R/RW drive for Christmas. I created my first DVD last night using DVDAuthorGui (thanks liquid) but it was only 18 minutes of mpeg2 video. Prior to this, I was making VCDs using VCDEasy, but now that I can do DVD, well...

    I've read the fine DVDAuthorGUI and DVDAuthor documentation, but I'm not sure how to do this. I've got two "Day Out with Thomas" videos that I want to have separate chapter menus for, plus a title menu to select either title or "Play All". Here's what I'd like to do:



    If I can't do this in DVDAuthorGUI then I would be willing to modify the xml it generates to make this happen. Does anyone out there know how to do this?

    Thanks,
    CogoswSDS
    Quote Quote  
  2. Free Flying Soul liquid217's Avatar
    Join Date
    Feb 2002
    Location
    United States
    Search Comp PM
    Thanks for the kind words, below is a response to a similar question on a 'play all' scenario. It does require editing the XML some.


    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.

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <dvdauthor dest="C:\test">
    
      <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>
    Quote Quote  
  3. Member
    Join Date
    Jan 2005
    Location
    North America
    Search Comp PM
    I am working on a home video DVD project. I am trying to deck it out with lots of features.

    Below is the XML file that I am using for my dvd project

    There are basically three ways that I want to control my main movie (title2.mpg)
    1. Main Menu --> Direct to Movie (menusub1.mpg)
    2. Chapter Menu --> Direct to the Chapters (menusub2.mpg-menusub5.mpg)
    3. Audio Setup Menu --> Resume Film (menusub8.mpg)

    Also when I hit "Menu" on my DVD remote, it restart the movie.

    I guess the questions are:
    1. How do I keep the location were I last left off when going to the "Audio Setup" menu or Chapter Selection menu.
    2. Is there a way to set up the "Menu" key to display either the last menu or chapter list?

    Any help would be most appreciated.


    <?xml version="1.0" encoding="UTF-8"?>
    <dvdauthor dest="E:\hmovie\test">








    <vmgm>
    <fpc>
    jump titleset 1 menu;

    </fpc>

    <menus lang="en">
    <pgc>
    <button>g1=1;jump titleset 2 menu;</button>
    <button>g1=2;jump titleset 2 menu;</button>
    <button>g1=3;jump titleset 2 menu;</button>
    <button>jump menu 2;</button>
    <vob file="E:\hmovie\test\menusub1.mpg" />
    <post>jump menu 1;</post>
    </pgc>


    <pgc>
    <button>g2=0;jump titleset 3 menu;</button>
    <button>g2=1;jump titleset 3 menu;</button>
    <button>g2=2;jump titleset 3 menu;</button>
    <button>g2=3;jump titleset 3 menu;</button>
    <button>jump menu 1;</button>
    <button>jump menu 3;</button>
    <vob file="E:\hmovie\test\menusub6.mpg" />
    <post>jump menu 2;</post>
    </pgc>
    <pgc>
    <button>g2=4;jump titleset 3 menu;</button>
    <button>g2=5;jump titleset 3 menu;</button>
    <button>g2=6;jump titleset 3 menu;</button>
    <button>g2=7;jump titleset 3 menu;</button>
    <button>jump menu 2;</button>
    <vob file="E:\hmovie\test\menusub7.mpg" />
    <post>jump menu 3;</post>
    </pgc>


    </menus>
    </vmgm>

    <titleset>
    <menus lang="en">
    <pgc entry="root">
    <pre>
    jump title 1;
    </pre>
    <vob file="E:\hmovie\test\blank.mpg" />
    </pgc>
    <pgc>
    <button>jump title 1 chapter 1;</button>
    <button>jump title 1 chapter 1;</button>
    <vob file="E:\hmovie\test\menusub12.mpg" />
    </pgc>

    </menus>
    <titles>

    <video format="ntsc" aspect="4:3" />
    <audio lang="en" />
    <pgc>
    <vob file="E:\hmovie\test\title1.mpg" chapters="00:00:00.00" />
    <post>call vmgm menu;</post>
    </pgc>
    </titles>
    </titleset>


    <titleset>
    <menus lang="en">


    <pgc entry="root">
    <pre>
    if (g1==1) jump title 1;
    if (g1==2) jump menu 6;
    if (g1==3) jump menu 2;
    </pre>
    <vob file="E:\hmovie\test\blank.mpg" />
    </pgc>
    <pgc>
    <button>jump title 1 chapter 1;</button>
    <button>jump title 1 chapter 2;</button>
    <button>jump title 1 chapter 3;</button>
    <button>jump title 1 chapter 4;</button>
    <button>jump vmgm menu;</button>
    <button>jump menu 3;</button>
    <vob file="E:\hmovie\test\menusub2.mpg" />
    <post>jump menu 2;</post>
    </pgc>
    <pgc>
    <button>jump title 1 chapter 5;</button>
    <button>jump title 1 chapter 6;</button>
    <button>jump title 1 chapter 7;</button>
    <button>jump title 1 chapter 8;</button>
    <button>jump menu 2;</button>
    <button>jump menu 4;</button>
    <vob file="E:\hmovie\test\menusub3.mpg" />
    <post>jump menu 3;</post>
    </pgc>
    <pgc>
    <button>jump title 1 chapter 9;</button>
    <button>jump title 1 chapter 10;</button>
    <button>jump title 1 chapter 11;</button>
    <button>jump title 1 chapter 12;</button>
    <button>jump menu 3;</button>
    <button>jump menu 5;</button>
    <vob file="E:\hmovie\test\menusub4.mpg" />
    <post>jump menu 4;</post>
    </pgc>
    <pgc>
    <button>jump title 1 chapter 13;</button>
    <button>jump title 1 chapter 13;</button>
    <button>jump menu 4;</button>
    <vob file="E:\hmovie\test\menusub5.mpg" />
    <post>jump menu 5;</post>
    </pgc>



    <pgc>
    <button>g10=1;jump title 1;resume;</button>
    <button>g10=0;jump title 1;resume;</button>
    <button>g11=1;jump title 1;resume;</button>
    <button>g11=0;jump title 1;resume;</button>
    <button>jump menu 7;</button>
    <button>jump menu 8;</button>
    <button>jump menu 9;</button>
    <button>jump vmgm menu;</button>
    <vob file="E:\hmovie\test\menusub8.mpg" />
    </pgc>



    <pgc>
    <button>jump menu 6;</button>
    <vob file="E:\hmovie\test\menusub9.mpg" />
    </pgc>



    <pgc>
    <button>jump menu 6;</button>
    <vob file="E:\hmovie\test\menusub10.mpg" />
    </pgc>



    <pgc>
    <button>jump menu 6;</button>
    <vob file="E:\hmovie\test\menusub11.mpg" />
    </pgc>

    </menus>

    <titles>
    <video format="ntsc" aspect="16:9" widescreen="nopanscan" />
    <audio lang="en" />
    <audio lang="en" />
    <subpicture lang="en" />
    <pgc>
    <pre>
    if (g10==1) s1 = 1;
    if (g10==0) s1 = 0;
    if (g11==1) s2 = 64;
    if (g11==0) s2 = 0;
    if (g12>0) s9 = g12;
    </pre>
    <vob file="E:\hmovie\test\title2.mpg" chapters="00:00:00.000,00:00:11.211,00:00:31.365,0 0:03:32.846,00:03:55.802,00:05:47.548,00:09:17.191 ,00:14:07.981,00:17:52.506,00:20:28.629,00:21:07.7 68,00:30:24.124,00:31:24.751,00:31:40.100" />
    <post>call vmgm menu;g1=0;g12 = s9;</post>
    </pgc>
    </titles>
    </titleset>


    <titleset>
    <menus lang="en">
    <pgc entry="root">
    <pre>
    if (g2==0) jump title 1 chapter 1;
    if (g2==1) jump title 2 chapter 1;
    if (g2==2) jump title 3 chapter 1;
    if (g2==3) jump title 4 chapter 1;
    if (g2==4) jump title 5 chapter 1;
    if (g2==5) jump title 6 chapter 1;
    if (g2==6) jump title 7 chapter 1;
    if (g2==7) jump title 5 chapter 1;
    if (g2==8) jump vmgm menu;
    if (g2==9) jump title 6 chapter 1;
    if (g2==10) jump title 7 chapter 1;
    </pre>
    <vob file="E:\hmovie\test\blank.mpg" />
    </pgc>
    </menus>
    <titles>
    <video format="ntsc" aspect="4:3" />
    <audio lang="en" />
    <pgc>
    <vob file="E:\hmovie\test\title3.mpg" />
    <post>g2=8;call menu;</post>
    </pgc>
    <pgc>
    <vob file="E:\hmovie\test\title4.mpg" />
    <post>g2=8;call menu;</post>
    </pgc>
    <pgc>
    <vob file="E:\hmovie\test\title5.mpg" />
    <post>g2=8;call menu;</post>
    </pgc>
    <pgc>
    <vob file="E:\hmovie\test\title6.mpg" />
    <post>g2=8;call menu;</post>
    </pgc>
    <pgc>
    <vob file="E:\hmovie\test\title7.mpg" />
    <post>
    {
    if (g2==4) {g2=8;call menu;}
    if (g2==7) {g2=9;call menu;}
    }
    </post>
    </pgc>
    <pgc>
    <vob file="E:\hmovie\test\title8.mpg" />
    <post>
    {
    if (g2==5) {g2=8;call menu;}
    if (g2==9) {g2=10;call menu;}
    }
    </post>
    </pgc>
    <pgc>
    <vob file="E:\hmovie\test\title9.mpg" />
    <post>g2=8;call menu;</post>
    </pgc>
    </titles>
    </titleset>
    </dvdauthor>
    Quote Quote  
  4. Free Flying Soul liquid217's Avatar
    Join Date
    Feb 2002
    Location
    United States
    Search Comp PM
    quite an impressive XML. You should be able to use the resume tag to resume back to the title. You will need to use a register to tell if the menu was called from another menu, or the title. If it was called from the movie, use resume.

    Also, use the pgc entry tag to set the menu as an audio or subtitle menu.
    example:
    Code:
    <pgc [entry="title|root|subtitle|audio|angle|ptt"]
    Below is a good example xml that you can look over to give you an idea on how to use the resume function.
    http://www.wershofen.com/downloads/dvdauthor.xml
    Quote Quote  
  5. Member
    Join Date
    Jan 2005
    Location
    North America
    Search Comp PM
    Originally Posted by liquid217
    quite an impressive XML. You should be able to use the resume tag to resume back to the title. You will need to use a register to tell if the menu was called from another menu, or the title. If it was called from the movie, use resume.

    Also, use the pgc entry tag to set the menu as an audio or subtitle menu.
    example:
    Code:
    <pgc [entry="title|root|subtitle|audio|angle|ptt"]
    Below is a good example xml that you can look over to give you an idea on how to use the resume function.
    http://www.wershofen.com/downloads/dvdauthor.xml
    liquid, thank you for the help and the compliment. I am currently in the process of reworking my XML file.
    Quote Quote  



Similar Threads

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