Sun Microsystems 2.1 manual B.3 Simplest Case TOC File, B.2.3.2 filepath, B.2.3.3 filesize

Models: 2.1

1 184
Download 184 pages 37.97 Kb
Page 162
Image 162

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:

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>

}

}

}

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.

B-8Sun MediaCenter Server Administrator’s Guide • December 1997

Page 162
Image 162
Sun Microsystems 2.1 manual B.3 Simplest Case TOC File, B.2.3.2 filepath, B.2.3.3 filesize