Sun Microsystems 2.1 Server User Manual


 
B-4 Sun MediaCenter Server Administrator’s Guide December 1997
A TOC file is described with the following structures:
Some rules regarding the encoding of a TOC file:
TOC files themselves are assignments to the types declared above.
All INTEGERs are represented as decimal values. These are all 32-bit values,
unless other noted in this document.
All strings are expressed as a single value enclosed by a pair of double quotation
marks. No concatenation of strings is allowed.
The following subsections describe the components and properties of a content
package.
content ContentObjects
ContentObjects ::= SEQUENCE
{
title GraphicString,
version GraphicString,
format GraphicsString,
description GraphicStringOPTIONAL,
bitstreams BitStreamObjects
}
BitStreamObjects ::= SEQUENCE
{
description GraphicStringOPTIONAL,
speed INTEGER,
bitrate INTEGER,
indexfile GraphicString,
indexsize INTEGER,
datafile DataFileObjects
}
DataFileObjects ::= SEQUENCE
{
segment INTEGER,
filepath GraphicString,
filesize INTEGER
}