Log in

View Full Version : How does it work exactly?


P3gasus
26th March 2004, 23:14
I already posted a message about LinkPGN command. But now I have a fresh question about the same istruction. When there is a LinkPGN X command in the precomands (postcommands) section of an ifo file what does it happend? I know that the chapter X of the current PGC is swown, but does the execution of precommands (postcommands) continue with the commands after LinkPGN X? If it doesn't, what does it happend?
Thanks in advance

2COOL
26th March 2004, 23:42
http://www.dvd-replica.com/DVD/linkpgn.php

P3gasus
26th March 2004, 23:51
Originally posted by 2COOL
http://www.dvd-replica.com/DVD/linkpgn.php

That link (that I read before writing my post) does not answer to my question wich is basically about what commands are played after the LinkPGN command is encountered (i. e. does the command execution restart from the first precommand of the current pgc or continue to the next (pre/post)command of the current pgc?
Thanks again
Bye

2COOL
27th March 2004, 00:42
It jumps to Pre command #1 of destination PGC.

P3gasus
27th March 2004, 00:53
Originally posted by 2COOL
It jumps to Pre command #1 of destination PGC.

Destination PGC? LinkPGN X remains on the current PGC. It just jumps to the Xth chapter. Doesn't it? Are you sure that the command executed after a LinkPGN X is the first precommand of the current PGC?
Thanks for fast response
Bye

2COOL
27th March 2004, 04:33
Ooops!:o I was at work when I responded to this and was in a hurry in my response. Anyways, I was thinking of (LinkPGCN) Link PGC, which is different from LinkPGN. Here's the lowdown of this command as quoted in DVD Authoring and Production by Ralph LaBarge.

LinkPGN

Jumps directly to a specific program with the current domain. The DVD Player immediately stops displaying the current program chain, skips over any additional navigation commands within the same command area, and jumps directly to the program specified in the navigation command. The LinkPGN command can also include an optional parameter to set the Highlight Button.

P3gasus
27th March 2004, 08:47
skips over any additional navigation commands within the same command area, and jumps directly to the program specified in the navigation command.


So if I understood correctly, assuming no cell command present in the current PGC, the comman executed after LinkPGN X is the first post command of the current PGC and it runs after the video content from program X to the end of the current PGC is shown. Isn't it?
Thank you.
Bye

Dimmer
27th March 2004, 09:31
Originally posted by P3gasus
So if I understood correctly, assuming no cell command present in the current PGC, the comman executed after LinkPGN X is the first post command of the current PGC and it runs after the video content from program X to the end of the current PGC is shown. Isn't it?Yes, that's correct. Combined with a comparison operator and a button higlight in case of a menu PCG, LinkPGN command comes very handy in Pre commands as a replacement for GoTo. You can stack conditional LinkPGN on top of each other, and pretty much how it works is that if the condition is true then go straight to the video bypassing other Pre commands else continue. LinkPGN 1 means start playing the entire PGC right away. For the menus, you can use it to select a program of a multi-cell menu like a Chapter menu. Also, for a still menu you can use a number of LinkPGN commands to highlight a proper button based on a condition and jump to program 1, i.e. display the menu.

P3gasus
27th March 2004, 09:35
Originally posted by P3gasus
So if I understood correctly, assuming no cell command present in the current PGC, the comman executed after LinkPGN X is the first post command of the current PGC and it runs after the video content from program X to the end of the current PGC is shown.

That was correct. I made a simple test by myself using Mark's Tray DVD Player Professional that lets you look at gprm and sprm values and I can confirm that it works as written in my quoted post.
:thanks: again 2Cool!

Bye

P3gasus
27th March 2004, 09:43
Originally posted by dimmer
Yes, that's correct. Combined with a comparison operator and a button higlight in case of a menu PCG, LinkPGN command comes very handy in Pre commands as a replacement for GoTo. You can stack conditional LinkPGN on top of each other, and pretty much how it works is that if the condition is true then go straight to the video bypassing other Pre commands else continue. LinkPGN 1 means start playing the entire PGC right away. For the menus, you can use it to select a program of a multi-cell menu like a Chapter menu. Also, for a still menu you can use a number of LinkPGN commands to highlight a proper button based on a condition and jump to program 1, i.e. display the menu.

Thanks dimmer! I saw your message after testing and confirming that my assumption was true. Thanks for the advices about the use of such command!:D

Bye

2COOL
28th March 2004, 06:25
No problem...just correcting my error. ;)