Page 1 of 1

VLM.conf won't load

Posted: 18 May 2009 13:50
by Stuntman
Hello, I made a small script in order to run my VLC configuration when my server starts up.
OS : Windows XP pro sp3, VLC 1.0.0 and 0.9.9 (tesed on both versions)
vlc.bat file
COLOR 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
script.txt
localhost 4212
WAIT "Password:"
SEND "admin\m"
WAIT ">"
SEND "help\m"
WAIT ">"
SEND "load vlm.conf\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.
output.txt file
Password: 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
My vlm.conf file
##

##
## 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
##

Re: VLM.conf won't load

Posted: 19 May 2009 00:52
by Jean-Baptiste Kempf
Can you give messages?

Re: VLM.conf won't load

Posted: 20 May 2009 16:25
by Stuntman
Humm which message do you want me to give you?

Re: VLM.conf won't load

Posted: 21 May 2009 18:15
by Jean-Baptiste Kempf
vlc -vvv messages.

Re: VLM.conf won't load

Posted: 25 May 2009 14:11
by Stuntman
I am not familiar with this expression, could you please tell me how to use it.
-vvv load vlm.conf
But it is not correct.