beautypg.com

Sun Microsystems MEDIACENTER 2.1 User Manual

Page 169

background image

Appendix B

Creating a Content Package

B-15

The content of the TOC file

bambi.TOC

is shown below. It contains attributes for

every bit stream included in the content package for the movie “Bambi”.

CODE EXAMPLE B-1

Example Content Package

content

{

title “bambi”,

version “SUNW.00.01”,

format “MPEGTCE”,

description “Aftermath of concentration camp survival“,

bitstreams

{

description ““,

speed -7000,

bitrate 2559999,

indexfile “bambi.n7x.index”,

indexsize 46,

datafile

{

segment 1,

filepath “bambi.n7x.mpeg”,

filesize 5715190

}

}

{

description ““,

speed -21000,

bitrate 2559999,

indexfile “bambi.n21x.index”,

indexsize 16,

datafile

{

segment 1,

filepath “bambi.n21x.mpeg”,

filesize 1902680

}

}

{

description ““,

speed 7000,

bitrate 2559999,

indexfile “bambi.7x.index”,

indexsize 46,

datafile

{

segment 1,

filepath “bambi.7x.mpeg”,