Log in

View Full Version : dvdauthor auto-play


d2mp
28th November 2006, 00:31
I've made a simple xml script for dvdauthor, with a simple 4:3 menu, a 4:3 source and a 16:9 source.

I'd like that the authored dvd could be auto-played when inserted (as in comercial DVD's) - this is working in windows but not with standalone DVD players.

What is missing ?

Bellow the xml i'm using:

<dvdauthor dest="C:\_output folder\AUTHOR">
<vmgm>
<menus>
<video format ="pal" aspect="4:3" />
<pgc entry="title">
<vob file="buttons.mpg"/>
<button name="mb1"> jump titleset 1 menu;</button>
<button name="mb2"> jump titleset 2 menu;</button>
</pgc>
</menus>
</vmgm>
<titleset>
<menus>
<video format ="pal" aspect="4:3" />
<pgc>
<pre> jump title 1; </pre>
<vob file="pal.mpg"/>
</pgc>
</menus>
<titles>
<video format="pal" />
<audio lang="EN" />
<subpicture lang="PT" />
<pgc>
<pre> subtitle=64; </pre>
<vob file="xvid_prog_PAL_4-3_48k_ac3.MPG" chapters="00:00:00.00" />
<post>{call vmgm menu;}</post>
</pgc>
</titles>
</titleset>
<titleset>
<menus>
<video format ="pal" aspect="16:9" />
<pgc>
<pre> jump title 1; </pre>
<vob file="pal.mpg"/>
</pgc>
</menus>
<titles>
<video format="pal" />
<audio lang="EN" />
<subpicture lang="PT" />
<pgc>
<pre> subtitle=64; </pre>
<vob file="DIVX_235_1_48k_SUBS.MPG" chapters="00:00:00.00" />
<post>{call vmgm menu;}</post>
</pgc>
</titles>
</titleset>
</dvdauthor>

Zeul
28th November 2006, 01:26
It looks like you have defined a PGC in the VMGM, however, i don't see the equivalent to FirstPlayPGC (this is the pgc that is played on DVD starting). This should be telling the player to goto the title PGC in the VMGM. The FirstPlayPGC cannot have any cells associated with it - it is for commands only.

d2mp
28th November 2006, 01:48
ok. thank you.
I believe than that I sohuld create a

<vmgm>
<fpc> jump vmgm menu; </fpc>
...


but if I insert this command in the <vmgm> definition, dvdauthor crashes...

373 [main] dvdauthor 1564 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
50845 [main] dvdauthor 1564 open_stackdumpfile: Dumping stack trace to dvdauthor.exe.stackdump

Zeul
28th November 2006, 08:30
well looking at the docs there doesn't seem to be anything for firstplaypgc.

See if this helps:
http://dvdauthor.sourceforge.net/doc/dvdauthor.html