Sun Microsystems 2.1 Server User Manual


 
B-8 Sun MediaCenter Server Administrator’s Guide December 1997
B.2.3.2 filepath
The filepath property is a string specifying the pathname of the data file for this
segment of the bit stream’s data.
B.2.3.3 filesize
The filesize property is an integer specifying the size of the data file for this segment
of the bit stream’s data, in bytes. It is a 64-bit integer value.
B.3 Simplest Case TOC File
The following is an example TOC for a title with a single bit stream:
In the TOC file, the critical fields are format, bitrate, and filepath. format
and bitrate are critical for the eventual playing of your stream. The filepath
field, is critical for the correct operation of smc_tar, which you can use to load your
content onto the server. smc_copy and ftp, in conjunction with the Sun
MediaCenter FTP daemon, create a TOC file for you.
content
{
title "Your title here",
version "SUNW.00.01",
format "<MPEG format>",
description "Enter string here",
bitstreams
{
description "Enter string here",
speed 1000,
bitrate <encoding bit rate, in bps>,
datafile
{
segment 1,
filepath "<path to MPEG file>",
filesize <size of MPEG file>
}
}
}