DVDBuilder for C++  3.4
DVD Authoring Software Development Kit
<subpictureStreams> Element

Description

Configures the sub-picture/subtitle streams of a title set.

<subpictureStreams>
   <stream>
</subpictureStreams>
Child Elements
Element Description
<stream> Adds a sub-picture/subtitle stream.

Remarks

There can be up to 32 sub-picture/subtitle streams in a video title set.

Example

The following example shows a DVD that has subtitles in three languages: Bulgarian, English and French. Viewers of this DVD will be able to select Bulgarian, English or French subtitles by pressing the Subtitles button on the remote control unit of their player. Because there is no sub-picture palette defined (no <subpicturePalette> element) the subtitles will be shown in the default white color.

<?xml version='1.0' encoding='utf-8'?>
<dvd version='2.3' xmlns='http://www.primosoftware.com/dvdbuilder/2.3'>
<videoManager firstPlayNavigate='Title=1;'/>
<titleSet>
<subpictureStreams>
<stream languageCode='BG' mpegStreamID='0xBD' mpegSubstreamID='0x20'/>
<stream languageCode='EN' mpegStreamID='0xBD' mpegSubstreamID='0x21'/>
<stream languageCode='FR' mpegStreamID='0xBD' mpegSubstreamID='0x22'/>
</subpictureStreams>
<titles>
<title id='1' chapters='00:00:00'>
<videoObject file='1.mpg' />
</title>
</titles>
</titleSet>
</dvd>