Log in

View Full Version : problem displaying the right image on menu


nighthawk2018
9th November 2009, 20:35
I am using dvdauthor, and I present a menu, image and audio.
I used flags to navigate between menus automatically.... though, while navigating to the second menu (automatically), it present for a fraction of second the second menu while playing the correct audio..

Have anyone had that problem, what might cause that?

setarip_old
9th November 2009, 21:54
As I suggested to you in another of your multiple threads regarding "dvdauthor":

Hi!

In light of the several different questions you've posted regarding "DVDAuthor", I'd suggest you might find some answers at:

http://dvdauthor.sourceforge.net/doc/index.html

nighthawk2018
10th November 2009, 10:14
I checked the link you gave,.
It is very basic,. I am asking more advance features or operation that I would like to make of the dvdauthor.... what I ask isn't available in the document wiki.

But, thanks for posting the link

nighthawk2018
12th November 2009, 17:04
Here is a sample of the code I've been using,. All mpgs formats are an image multiplexed with audio track... using "mplex"
<dvdauthor dest="newdvd" >
<vmgm>
<menus>
<video format="pal" aspect="4:3" resolution="720x576" />
<pgc entry="title" >
<pre> { if ((g3 gt 0) || (g5 gt 0) || (g6 gt 0)) jump titleset 1 menu entry root;
} </pre>
<vob file="menu.mpg" pause="inf" />
<button name="1" > { g4=1024; g5=1; jump titleset 1 menu entry root; } </button>
<button name="2" > { g4=2048; g5=2; jump titleset 1 menu entry root; } </button>
<button name="3" > { g4=3072; g5=3; jump titleset 1 menu entry root; } </button>

<button name="MorePages" > { g4=0; g2=4; g3=1; jump vmgm menu entry title; } </button>
<post> { g4=button; g2=0; jump vmgm menu 1; } </post>
</pgc>
</menus>
</vmgm>
<titleset>
<menus>
<pgc entry="root" >
<pre> { <!-- if ( g3 gt 0 ) -->
if ( g5 eq 1 ) jump menu 2;

jump vmgm menu entry title;

} </pre>
<post> { g2 = 0; jump vmgm menu entry title; } </post>
</pgc>

<!--- **************** MenuIndex: 2 ******************** //-->
<pgc >
<pre> { g2=2;
if (g6 eq 1) { jump menu 3; }
if (g6 eq 2) { jump menu 4; }
if (g6 eq 3) { jump menu 5; }

if (g3 gt 3) { g3 = 1; g6 = g6 + 1; jump menu 3; }
} </pre>
<vob file="menu-0.mpg" pause="inf" />
<button name="home"> { g2 = 0; g3 = 0; jump vmgm menu entry title; } </button>
<button name="1" > { g6=1; jump menu 3; } </button>
<button name="2" > { g6=2; jump menu 4; } </button>
<button name="3" > { g6=3; jump menu 5; } </button>

<button name="MorePages" > { g4=0; g2=4; g3=1; jump vmgm menu entry title; } </button>
<post> { g4=button; g2=0; jump vmgm menu 1; } </post>
</pgc>

<!--- **************** MenuIndex: 3 ******************** //-->
<pgc >
<pre> { g2=3;
if (g3 eq 1) { jump menu 4; }
if (g3 eq 2) { jump menu 5; }

if (g3 gt 10) { g3 = 1; g6 = g6 + 1; jump menu 4; }
} </pre>
<vob file="menu-0-0p1.mpg" pause="inf" />
<button name="home"> { g2 = 0; g3 = 0; jump vmgm menu entry title; } </button>
<button name="next" > { g6=0; jump menu 4; } </button>
<button name="1" > { g3=1; jump menu 4; } </button>
<button name="2" > { g3=2; jump menu 5; } </button>
<button name="3" > { g3=2; jump menu 5; } </button>
<button name="4" > { g3=2; jump menu 5; } </button>
<button name="5" > { g3=2; jump menu 5; } </button>
<button name="6" > { g3=2; jump menu 5; } </button>
<button name="7" > { g3=2; jump menu 5; } </button>
<button name="8" > { g3=2; jump menu 5; } </button>
<button name="9" > { g3=2; jump menu 5; } </button>
<button name="10" > { g3=2; jump menu 5; } </button>
<post> { g4=button; g2=0; jump vmgm menu 1; } </post>
</pgc>


<!--- **************** MenuIndex: 4 ******************** //-->
<pgc >
<vob file="20menu.mpg" pause="0" />
<post> { g3 = g3 + 1; jump menu entry root; } </post>
</pgc>


<!--- **************** MenuIndex: 5 ******************** //-->
<pgc >
<vob file="21menu.mpg" pause="0" />
<post> { g3 = g3 + 1; jump menu entry root; } </post>
</pgc>


</menus>
<titles>
<video format="pal" aspect="4:3" resolution="720x576" />
<audio lang="en" />
<pgc>
<vob file="0menu.mpg" />
</pgc>
</titles>
</titleset>
</dvdauthor>



if you can find anything wrong with the code let me know.... I think it might be either ther mplex I used... or a problems with the 'g' flags being used...