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.