Chapter 5. VLM - Multiple streaming and Video on demand
VLM Elements
Medias
A Media is composed with a list of inputs (the video and audio streams you want to stream), an output (how and where you
want to stream them) and some options.
There are two types of medias:
• vod: A vod media is commonly used for Video on Demand. It will be launched only if a vod client asks for it.
• broadcast: A broadcast media is very close to a TV program or channel. It is launched, stopped or paused by the
administrator and may be repeated several times. The client has no control over this media.
Schedules
A Schedule is a script with a date. When the schedule date is reached, the script is launched. There are several options
available like a period or a number of repetitions.
Command line syntax
Command lines
• help : Displays an exhaustive command lines list
• new (name) vod|broadcast|schedule [properties] : Create a new vod, broadcast or schedule element. Element names
must be unique and cannot be "media" or "schedule". You can specify properties in this command line or later on by
using the setup command.
• setup (name) (properties) : Set an elements property. See Media Properties.
• show [(name)|media|schedule] : Display current element states and configurations.
• show (name) - Specify an element’s name to show all information concerning this element.
• show media displays a summary of media states.
• show schedule displays a summary of schedule states.
• del (name)|all|media|schedule : Delete an element or a group of elements. If the element wasn’t stopped, it is first
stopped before being deleted.
• del (name) - Delete the (name) element.
• del all - Delete all elements
• del media - Delete all media elements.
• del schedule - Delete all schedule elements
• control (name) [instance_name] (command) : Change the state of the (instance_name) instance of the (name) media.
If (instance_name) isn’t specified, the control command affects the default instance. See Control Commands for
available control commands.
• save (config_file) : Save all media and schedule configurations in the specified config file. The config file path is relative
to the directory in which vlc was launched. If the file exists it will be overwritten. Note that states, such as playing,
paused or stop, are not saved. See Configuration Files for more info.
36
Comentarios a estos manuales