page 1 | 2 | 3 | 4

This command links to a specified program within the same PGC and optionally highlights a specified button. A button value of 0 indicates no highlight. Programs within a PGC are numbered from 1 and are associated with chapters. Therefore, LinkPGN cannot be used to branch from one PGC to a program in a different PGC. The DVD specifications support a maximum of 255 programs (chapters) per PGC and up to 36 menu buttons per display menu. A chapter is searched based upon the PGC and PGN number, so theoretically, there can be an unlimited number of chapters by using more than one PGCs to hold the chapters.

This command is often used to repeat the playback of a movie from the beginning after it ends (LinkPGN 1). LinkPGN is not allowed in the First-Play PGC. This restriction is due to the requirement that the First-Play PGC cannot hold video, audio, or subpicture contents, and thus having no program (PGN) entries.

This command does not execute the pre-command section of its PGC. Therefore, it is more efficient than LinkPGCN, if used to direct the playback flow to return to the first program of the same PGC.

Link to a program in the same PGC
LinkPGN      Highlight button  



DVD Command Hex Encoding
LinkPGN 1,button 0 20 06 00 00 00 00 00 01
This command can be combined with the for conditional branching. When combining, this command is executed only if the result of the comparison is true.

1)
2)
3)


page 1 | 2 | 3 | 4