beautypg.com

B.2.3 datafileobjects – Sun Microsystems MEDIACENTER 2.1 User Manual

Page 161

background image

Appendix B

Creating a Content Package

B-7

B.2.2.3

bitrate

The bitrate property, expressed in bits/sec., specifies the bit rate at which the MPEG
data file was encoded. This number also specifies the rate at which the file is to be
played by the server to the network.

B.2.2.4

indexfile

The indexfile property is a string that specifies the pathname to the index file. The
index file is an ASCII file that specifies how the bit stream being described is related
to the bit stream at normal play speed. The index file is used to switch among bit
streams in a content package. It is described in detail in Section B.5 “Index File
Requirements” on page B-10.

B.2.2.5

indexsize

The indexsize property is an integer that specifies the number of entries in the index
file identified by the indexfile property. An index file entry consists of a time/file-
offset pair. See Section B.5 “Index File Requirements” on page B-10 for a description
of index file entries.

B.2.2.6

datafile

The datafile property specifies the attributes of the MPEG data for a given bit
stream, as described by the DataFileObjects structure.

B.2.3

DataFileObjects

The DataFileObjects structure is a sequence of data files that make up the described
bit stream’s MPEG data.

B.2.3.1

segment

The segment property is an integer that specifies the sequence number of the data
file in a multi-segment data file. See Section B.4 “TOC File for Large Files” on
page B-9 for a description of the use of this parameter.