Page 1 of 1

VLC As a Service on Windows XP SP2 from Command Line

Posted: 28 May 2006 19:13
by rossmac
I am trying to run VLC 0.8.5 as a Windows Service from the command line, and I have tried two variants of what I believe would have worked in 0.8.2

C:\Documents and Settings\Ross MacGillivray>C:\"Program Files"\VideoLAN\VLC\vlc.
exe --ntservice-install --ntservice-name 'VLC' --ntservice-extraintf telnet --rt
sp-host 192.168.0.102

C:\Documents and Settings\Ross MacGillivray>C:\"Program Files"\VideoLAN\VLC\vlc.
exe --ntservice-install --ntservice-name VLC --ntservice-extraintf telnet --rtsp
-host 192.168.0.102

Both variants of the command line cause the VLC GUI to open, but when I look at the services table on Windows XP SP2, I do not find a 'VLC' service listed in the services table.

Has anyone successfully used VLC 0.8.5 as an NT/XP Service?

/Ross

Posted: 30 May 2006 22:42
by dionoea
I've already seen reports from people not able to make it work in 0.8.5. If anyone can investigate and provide a patch ...

Posted: 31 May 2006 02:31
by DJ
I will admit having some trouble getting it to turn on and subsequently to turn off.

This can be accomplished in Preferences, Interface, Control interfaces, NT service "Install Windows service" check box. Then press Save and restart VLC.

Then reopen Preferences, Interface, Control interfaces and turn on the interface "Windows service interface" check box. Then press Save and close the player. Windows services should now show the interface "VLC media player".

Shutting it down requires the same order and must be accomplished twice.