Start as a service and stream

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.
serpent
New Cone
New Cone
Posts: 6
Joined: 03 Dec 2013 10:59

Start as a service and stream

Postby serpent » 03 Dec 2013 13:07

Hello all,

I have issue setting VLC to start as a service and to stream some playlist.
I managed to get it to work when i call it from command prompt but the service part is not working for me, it just starts the VLC and doesnt do anythign more than taht.
Here is the code that runs fine form CMD:

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv C:\MP3\playlist.m3u --loop :sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:http{mux=mp3,dst=:8000/} :sout-all :sout-keep --http-host=localhost --http-port=8080 --http-password password
I tried this to isntall service but no luck:

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -I ntservice --ntservice-install --ntservice-name=VLC_playlist2 --ntservice-options="-vvv C:\MP3\playlist.m3u'--loop :sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:http{mux=mp3,dst=:8000/} :sout-all :sout-keep --http-host=host --http-port=port --http-password password"
Any hints?

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: Start as a service and stream

Postby Jean-Baptiste Kempf » 12 Dec 2013 01:10

Use --sout insttead of :sout
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.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 87 guests