Installing vlc as service

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.
fisihh
New Cone
New Cone
Posts: 2
Joined: 23 Apr 2010 14:55

Installing vlc as service

Postby fisihh » 23 Apr 2010 15:00

Hello

I use following command to install vlc as service under windows.

vlc -I ntservice --ntservice-install --ntservice-name="Musicbox" --ntservice-options="--no-qt-privacy-ask --no-qt-error-dialogs --loop D:\musicbox"

The service are installed correct, but after installing the service a process "vlc.exe" still running. (its not the service)

where is my mistake?

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: Installing vlc as service

Postby Jean-Baptiste Kempf » 25 Apr 2010 16:08

How do you know it isn't the service?
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.

fisihh
New Cone
New Cone
Posts: 2
Joined: 23 Apr 2010 14:55

Re: Installing vlc as service

Postby fisihh » 25 Apr 2010 23:30

because the service is stopped and a vlc process is running.
When i start the service 2 vlc process running

cctvcam
Blank Cone
Blank Cone
Posts: 29
Joined: 20 Jul 2010 15:29

Re: Installing vlc as service

Postby cctvcam » 26 Aug 2010 11:13

I think you need to add this parameter

Code: Select all

vlc://quit
to the end of the vlc command line when installing to stop the extra process running.i.e.

Code: Select all

vlc -I ntservice --ntservice-install --ntservice-name="Musicbox" --ntservice-options="--no-qt-privacy-ask --no-qt-error-dialogs --loop D:\musicbox" vlc://quit


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 49 guests