Re: Why doesn't this script work?

Claude Heiland-Allen <[email protected]>
Newsgroups gmane.comp.multimedia.dvdauthor.user
Message-ID <[email protected]>
Hi Elio,

On 12/07/10 23:22, Elio Blanca wrote:
> 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...

Try adding 'entry="root"' to the pgc for the first menu.
Then 'call menu entry root' in the code.  I think you can only jump to 
menus by 'entry' from a title, while jumps between menus are more flexible.

I've successfully used something like:

----8<----
<dvdauthor jumppad="no"><vmgm><fpc>{
   g1 = 1; g2 = 1; g3 = 0; jump titleset 1 menu entry root;
}</fpc></vmgm>
<titleset><!-- titleset 1 -->
<menus>
<pgc pause="0"><!-- menu 1 -->
   ...[menu contents]...
</pgc>
...[more menus]...
<pgc pause="0" entry="root"><!-- menu root -->
<pre>{
   if (g1 eq 1) { jump title 1; } else { jump menu 81; }
}</pre>
<vob file="blank.mpeg" />
</pgc><!-- menu root -->
</menus><titles>
<pgc><!-- title 1 -->
<pre>{ g1 = 0; }</pre>
<vob file="intro.mpeg" />
<post>{ call menu entry root; }</post>
</pgc><!-- title 1 -->
</titles>
</titleset><!-- titleset 1 -->
</dvdauthor>
----8<----


Hope this helps,


Claude
-- 
http://claudiusmaximus.goto10.org

------------------------------------------------------------------------------
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
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.