Chapter 5. VLM - Multiple streaming and Video on demand
• date (year)/(month)/(day)-(hour):(minutes):(seconds)|now : Specify the first date the schedule should be launched.
You can specify a date using the (year)/(month)/(day)-(hour):(minutes):(seconds) format (example:
2004/11/16-00:43:12) or using the now keyword. If now is used, the schedule will be launched as soon as possible (i.e.
as soon as it is enabled) and the current date will be used as the first date of the schedule.
• period (years_aka_12_months)/(months_aka_30_days)/(days)-(hours):(minutes):(sec onds) : Specify the period of
time a schedule must wait for launching itself another time. (Months are considered as 30 days, Years as 12 months) If a
period is specified without a repeat property, the schedule will be launched endlessly.
• repeat (number_of_repetitions) : Specify the number of times the schedule will be launched again. For example, if a
schedule has repeat 11, it will be launched 12 times.
Control Commands
• play : Stat a broadcast media. The media begins to launch the first item of the input list, then launches the next one and
so on. (like a play list)
• pause : Put the broadcast media in paused status.
• stop : Stop the broadcast media.
• seek (percentage) : Seek in the current playing item of the input list.
Configuration Files
A VLM configuration file is a list of command lines : one line corresponds to one command line.
To create a configuration file, just edit a text file and type a list of VLM commands. Beware of recursive calls: you an put a
load (file) in a configuration file which can lead to recursive inclusion of the same file and result in VLC’s crash.
As of versions > 0.8.1, any line where the first non white space character is a # is considered as a comment.
Examples
This section provides several small vlm configuration files.
Multiple streaming
Simple broadcasting
new channel1 broadcast enabled
setup channel1 input http://host.mydomain/movie.mpeg
setup channel1 output #rtp{mux=ts,dst=239.255.1.1,port=5004,sdp=sap://,name="Channel 1"}
new channel2 broadcast enabled
setup channel2 input rtp://@239.255.12.42:1234
setup channel2 output #rtp{mux=ts,dst=239.255.1.2,port=5004,sdp=sap://,name="Channel 2"}
control channel1 play
control channel2 play
38
Comentários a estes Manuais