Re: Unexpected jumps, skipping chapters

Elio Blanca <[email protected]>
Newsgroups gmane.comp.multimedia.dvdauthor.user
Message-ID <[email protected]>
Here is my xml config file:

<dvdauthor dest="./directory_output_prova1/">
    <vmgm>
       <fpc>  <!-- general settings -->
       {
       	g0=1;    <!-- subtitle language 0=eng, 1=ita -->
       	g1=1;    <!-- subtitle on/off -->
       	g2=0;    <!-- play mode 0="just this episode", 1="play two episodes", 2="play all"  -->
       	g3=1k;   <!-- enable this button -->
       	g4=1;    <!-- jump to this menu -->
         jump vmgm menu entry title;
       }
       </fpc>
       <menus>
          <video format="pal" aspect="16:9" />
          <audio format="ac3" samplerate="48khz" />
          <pgc entry="title">
             <vob file="Intro_MPEG_STD.m2v" pause="2"/>
             <post> jump titleset 1 menu entry root; </post>
          </pgc>
       </menus>
   </vmgm>

    <titleset>
       <menus lang="it">
          <video format="pal" aspect="16:9" />
          <audio format="ac3" samplerate="48khz" />
          <subpicture lang="it">
              <stream mode="widescreen" id="0" />
              <stream mode="letterbox" id="1" />
          </subpicture>
	<!-- MAIN MENU -->
          <pgc entry="root">
             <pre>
               {
                 if (g4 eq 6) jump menu 6;
                 if (g4 eq 5) jump menu 5;
                 if (g4 eq 4) jump menu 4;
                 if (g4 eq 3) jump menu 3;
                 if (g4 eq 2) jump menu 2;
                 button = g3;
               }
             </pre>
             <vob file="menu_MAIN_PRONTO.m2v" pause="inf" />
             <button name="1">{g3=1k; g2=2; g4=1; jump title 1;}</button>
             <button name="2">{g3=1k; jump menu 4;}</button>
             <button name="3">
             {
               if (g1==0) g3=3k;
               else
               {
                 if (g0==0)
                   g3=1k;
                 else
                   g3=2k;
               }
               jump menu 2;
             }
             </button>
             <button name="4">{g3=1k; jump menu 3;}</button>
             <button name="5">{g3=5k; g4=1; jump title 13;}</button>
          </pgc>

          <!-- menu 2: subtitle setup -->
          <pgc entry="subtitle">
             <pre>
               button=g3;
             </pre>
             <vob file="menu_SUBS_PRONTO.m2v" pause="inf" />
             <button name="1">
             	{g0=0;
             	g1=1;
             	g3=1k;
             	jump menu 2;}
             </button>
             <button name="2">
             	{g0=1;
             	g1=1;
             	g3=2k;
             	jump menu 2;}
             </button>
             <button name="3">
             	{g0=0;
             	g1=0;
             	g3=3k;
             	jump menu 2;}
             </button>
             <button name="4">
             	{g3=3k; g4=1; jump menu 1;}
             </button>
          </pgc>

          <!-- menu 3: extra -->
          <pgc>
             <pre>
               button=g3;
             </pre>
             <vob file="menu_EXTRA_PRONTO.m2v" pause="inf" />
             <button name="1">
             	{g3=1k; g4=3; jump title 12;}
             </button>
             <button name="2">
             	{g3=2k; g4=3; jump title 11;}
             </button>
             <button name="3">
             	{g3=3k; g4=3; jump title 10;}
             </button>
             <button name="4">
             	{g3=4k; g4=1; jump menu 1;}
             </button>
          </pgc>

          <!-- menu 4: group 1 -->
          <pgc>
             <pre>
               button=g3;
             </pre>
             <vob file="menu_GROUP1_PRONTO.m2v" pause="inf" />
             <button name="1">
             	{g3=1k; g4=4; g2=0; jump title 1;}
             </button>
             <button name="2">
             	{g3=2k; g4=4; g2=0; jump title 2;}
             </button>
             <button name="3">
             	{g3=3k; g4=4; g2=0; jump title 3;}
             </button>
             <button name="4">
             	{g3=2k; g4=1; jump menu 1;}
             </button>
             <button name="5">
             	{g3=5k; g4=4; g2=1; jump title 1;}
             </button>
             <button name="6">
             	{g3=1k; g4=5; jump menu 5;}
             </button>
          </pgc>

          <!-- menu 5: group 2 -->
          <pgc>
             <pre>
               button=g3;
             </pre>
             <vob file="menu_GROUP2_PRONTO.m2v" pause="inf" />
             <button name="1">
             	{g3=1k; g4=5; g2=0; jump title 4;}
             </button>
             <button name="2">
             	{g3=2k; g4=5; g2=0; jump title 5;}
             </button>
             <button name="3">
             	{g3=3k; g4=5; g2=0; jump title 6;}
             </button>
             <button name="4">
             	{g3=2k; g4=1; jump menu 1;}
             </button>
             <button name="5">
             	{g3=5k; g4=5; g2=1; jump title 4;}
             </button>
             <button name="6">
             	{g3=1k; g4=6; jump menu 6;}
             </button>
             <button name="7">
             	{g3=1k; g4=4; jump menu 4;}
             </button>
          </pgc>

          <!-- menu 6: group 3 -->
          <pgc>
             <pre>
               button=g3;
             </pre>
             <vob file="menu_GROUP3_PRONTO.m2v" pause="inf" />
             <button name="1">
             	{g3=1k; g4=6; g2=0; jump title 7;}
             </button>
             <button name="2">
             	{g3=2k; g4=6; g2=0; jump title 8;}
             </button>
             <button name="3">
             	{g3=3k; g4=6; g2=0; jump title 9;}
             </button>
             <button name="4">
             	{g3=2k; g4=1; jump menu 1;}
             </button>
             <button name="5">
             	{g3=5k; g4=6; g2=1; jump title 7;}
             </button>
             <button name="6">
             	{g3=1k; g4=5; jump menu 5;}
             </button>
          </pgc>
       </menus>

       <titles>
          <video format="pal" aspect="16:9" />
          <audio format="ac3" lang="en" />
          <subpicture lang="en" />
          <subpicture lang="it" />

          <!-- title 1 -->
          <pgc>
             <pre>
               {subtitle=64*g1+g0;}
             </pre>
             <vob file="ep1_4.m2v" 
chapters="0:00:00.000,0:03:07.680,0:05:23.520,0:10:25.920,0:11:53.520"/>
             <post>
             { if (g2 eq 0) call menu entry root;
               jump title 2;}
             </post>
          </pgc>

          <!-- title 2 -->
          <pgc>
             <pre>
               {subtitle=64*g1+g0;}
             </pre>
             <vob file="ep2_4.m2v" 
chapters="0:00:00.000,0:01:18.680,0:02:26.760,0:04:59.440,0:07:16.880,0:08:48.920"/>
             <post>
             { if (g2 eq 2) jump title 3;
               call menu entry root;}
             </post>
          </pgc>

          <!-- title 3 -->
          <pgc>
             <pre>
               {subtitle=64*g1+g0;}
             </pre>
             <vob file="ep3_4.m2v" 
chapters="0:00:00.000,0:01:26.160,0:04:27.880,0:07:12.000,0:09:50.960,0:11:19.240"/>
             <post>
             { if (g2 eq 2) jump title 4;
               call menu entry root;}
             </post>
          </pgc>

          <!-- title 4 -->
          <pgc>
             <pre>
               {subtitle=64*g1+g0;}
             </pre>
             <vob file="ep4_4.m2v" 
chapters="0:00:00.000,0:01:39.680,0:03:32.800,0:05:41.400,0:07:20.280,0:08:47.280"/>
             <post>
             { if (g2 eq 0) call menu entry root;
               jump title 5;}
             </post>
          </pgc>

          <!-- title 5 -->
          <pgc>
             <pre>
               {subtitle=64*g1+g0;}
             </pre>
             <vob file="ep5_4.m2v" 
chapters="0:00:00.000,0:01:10.240,0:02:28.760,0:03:48.480,0:05:09.000,0:06:33.960,0:08:01.320"/>
             <post>
             { if (g2 eq 2) jump title 6;
               call menu entry root;}
             </post>
          </pgc>

          <!-- title 6 -->
          <pgc>
             <pre>
               {subtitle=64*g1+g0;}
             </pre>
             <vob file="ep6_4.m2v" 
chapters="0:00:00.000,0:00:40.600,0:03:25.920,0:05:44.320,0:08:22.000,0:10:47.040,0:12:13.960"/>
             <post>
             { if (g2 eq 2) jump title 7;
               call menu entry root;}
             </post>
          </pgc>

          <!-- title 7 -->
          <pgc>
             <pre>
               {subtitle=64*g1+g0;}
             </pre>
             <vob file="ep7_4.m2v" 
chapters="0:00:00.000,0:00:55.800,0:02:57.600,0:04:52.960,0:08:46.720,0:10:13.360"/>
             <post>
             { if (g2 eq 0) call menu entry root;
               jump title 8;}
             </post>
          </pgc>

          <!-- title 8 -->
          <pgc>
             <pre>
               {subtitle=64*g1+g0;}
             </pre>
             <vob file="ep8_4.m2v" 
chapters="0:00:00.000,0:00:43.160,0:03:08.000,0:04:54.760,0:06:13.600,0:07:40.800"/>
             <post>
             { if (g2 eq 2) jump title 9;
               call menu entry root;}
             </post>
          </pgc>

          <!-- title 9 -->
          <pgc>
             <pre>
               {subtitle=64*g1+g0;}
             </pre>
             <vob file="ep9_4.m2v" 
chapters="0:00:00.000,0:01:19.920,0:03:27.600,0:05:51.600,0:06:33.320,0:08:31.880,0:10:00.080"/>
             <post>
               call menu entry root;
             </post>
          </pgc>

          <!-- title 10 -->
          <pgc>
             <pre>
               {subtitle=64*g1+g0;}
             </pre>
             <vob file="debut_4.m2v" chapters="0:00:00.000,0:01:43.560"/>
             <post>{call menu entry root;}</post>
          </pgc>

          <!-- title 11 -->
          <pgc>
             <pre>
               {subtitle=64*g1+g0;}
             </pre>
             <vob file="teaser_4.m2v" chapters="0:00:00.000,0:01:17.560"/>
             <post>{call menu entry root;}</post>
          </pgc>

          <!-- title 12 -->
          <pgc>
             <pre>
               {subtitle=64*g1+g0;}
             </pre>
             <vob file="ep0_4.m2v" 
chapters="0:00:00.000,0:01:00.960,0:01:58.040,0:04:43.400,0:05:51.560,0:07:29.560"/>
             <post>{call menu entry root;}</post>
          </pgc>

          <!-- title 13 -->
          <pgc>
             <pre>
               {subtitle=62;}
             </pre>
             <vob file="credits_4.m2v" chapters="0:00:00.000,0:01:34.200"/>
             <post>{call menu entry root;}</post>
          </pgc>

       </titles>
    </titleset>
</dvdauthor>


So, what am I doing wrong?


------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.