Page 1 of 1

Run VLC as a streaming server on Windows startup

Posted: 14 Jan 2011 22:26
by milanzivanovic
Hi,

I configured VLC to stream audio from one computer to another. Now, I want to make VLC (server instance) to run on Windows startup. How to do this?

This settings are needed:

:sout=#rtp{sdp=rtsp:/10.0.0.12/:5544/stream} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep

Thanks! :D

Re: Run VLC as a streaming server on Windows startup

Posted: 15 Jan 2011 11:52
by Jean-Baptiste Kempf
Use a shortcut file to run it?

Re: Run VLC as a streaming server on Windows startup

Posted: 15 Jan 2011 12:34
by Bondia
This is not a VLC-related issue but a basic knowledge of the operating system one. As j-b pointed out, you need to put a shortcut in the Init menu in your Windows start menu to point to an executable containing the command to run VLC with the parameters you stated, maybe in a .bat file inside VLC folder. You could search Google for "running programs at start" or so for more help.

Re: Run VLC as a streaming server on Windows startup

Posted: 16 Jan 2011 02:57
by milanzivanovic
Thanks for reply, guys. I tried to place:

"C:\\Program FIles\VideoLAN\VLC\vlc.exe" :sout=#rtp{sdp=rtsp:/10.0.0.12/:5544/stream} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep

in Target field of VLC shortcut, but when I start the shortcut, it only runs VLC with empty playlist. Like there are no parameters.

Where am I wrong?

On "client side" I put "C:\\Program FIles\VideoLAN\VLC\vlc.exe" http://10.0.0.12 :rtsp-caching=1200 it works.

Re: Run VLC as a streaming server on Windows startup

Posted: 16 Jan 2011 14:45
by VLC_help
sout isn't added to playlist, playlist only shows streams/files you have added to playlist.