OS : Windows XP pro sp3, VLC 1.0.0 and 0.9.9 (tesed on both versions)
vlc.bat file
script.txtCOLOR 0E
@ECHO OFF
cls
ECHO THIS BATCH FILE WILL START VLC STREAMING SERVER
cd "C:\Documents and Settings\guaisq\My Documents\Project\streaming\tst10"
tst10.exe /r:script.txt /o:output.txt /m
The vlm.conf is located in the same folder as VLC "C:\Program Files\VideoLAN\VLC\". When I look at the output, one error is mentioned and my vlm.conf is not loaded into the vlc configuration.localhost 4212
WAIT "Password:"
SEND "admin\m"
WAIT ">"
SEND "help\m"
WAIT ">"
SEND "load vlm.conf\m"
output.txt file
My vlm.conf filePassword: admin
Welcome, Master
> help
help
Commands Syntax:
new (name) vod|broadcast|schedule [properties]
setup (name) (properties)
show [(name)|media|schedule]
del (name)|all|media|schedule
control (name) [instance_name] (command)
save (config_file)
export
load (config_file)
Media Proprieties Syntax:
input (input_name)
inputdel (input_name)|all
inputdeln input_number
output (output_name)
option (option_name)[=value]
enabled|disabled
loop|unloop (broadcast only)
mux (mux_name)
Schedule Proprieties Syntax:
enabled|disabled
append (command_until_rest_of_the_line)
date (year)/(month)/(day)-(hour):(minutes):(seconds)|now
period (years_aka_12_months)/(months_aka_30_days)/(days)-(hours):(minutes):(seconds)
repeat (number_of_repetitions)
Control Commands Syntax:
play [input_number]
pause
stop
seek [+-](percentage) | [+-](seconds)s | [+-](milliseconds)ms
Telnet Specific Commands:
logout, quit, exit
shutdown
@moduleinstance command argument
> load vlm.conf
load : Error while loading file
> exit
##
##
## VLM HTTP interface
## This file can be loaded as is in VLM.
## Comments starting with "##" were added by the HTTP interface.
## You can remove them if you want to.
##
# VLC media player VLM command batch
# http://www.videolan.org/vlc/
new channel2 broadcast enabled loop
setup channel2 input "D:\servers\Stream_Files\Top Gear-07x05-2005.12.11.avi"
setup channel2 output #standard{access=udp,mux=ts,dst=225.141.11.1,name=Channel 2}
new channel1 broadcast enabled loop
setup channel1 input "D:\servers\Stream_Files\Eureka-01x02.avi"
setup channel1 output #rtp{mux=ts,dst=225.141.11.2,sap,name=Channel 1}
new channel3 broadcast enabled loop
setup channel3 input "D:\servers\Stream_Files\Aviator_SD_dvd.mpg"
setup channel3 output #standard{access=udp,mux=ts,dst=225.141.11.3,name=Channel 3}
new channel4 broadcast enabled loop
setup channel4 input "D:\servers\Stream_Files\CrazyHorse_SD_mp2_ps.mpg"
setup channel4 output #rtp{mux=ts,dst=225.141.11.4,sap,name=Channel 4}
new film vod enabled
setup film input "D:\servers\Stream_Files\CrazyHorse_SD_mp2_ps.mpg"
new film2 vod enabled
setup film2 input "D:\servers\Stream_Files\HD\1080\The_Magic_of_Flight_1080.wmv"
new film3 vod enabled
setup film3 input "D:\servers\Stream_Files\Top Gear-07x05-2005.12.11.avi"
##
## end of export
##