Sun Microsystems 2.1 Server User Manual


 
Appendix B Creating a Content Package B-13
FIGURE B-2 Tape Storage Format
The TOC file must be positioned as the first file in the tar tape and must have a file
extension of .TOC. Except for the file extension, the naming of the TOC file is
arbitrary. In
FIGURE B-2, the TOC file is named Bambi.TOC, to indicate it is the TOC
file for the movie “Bambi”. Naming for the data and index files is arbitrary.
However, their pathnames must be consistent with those specified in the TOC file.
In
FIGURE B-2, note that index files precede data files. This arrangement, while not
mandatory, takes advantage of the Sun MediaCenter software’s error checking. The
server might find a value in an index file that indicates an error in the storage format
of a data file. You can detect and correct the error quickly, rather than, for example,
waiting 20 minutes or more to load a 2-hour MPEG title, only to find out there is an
error revealed in one of the last index files on the tape.
Note – If the TOC file contains multiple segments for a DataFilesObject (see
page B-3), the files corresponding to each of the segments of the DataFilesObject
must be stored sequentially in the tape archival.
Bambi.TOC
Data File 1X play speed
Index File 1X play speed
Data File 4X play speed
Index File 4X play speed
Data File nX play speed
Index File nX play speed
Tape
Start of Tape
Content Package
Start of Data Files