DVDBuilder for .NET  3.4
DVD Authoring Software Development Kit
<subpicturePalette> Element

Description

Configures the sub-picture/subtitles color palette.

<subpicturePalette>
   <color>
</subpicturePalette>
Child Elements
Element Description
<color> Adds a sub-picture palette color.

Remarks

There can be up to 16 colors per sub-picture/subtitles palette.

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. A sub-picture palette is defined with the <subpicturePalette> element, so the subtitles will be shown in yellow 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' />
<subpicturePalette>
<color index='1' value='#FFFF00' />
</subpicturePalette>
</title>
</titles>
</titleSet>
</dvd>