Run VLC as a streaming server on Windows startup

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
milanzivanovic
New Cone
New Cone
Posts: 3
Joined: 14 Jan 2011 22:21

Run VLC as a streaming server on Windows startup

Postby milanzivanovic » 14 Jan 2011 22:26

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

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: Run VLC as a streaming server on Windows startup

Postby Jean-Baptiste Kempf » 15 Jan 2011 11:52

Use a shortcut file to run it?
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.

Bondia
New Cone
New Cone
Posts: 9
Joined: 15 Jan 2011 01:58

Re: Run VLC as a streaming server on Windows startup

Postby Bondia » 15 Jan 2011 12:34

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.

milanzivanovic
New Cone
New Cone
Posts: 3
Joined: 14 Jan 2011 22:21

Re: Run VLC as a streaming server on Windows startup

Postby milanzivanovic » 16 Jan 2011 02:57

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.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Run VLC as a streaming server on Windows startup

Postby VLC_help » 16 Jan 2011 14:45

sout isn't added to playlist, playlist only shows streams/files you have added to playlist.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 20 guests