DVDBuilder for .NET
3.4
DVD Authoring Software Development Kit
|
Defines title chapter.
<chapters> <chapter time="00:00:00" pause="60" /> <chapter time="00:00:05" pause="60" /> <chapter time="00:00:10" /> </chapters>
Attribute | Option | Description |
time | Specifies the playback time at which the chapter begins. The time is expressed in hr:min:sec string format. Each title should have at least one chapter. If there is only one chapter the value of this attribute should be set to "00:00:00". Note: The effective chapter start time will usually differ slightly from the specified in the project file. According to the DVD-Video spec a chapter shall start on a GOP boundary (a Group of Pictures begins with an I-picture). If chapter time is not at an I-picture it is shifted to the next I-picture. Since the maximum GOP length is about 0.6 seconds, chapter start time may be delayed with up to 0.6 seconds. | |
pause | 0 to 255 | Specifies the number of seconds to pause after the chapter playback. The value 255 specifies infinite pause. |
file | Specifies a file that contains an MPEG-2 movie. | |
callback | true | Indicates that the video object data should be read from a stream object supplied by the user. The value of the 'file' attribute will be passed to the callback object for reference. |
false | Indicates that the video object data should be read from a standard file specified with the 'file' attribute. |
Element | Description |
<audioStream> | Specifies an audio elementary stream. |
<videoStream> | Specifies a video elementary stream. |
<subpictureStream> | Specifies a subpicture elementary stream. |
The following example shows a DVD with one title. Note that the version attribute in the <dvd> tag is set to 2.3, because the <chapters> tags require DVDBuilder project schema 2.2 or later.
The following example shows a DVD with one title. There are no <videoObject> elements. The input file is specified in the <chapter> element. The 'time' attribute is not required in this case.
The following example shows a DVD with one title. There are no <videoObject> elements. The input files are audio/video elementary streams and they are specified in the <chapter> element. The 'time' attribute is not required in this case.