n00b question about opening VLM from the command line.

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
drassuk
Blank Cone
Blank Cone
Posts: 12
Joined: 19 Sep 2006 00:39

n00b question about opening VLM from the command line.

Postby drassuk » 19 Sep 2006 00:48

I am trying to get VLC to stream two files at once to multuple PCs on an isolated LAN via the command line. The streaming how-to indicated that VLM was the way to go. I created a configuration file called test.txt that basically mimicks the example code. However, I cannot get it to work.

Sample code:

new channel1 broadcast enabled
setup channel1 input "C:\Program Files\Windows Media Player\My File.avi"
setup channel1 output #standard{mux=ts,access=udp,dst=192.168.1.1,sap,name="Channel 1"}
new channel2 broadcast enabled
setup channel2 input "C:\Program Files\Windows Media Player\My File2.avi"
setup channel2 output #standard{mux=ts,access=udp,dst=192.168.1.3,sap,name="Channel 2"}
control channel1 play
control channel2 play


To run the config file, I use the command:

vlc --vlm -conf Test.txt

(Test.txt being the config file).

However, when I execute the command I get the following error:

"Unrecognized format for C:\Program Files\VideoLAN\VLC\Test.txt"

Does anyone know what I am doing wrong here?
Thank you.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 19 Sep 2006 23:45

Code: Select all

vlc --vlm-conf Test.txt -I telnet
should work better
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

tonino
New Cone
New Cone
Posts: 4
Joined: 30 Sep 2006 20:27

Postby tonino » 01 Oct 2006 01:17

If it still does not work and you are using version 0.8.5 of VLC for win32 try to use \\ instead of \ in cfg file. it helped me...

tonino


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 33 guests