Discussion:
[Dvdauthor-users] Re: How do I jump from a vmgm menu to a titleset
Cyrus Patel
2004-04-26 11:27:47 UTC
Permalink
2. How do I jump from a vmgm menu to a titleset which has no menu?
You don't jump to titlesets. You jump to titles or to menus (within a
titleset).

Also, "<button> jump titleset 1 title 1;</button>" is incorrect
because...

You only specify a domain ("vmgm", "titleset N") only when jumping to
menus - for example "jump titleset 1 menu" to jump from the vmgm to
the first menu in titleset 1; or "jump vmgm menu 6" to jump from a
titleset to the sixth menu in the vmgm.

To jump from the vmgm to a title, you simple specify "jump title N;"
where 'N' is the N'th title counted sequentially beginning with 1.
So to jump to the first title, irrespective of which titleset it is
in, use "jump title 1;", to jump to the second, again, irrespective
of which titleset it is in, "jump title 2;" and so on.

Although this might seem inconsistant at first sight, it isn't
really: Treating menus and titles differently is simply a
reflection of the way the DVD specification sees them. There,
menus are identified within the context of the domain they
reside in, while titles are seen as a flat list. Consequently,
there are only two DVD op-codes for jumping to titles
'JumpTT' jumps to a (sequentially numbered) title.
'JumpVTS_TT' jumps to a title in the current titleset.
dvdauthor compiles your statements exactly (1:1) to their DVD
op-code equivalents (which is a good thing, IMO).
1. What is jumppad?
Some kinds of jumps are not legal - for example jumping directly
from one menu in a titleset/pgcgroup to a menu in another
titleset/pgcgroup. You have to go via the vmgm.

To accomplish that, one could either
a) manually trampoline off of a dummy menu (only a <pre> statement)
in the vmgm, (jump to that menu in the vmgm, which simply
jumps again to the target title), or ...
b) use the jumppad which is essentially the same thing
as a), except that dvdauthor does all the menu generation/
redirection transparently for you.

The following ERR messages do not occur when jumppad is enabled:
ERR: That form of jumping is not allowed
ERR: Cannot call to a menu in another titleset
ERR: Cannot call to a specific menu PGC, only an entry

NB: I personally have never used the jumppad - for me, ERRs
resulting from bad jump statements are an indication that the
layout needs restructuring. :)

---------------------------------------------
Advice for the day:
Avoid cliches like the plague.
Wolfgang Wershofen
2004-04-26 17:07:21 UTC
Permalink
Post by Cyrus Patel
ERR: That form of jumping is not allowed
ERR: Cannot call to a menu in another titleset
ERR: Cannot call to a specific menu PGC, only an entry
NB: I personally have never used the jumppad - for me, ERRs
resulting from bad jump statements are an indication that the
layout needs restructuring. :)
Thanks for that indepth look into the DVD jumging mechanisms. Now, some
things seem much clearer to me.

For me, I have jumppad enabled as default and I didn't see any negative
effects on my DVDs because of that. So, in my view, jumppad makes it
easier to create xml files, that are more logical in the (maybe
unexperienced) DVD-creators view.

Due to your posting, I now may quit using jumppad as I don't feel that
unexperienced anymore. ;-)


Regards
Wolfgang

--
Geek by nature - Linux by choice
sean
2004-05-08 18:27:27 UTC
Permalink
I've been away so I didn't get your reply.

Thanks a lot. This is great. Not only do I know how to fix my own xml,
but know understand a lot more about all this actually works. Truly helpful.

sean
Post by Cyrus Patel
2. How do I jump from a vmgm menu to a titleset which has no menu?
You don't jump to titlesets. You jump to titles or to menus (within a
titleset).
Also, "<button> jump titleset 1 title 1;</button>" is incorrect
because...
You only specify a domain ("vmgm", "titleset N") only when jumping to
menus - for example "jump titleset 1 menu" to jump from the vmgm to
the first menu in titleset 1; or "jump vmgm menu 6" to jump from a
titleset to the sixth menu in the vmgm.
To jump from the vmgm to a title, you simple specify "jump title N;"
where 'N' is the N'th title counted sequentially beginning with 1.
So to jump to the first title, irrespective of which titleset it is
in, use "jump title 1;", to jump to the second, again, irrespective
of which titleset it is in, "jump title 2;" and so on.
Although this might seem inconsistant at first sight, it isn't
really: Treating menus and titles differently is simply a
reflection of the way the DVD specification sees them. There,
menus are identified within the context of the domain they
reside in, while titles are seen as a flat list. Consequently,
there are only two DVD op-codes for jumping to titles
'JumpTT' jumps to a (sequentially numbered) title.
'JumpVTS_TT' jumps to a title in the current titleset.
dvdauthor compiles your statements exactly (1:1) to their DVD
op-code equivalents (which is a good thing, IMO).
1. What is jumppad?
Some kinds of jumps are not legal - for example jumping directly
from one menu in a titleset/pgcgroup to a menu in another
titleset/pgcgroup. You have to go via the vmgm.
To accomplish that, one could either
a) manually trampoline off of a dummy menu (only a <pre> statement)
in the vmgm, (jump to that menu in the vmgm, which simply
jumps again to the target title), or ...
b) use the jumppad which is essentially the same thing
as a), except that dvdauthor does all the menu generation/
redirection transparently for you.
ERR: That form of jumping is not allowed
ERR: Cannot call to a menu in another titleset
ERR: Cannot call to a specific menu PGC, only an entry
NB: I personally have never used the jumppad - for me, ERRs
resulting from bad jump statements are an indication that the
layout needs restructuring. :)
---------------------------------------------
Loading...