VLC as a 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.
mdbolt

VLC as a Service

Postby mdbolt » 15 May 2006 21:15

Is there anyway to run VLC as a service and have the http already enabled when Windows loads?

I am running Windows 2003.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 15 May 2006 23:35

Yes. (but i don't remember how to install the service)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

rossmac
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2004 18:46

VLC As a Service

Postby rossmac » 28 May 2006 01:20

As of VLC 0.8.2, the following command line would start VLC as a service

C:\"Program Files"\VideoLAN\VLC\vlc.exe --ntservice-install --ntservice-name 'VLC' --ntservice-extraintf telnet --ntservice-options "--vlm-conf c:\satin.cfg" --rtsp-host 192.168.1.99

The VLM configuration parameter is (was) only necessary in order to automatically load a VLM configuation file with a list of VOD objects.
The entire --vlm-conf parameter is being passed as a string to the nt service manager for use as a parameter of the service.

VOD objects can also be music files (.mp3 files). At the time, the VLM configuration file had to be at the disk root directory "c:\".

In the above example the control interface is telnet which is used to manually install or delete VOD objects. The Telnet control interface listens on port 4212.

In 0.8.2 the telnet control interface worked, but the HTTP control interface did not.

A VLC client can listen to or view the VOD objects that are active within VLM using rtsp.

In 0.8.5 the following command line MAY also work.

C:\"Program Files"\VideoLAN\VLC\vlc.exe --ntservice-install --ntservice-name 'VLC' --ntservice-extraintf http --ntservice-options "--vlm-conf c:\satin.cfg" --rtsp-host 192.168.1.99

I believe the http control interface will listen on port 8081 in 0.8.5

In order to listen to (or view) a VOD object from a VLC client use following options:

file --> open network stream --> select the RTSP option -->
enter the url as rtsp://192.168.1.99/"object name"

objects are either loaded automatically, as above, or manually via the HTTP or Telnet command interface.

In 0.8.5 I cannot get the eqivalent functionality to work through the GUI even though it is advertised as a feature.

/Ross


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 59 guests