Why doesn't this script work?

Elio Blanca <[email protected]>
Newsgroups gmane.comp.multimedia.dvdauthor.user
Message-ID <[email protected]>
Please, help me with this script, I can't understand how to make it compile a good DVD video layout.
It should show a fast clip when the tray is closed, then the main menu. Optionally one can use a 
second menu too, in order to choose the language, then there is the main movie and a brief clip has 
to be shown only if the selected language is track 0x01.
Then the main menu should appear again. But I can't make this, I always get an error when asking for 
this jump (two similar jumps are located at the end of the script). I used:
jump menu 1
call menu 1
jump menu
call menu
jump menu 1 pgc 1
call menu 1 pgc 1
resume menu
resume
in several ways (of course, i put semicolon :-)  ) but dvdauthor never likes my statements and no 
help comes from docs. Maybe I made some mistake...

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users
disco2.xml (text/xml, 2.3 KB)
<dvdauthor dest="./directory_output_prova1/" allgprm="yes">
   <vmgm>
      <fpc>
      	g0=1;  <!-- lingua audio 0=eng, 1=ita -->
      	g1=0;  <!-- sottotitoli eng on/off  -->
      </fpc>
      <menus>
         <video format="pal" aspect="16:9" />
         <audio format="ac3" samplerate="48khz" />
         <pgc>
            <vob file="clip_to_be_shown_just_once_at_disc_insertion.vob"/>
            <post> jump titleset 1 menu 1; </post>
         </pgc>
      </menus>
  </vmgm>

   <titleset>
      <menus lang="it">
         <video format="pal" aspect="16:9" />
         <audio format="ac3" samplerate="48khz" />
         <pgc>
            <vob file="Main_menu.m2v" pause="inf">
            </vob>
            <button name="1"> jump menu 2; </button>
            <button name="2"> jump title 1; </button>
         </pgc>
      </menus>
      <menus lang="it">
         <video format="pal" aspect="16:9" />
         <audio format="ac3" samplerate="48khz" />
         <pgc>
            <vob file="Second_menu.vob" pause="inf">
            </vob>
            <button name="1"> g0=0; </button>
            <button name="2"> g0=1; </button>
            <button name="3"> g1=1; </button>
            <button name="4"> g1=1; </button>
            <button name="5"> jump menu 1; </button>
         </pgc>
      </menus>

      <titles>
         <video format="pal" aspect="16:9" />
         <audio format="ac3" lang="en" />
         <audio format="ac3" lang="it" />
         <subpicture lang="en" />
         <pgc>
            <pre>
            	s1=g0;
            	if (g1==0) s2=0;
            	else s2=64;
            </pre>
            <vob file="Main_movie.m2v">
            </vob>
            <post> if (g0==0) I_NEED_HELP_FOR_THIS; </post>
         </pgc>

         <pgc>
            <vob file="clip_to_be_shown_if_audio_track_is_0x01.vob">
              <cell start="0:00:00.000" end="0:00:05.000" chapter="1"/>
              <cell start="0:00:05.000" end="0:00:10.000" chapter="1"/>
              <cell start="0:00:10.000" end="0:00:15.000" chapter="1"/>
              <cell start="0:00:15.000" end="0:00:20.000" chapter="1"/>
              <cell start="0:00:20.000" end="0:00:25.000" chapter="1"/>
              <cell start="0:00:25.000" chapter="1"/>
            </vob>
            <post> I_NEED_HELP_FOR_THIS; </post>
         </pgc>

      </titles>
   </titleset>
</dvdauthor>
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.