<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Brunoc</id>
	<title>VideoLAN Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Brunoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.videolan.org/Special:Contributions/Brunoc/"/>
	<updated>2026-11-04T23:41:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Windows_service&amp;diff=14567</id>
		<title>Windows service</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Windows_service&amp;diff=14567"/>
		<updated>2009-08-05T16:16:02Z</updated>

		<summary type="html">&lt;p&gt;Brunoc: Added &amp;quot;Troubleshooting&amp;quot; section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Description ==&lt;br /&gt;
&lt;br /&gt;
Windows service (called ntservice) is feature in VLC, which allows to run VLC as Windows service. &lt;br /&gt;
&lt;br /&gt;
== Usage help ==&lt;br /&gt;
copied from [http://forum.videolan.org/viewtopic.php?f=14&amp;amp;t=54028#p177582 here]&lt;br /&gt;
&lt;br /&gt;
This config can be usefull to broadcast remote stations, recording internet radio propuse, etc.&lt;br /&gt;
&lt;br /&gt;
I am sending you the final configuration for future reference:&lt;br /&gt;
&lt;br /&gt;
1. To install the services, go to de command prompt Start-&amp;gt;Run-&amp;gt;cmd&lt;br /&gt;
&lt;br /&gt;
2. Then go to the VLC install directory. (for example &#039;&#039;cd c:\software\vlc&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
3. Install the Autoplay Stream Service, with an http Administrative remote console on ports 1080 and 1081.&lt;br /&gt;
&lt;br /&gt;
3.1. Autoplay for radio station #1 (Clasical), output device directX audio #1:&lt;br /&gt;
&#039;&#039;&#039;vlc -I ntservice --ntservice-install --ntservice-name=VLC-CLASICAL --ntservice-extraintf=http --ntservice-options=&amp;quot;--http-host=0.0.0.0:1080 --volume=250 --directx-audio-device=1 --directx-audio-float32 --force-dolby-surround=2 http://dir.xiph.org/listen/1391606/listen.m3u&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
3.2. Autoplay for radio station #2 (Jazz), output device directX audio #2:&lt;br /&gt;
&#039;&#039;&#039;vlc -I ntservice --ntservice-install --ntservice-name=VLC-JAZZ --ntservice-extraintf=http --ntservice-options=&amp;quot;--http-host=0.0.0.0:1081 --volume=250 --directx-audio-device=2 --directx-audio-float32 --force-dolby-surround=2 http://dir.xiph.org/listen/1003756/listen.m3u&amp;quot;&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
4. Optional, add Service Description.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== VLC Windows Service Hangs ===&lt;br /&gt;
From this [http://forum.videolan.org/viewtopic.php?f=14&amp;amp;t=50434#p211639 post] in the forums.&lt;br /&gt;
&lt;br /&gt;
VLC as windows service (starting with 0.9.x and also with 1.x) sometimes hangs because it is actually trying to display the following dialog boxes:&lt;br /&gt;
# &amp;quot;Privacy and Network Policy&amp;quot; dialog box (occurs the first time you run VLC, or if launched with the --reset-config option).&lt;br /&gt;
# &amp;quot;Crash reporting&amp;quot; dialog (occurs the next time VLC is launched after a crash)&lt;br /&gt;
&lt;br /&gt;
Using the following two options as part of the service installation command solves the issue:&lt;br /&gt;
* --no-qt-privacy-ask&lt;br /&gt;
* --no-qt-error-dialogs&lt;br /&gt;
&lt;br /&gt;
for example:&lt;br /&gt;
&#039;&#039;&#039;c:\Program Files\VideoLAN\VLC\vlc.exe -I ntservice --ntservice-install --ntservice-name=VLC-Service --ntservice-extraintf=rc --ntservice-options=&amp;quot;--no-qt-privacy-ask --no-qt-error-dialogs ...&amp;quot; vlc://quit&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Brunoc</name></author>
	</entry>
</feed>