Re: Why doesn't this script work?
Elio Blanca <[email protected]>
| Newsgroups | gmane.comp.multimedia.dvdauthor.user |
|---|---|
| Message-ID | <[email protected]> |
Ah, well, finally I did it!
Here you have attached the latest version of my xml script.
I was sure some time ago I put an intro clip into vmgm, so I just `dvdunauthored' that old disc in
order to know the truth. It is simple:
<fpc> {...; jump vmgm menu entry title; } </fpc>
<menus>
<pgc entry="title"> ... </pgc>
</menus>
</vmgm>
This did the trick!
Now everything works as I want and I swear I will keep this script (in text format, in pdf format
and even printed on paper) as a base for all my future discs. :-)
Thank you very much!
------------------------------------------------------------------------------
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
disco4.xml
(text/xml, 2.5 KB)
<dvdauthor dest="./directory_output_prova1/">
<vmgm>
<fpc> <!-- impostazioni di avvio -->
{
g0=1; <!-- lingua audio 0=eng, 1=ita -->
g1=0; <!-- sottotitoli eng on/off -->
g2=1k; <!-- pulsante evidenziato nel menu lingue -->
jump vmgm menu entry title;
}
</fpc>
<menus> <!-- not a real menu! this is the intro clip -->
<video format="pal" aspect="16:9" />
<audio format="ac3" samplerate="48khz" />
<pgc entry="title">
<vob file="clip_to_be_shown_just_once_at_disc_insertion.vob" pause="1"/>
<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" />
<pgc entry="root">
<pre> button = 2k; </pre>
<vob file="Main_menu.m2v" pause="inf" />
<button name="1"> jump menu 2; </button>
<button name="2"> jump title 1; </button>
</pgc>
<pgc>
<pre>
button=g2;
</pre>
<vob file="Second_menu.vob" pause="inf" />
<button name="1">
{g0=0;
g2=1k;
jump menu 2;}
</button>
<button name="2">
{g0=1;
g2=2k;
jump menu 2;}
</button>
<button name="3">
{g1=1;
g2=3k;
jump menu 2;}
</button>
<button name="4">
{g1=0;
g2=4k;
jump menu 2;}
</button>
<button name="5">
{g2=5k;
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.vob" />
<post>
{ if (g0==0) call menu entry root;
s1=0;
jump title 2;}
</post>
</pgc>
<pgc>
<vob file="clip_to_be_shown_if_audio_track_is_0x01.m2v"/>
<post> call menu entry root; </post>
</pgc>
</titles>
</titleset>
</dvdauthor>