Page 1 of 1

Start as a service and stream

Posted: 03 Dec 2013 13:07
by serpent
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?

Re: Start as a service and stream

Posted: 12 Dec 2013 01:10
by Jean-Baptiste Kempf
Use --sout insttead of :sout