6.2Video-File Attributes

A piece of video content is stored as a title on a Sun MediaCenter server. The ftp video-file commands report or perform operations on titles. A title is identified by the following attributes:

name of the title, which usually corresponds to the name of the movie or video clip; for example, Bambi for the move “Bambi”. There is no default value for the name attribute.

speed associated with the file. “Speed” refers to the speed and play direction of the title’s bit stream as compared to normal-play speed, forward direction. A value of 1000 indicates a file plays at normal play speed, in the forward direction. A value of 4000 indicates the file plays at four times normal speed, forward direction. A value of -3000indicates the file plays three times normal speed, in the reverse direction. The default value for the speed attribute is 1000.

type of the file, either data or index. A data file is usually a file containing an MPEG bit stream. An index file is a file that identifies the splice points within a bit stream. The Media Stream Manager (MSM) uses these splice points when stopping and restarting a stream and when performing trick play. See the Sun MediaCenter Server Programmer’s Guide for an explanation of trick play. The default value for the type attribute is data.

rate at which the file containing the video bit stream was encoded. This is a number in the range from 1500000 to 8000000 that specifies a number of bits per second. The rate attribute applies only to data files, not index files. There is no default for the rate attribute.

format is the format of the encoded bit stream. It can be one of:

MPEGTS, indicating an MPEG-2 Transport Stream.

MPEGPS, indicating an MPEG-2 Program Stream.

MPEG1SYS, indicating an MPEG-1 System Stream.

MPEGTCE, indicating an MPEG-2 encapsulation used by Thomson Consumer Electronics.

There is no default for the format attribute.

The fully-qualified name of a title consists of all of the just-described attributes. For example:

title=Bambi,format=MPEGPS,speed=1000,type=data,rate=3000000

6-4Sun MediaCenter Server Administrator’s Guide • December 1997

Page 98
Image 98
Sun Microsystems 2.1 manual Video-File Attributes