VLM.conf won't load

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Stuntman
Blank Cone
Blank Cone
Posts: 13
Joined: 15 Apr 2009 14:28

VLM.conf won't load

Postby Stuntman » 18 May 2009 13:50

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLM.conf won't load

Postby Jean-Baptiste Kempf » 19 May 2009 00:52

Can you give messages?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Stuntman
Blank Cone
Blank Cone
Posts: 13
Joined: 15 Apr 2009 14:28

Re: VLM.conf won't load

Postby Stuntman » 20 May 2009 16:25

Humm which message do you want me to give you?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLM.conf won't load

Postby Jean-Baptiste Kempf » 21 May 2009 18:15

vlc -vvv messages.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Stuntman
Blank Cone
Blank Cone
Posts: 13
Joined: 15 Apr 2009 14:28

Re: VLM.conf won't load

Postby Stuntman » 25 May 2009 14:11

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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 31 guests