Enable MENU button direct link on jumppad complex vmgm dvds

View: New views
6 Messages — Rating Filter:   Alert me  

Enable MENU button direct link on jumppad complex vmgm dvds

by Andreas Frisch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear ML contributors,

i've stumbled upon a problem that i wasn't able to solve yet. i am authoring
DVD in a way where it has every title in a seperate titleset in order to
support multiple aspect rations and various audio formats on the single
titles.

the dvdauthor.xml looks like this:

<?xml version="1.0" encoding="utf-8"?>
 <dvdauthor dest="/hdd/movie/tmp/20090707232846/dvd" jumppad="yes">
  <vmgm>
   <menus>
    <video aspect="4:3"/>
    <pgc>
     <button name="button01"> jump titleset 1 title 1; </button>
     <button name="button02"> jump titleset 2 title 1; </button>
     <button name="button03"> jump titleset 3 title 1; </button>
     <button name="button04"> jump titleset 4 title 1; </button>
     <button name="button_next"> jump menu 2; </button>
     <vob file="/hdd/movie/tmp/20090707232846/dvdmenu1.mpg" pause="inf"/>
    </pgc>
    <pgc>
     <button name="button05"> jump titleset 5 title 1; </button>
     <button name="button06"> jump titleset 6 title 1; </button>
     <button name="button07"> jump titleset 7 title 1; </button>
     <button name="button08"> jump titleset 8 title 1; </button>
     <button name="button_prev"> jump menu 1; </button>
     <button name="button_next"> jump menu 3; </button>
     <vob file="/hdd/movie/tmp/20090707232846/dvdmenu2.mpg" pause="inf"/>
    </pgc>
    <pgc>
     <button name="button09"> jump titleset 9 title 1; </button>
     <button name="button_prev"> jump menu 2; </button>
     <vob file="/hdd/movie/tmp/20090707232846/dvdmenu3.mpg" pause="inf"/>
    </pgc>
   </menus>
  </vmgm>
  <titleset>
   <titles>
    <audio format="MP2" />
    <audio format="MP2" />
    <audio format="AC3" />
    <video aspect="16:9" />
    <pgc>
     <vob file="/hdd/movie/tmp/20090707232846/dvd_title_1.mpg"
chapters="0:00:01.319" />
     <post> jump titleset 2 title 1; </post>
    </pgc>
   </titles>
  </titleset>
  <titleset>
   <titles>
    <audio format="MP2" />
    <audio format="MP2" />
    <audio format="AC3" />
    <video aspect="16:9" />
    <pgc>
     <vob file="/hdd/movie/tmp/20090707232846/dvd_title_2.mpg"
chapters="0:00:01.319" />
     <post> jump titleset 3 title 1; </post>
    </pgc>
   </titles>
  </titleset>
  <titleset>
   <titles>
    <audio format="MP2" />
    <audio format="MP2" />
    <audio format="AC3" />
    <video aspect="4:3" />
    <pgc>
     <vob file="/hdd/movie/tmp/20090707232846/dvd_title_3.mpg"
chapters="0:00:01.319" />
     <post> jump titleset 4 title 1; </post>
    </pgc>
   </titles>
  </titleset>
  <titleset>
   <titles>
    <audio format="MP2" />
    <audio format="MP2" />
    <video aspect="16:9" />
    <pgc>
     <vob file="/hdd/movie/tmp/20090707232846/dvd_title_4.mpg"
chapters="0:00:00.301" />
     <post> jump titleset 5 title 1; </post>
    </pgc>
   </titles>
  </titleset>
  <titleset>
   <titles>
    <audio format="MP2" />
    <audio format="AC3" />
    <video aspect="16:9" />
    <pgc>
     <vob file="/hdd/movie/tmp/20090707232846/dvd_title_5.mpg"
chapters="0:00:00.301" />
     <post> jump titleset 6 title 1; </post>
    </pgc>
   </titles>
  </titleset>
  <titleset>
   <titles>
    <audio format="AC3" />
    <audio format="MP2" />
    <video aspect="4:3" />
    <pgc>
     <vob file="/hdd/movie/tmp/20090707232846/dvd_title_6.mpg"
chapters="0:00:00.301" />
     <post> jump titleset 7 title 1; </post>
    </pgc>
   </titles>
  </titleset>
  <titleset>
   <titles>
    <audio format="AC3" />
    <audio format="AC3" />
    <audio format="MP2" />
    <video aspect="16:9" />
    <pgc>
     <vob file="/hdd/movie/tmp/20090707232846/dvd_title_7.mpg"
chapters="0:00:00.301" />
     <post> jump titleset 8 title 1; </post>
    </pgc>
   </titles>
  </titleset>
  <titleset>
   <titles>
    <audio format="MP2" />
    <audio format="MP2" />
    <video aspect="16:9" />
    <pgc>
     <vob file="/hdd/movie/tmp/20090707232846/dvd_title_8.mpg"
chapters="0:00:00.301" />
     <post> jump titleset 9 title 1; </post>
    </pgc>
   </titles>
  </titleset>
  <titleset>
   <titles>
    <audio format="MP2" />
    <audio format="MP2" />
    <video aspect="16:9" />
    <pgc>
     <vob file="/hdd/movie/tmp/20090707232846/dvd_title_9.mpg"
chapters="0:00:00.301" />
     <post> call vmgm menu 1; </post>
    </pgc>
   </titles>
  </titleset>
 </dvdauthor>

unfortunately, the MENU button on the dvd remote control is ineffictive with
this assembly (so are the next/previous title buttons).
i've tried putting the first menu page as <pgc entry="root"> but that throws
the following ERR:  Entry root is not allowed for menu type VMGM
how can i fix the links correctly?

with kind regards

Fraxinas

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: Enable MENU button direct link on jumppad complex vmgm dvds

by Lawrence D'Oliveiro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andreas Frisch wrote:

>   <titleset>
 > ...
>      <post> jump titleset 2 title 1; </post>
 > ...
>   </titleset>

One obvious issue is that you cannot jump from one titleset directly to
another; you have to go via the VMGM.

> i've tried putting the first menu page as <pgc entry="root"> but that throws
> the following ERR:  Entry root is not allowed for menu type VMGM

Quoting from the dvdauthor(1) man page: "For  a  VMGM level menu, the
only choice [for the entry attribute] is title".

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: Enable MENU button direct link on jumppad complex vmgm dvds

by Lawrence D'Oliveiro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I wrote:

> One obvious issue is that you cannot jump from one titleset directly to
> another; you have to go via the VMGM.

Ah, sorry, I didn't notice the “jumppad="yes"” attribute.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: Enable MENU button direct link on jumppad complex vmgm dvds

by Lawrence D'Oliveiro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andreas Frisch wrote:

> unfortunately, the MENU button on the dvd remote control is ineffictive with
> this assembly ...

I think the MENU button is meant to move to a "root" menu within the
current titleset. Try starting each titleset with

     <menus>
         <pgc entry="root">
             <pre>
                 jump vmgm menu entry title;
             </pre>
         </pgc>
     </menus>

 > ... (so are the next/previous title buttons).

I think these are meant to move between titles in a titleset. I wonder
if you can precede and follow your existing titles with additional pgc
entries tnat contain no vobs, just <pre>-sequences that jump to the
preceding/following titleset?

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: Enable MENU button direct link on jumppad complex vmgm dvds

by Andreas Frisch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Lawrence,

thanks for your hint about the additional menu on each titleset! that did the
trick for me about the MENU button link to the disc main menu.
the jumping in between the titles doesn't work with the extra pgc and pre
sequence yet though but that's only secondary priority.

thanks again!
fraxinas

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: Enable MENU button direct link on jumppad complex vmgm dvds

by Lawrence D'Oliveiro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

By the way, you can reduce the repetitiveness of coding a dvdauthor XML
file somewhat by using tools such as m4 macros. For example, if you
define a macro "defbutton" as follows:

define(defbutton,
`<button name="button`'format(`%02d', $1)"> jump titleset $1 title 1;
</button>')dnl

then the calls

defbutton(1)
defbutton(2)

expand to

<button name="button01"> jump titleset 1 title 1; </button>
<button name="button02"> jump titleset 2 title 1; </button>

Similarly, defining "deftitle" as

define(deftitle,
`  <titleset>
    <titles>
     <audio format="MP2" />
     <audio format="MP2" />
     <audio format="AC3" />
     <video aspect="16:9" />
     <pgc>
      <vob file="/hdd/movie/tmp/20090707232846/dvd_title_$1.mpg"
chapters="0:00:01.319" />
      <post> jump titleset eval($1 + 1) title 1; </post>
     </pgc>
    </titles>
   </titleset>')dnl

lets you use calls like

deftitle(1)
deftitle(2)

to expand to

   <titleset>
    <titles>
     <audio format="MP2" />
     <audio format="MP2" />
     <audio format="AC3" />
     <video aspect="16:9" />
     <pgc>
      <vob file="/hdd/movie/tmp/20090707232846/dvd_title_1.mpg"
chapters="0:00:01.319" />
      <post> jump titleset 2 title 1; </post>
     </pgc>
    </titles>
   </titleset>
   <titleset>
    <titles>
     <audio format="MP2" />
     <audio format="MP2" />
     <audio format="AC3" />
     <video aspect="16:9" />
     <pgc>
      <vob file="/hdd/movie/tmp/20090707232846/dvd_title_2.mpg"
chapters="0:00:01.319" />
      <post> jump titleset 3 title 1; </post>
     </pgc>
    </titles>
   </titleset>

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users