Sun Microsystems 2.1 encodingmachine% ftp smcserverone Connected to smcserverone, Type set to

Models: 2.1

1 184
Download 184 pages 37.97 Kb
Page 109
Image 109

As an example, consider that you encode the title “Batman” at 3 Mbits/sec., in MPEG Transport Stream format. You have three MPEG files, one for normal speed, one for 21 times normal speed, forward direction, and one for 21 times normal speed, reverse direction. On the encoding machine, you use the following sequence of commands to load the title on to the server:

encoding_machine% ftp smc_server_one Connected to smc_server_one.

220 smc_server_one FTP server (UNIX(r) System V Release 4.0) ready. Name (smc_server_one:clinton): clinton

331 Password required for clinton. Password:

230 User clinton logged in. ftp> lcd /home/encode ftp> bin

200 Type set to I.

ftp> put batman.1x.mpg smc:title=batman,format=MPEGTS,speed=1000,\ rate=3000000

ftp> put batman.21x.mpg smc:title=batman,format=MPEGTS,speed=21000,\ rate=3000000

ftp> put batman.n21x.mpg smc:title=batman,format=MPEGTS,speed=-21000,\ rate=3000000

Following completion of the put commands, you can access “Batman” on the Sun MediaCenter server by simply specifying batman. For commands such as smc_copy, or for the Media Stream Manager, the name batman identifies all of the files associated with that title, as well as all of the title’s attributes.

The Sun MediaCenter FTP daemon invokes Content Manager functions to automatically create index files for MPEGTS-format streams. Automatic index file generation does not occur for MPEG1SYS trick play streams. See Section B.5 “Index File Requirements” on page B-10 for a discussion of index files.

Chapter 6 Sun MediaCenter Server FTP Daemon 6-15

Page 109
Image 109
Sun Microsystems 2.1 encodingmachine% ftp smcserverone Connected to smcserverone, Password required for clinton. Password