<?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=EnlightenedTeamster</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=EnlightenedTeamster"/>
	<link rel="alternate" type="text/html" href="https://wiki.videolan.org/Special:Contributions/EnlightenedTeamster/"/>
	<updated>2026-11-04T16:28:33Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32Compile&amp;diff=7970</id>
		<title>Win32Compile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32Compile&amp;diff=7970"/>
		<updated>2007-03-10T21:42:34Z</updated>

		<summary type="html">&lt;p&gt;EnlightenedTeamster: fix my errors&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;From http://developers.videolan.org/vlc/vlc/INSTALL.win32&lt;br /&gt;
&lt;br /&gt;
 $Id: INSTALL.win32 15707 2006-05-22 09:42:08Z xtophe $&lt;br /&gt;
 INSTALL file for the Windows9x/Me/NT4/2k/XP version of the VLC media player&lt;br /&gt;
&lt;br /&gt;
==Before you start==&lt;br /&gt;
&lt;br /&gt;
One common desire that leads people to want to rebuild VLC is to &amp;quot;rebuild a debug version&amp;quot; or &amp;quot;add printf()s&amp;quot;, but this is not strictly necessary, as VLC includes a debug logging feature by default.  If you are using a binary release (or have already built VLC), just run &amp;lt;CODE&amp;gt;&#039;vlc.exe&#039;&amp;lt;/CODE&amp;gt; and select &amp;quot;Messages...&amp;quot; from the &amp;quot;View&amp;quot; menu.&lt;br /&gt;
&lt;br /&gt;
You can also run VLC from the Windows command-line interpreter, &amp;lt;CODE&amp;gt;cmd.exe&amp;lt;/CODE&amp;gt; (a.k.a. &amp;quot;DOS window&amp;quot;), in which case you&#039;ll be able to use the command-line arguments. You can obtain a list of these command line arguments by typing &amp;lt;CODE&amp;gt;&#039;vlc --help&#039;&amp;lt;/CODE&amp;gt; or &amp;lt;CODE&amp;gt;&#039;vlc --help --advanced&#039;&amp;lt;/CODE&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To store a debug log of the current VLC session, you can use &amp;lt;CODE&amp;gt;&#039;vlc -vvv --extraintf=logger&#039;&amp;lt;/CODE&amp;gt;. You will end-up with a &amp;lt;CODE&amp;gt;vlc-log.txt&amp;lt;/CODE&amp;gt; file in your current directory.&lt;br /&gt;
&lt;br /&gt;
==Building VLC from source==&lt;br /&gt;
&lt;br /&gt;
If you want to build VLC from source, you have several choices:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 ! Method&lt;br /&gt;
 ! Documentation&lt;br /&gt;
 ! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Cross-compile with mingw32 on GNU/Linux&lt;br /&gt;
| None&lt;br /&gt;
| &#039;&#039;&#039;Preferred&#039;&#039;&#039; cross-compilation method&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with [http://www.cygwin.com Cygwin]&lt;br /&gt;
| [[Win32CompileCygwin]]&lt;br /&gt;
| &#039;&#039;&#039;Preferred&#039;&#039;&#039; native compilation method&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with [http://www.mingw.org MSYS+MINGW]&lt;br /&gt;
| [[Win32CompileMSYS]]&lt;br /&gt;
| MSYS is a minimal build environment to compile Unixish projects under Microsoft Windows. It provides all the commonly-required Unix tools (like sh, gmake, and so forth). Please note that the gettext utilities are not included in the default MSYS/MINGW packages so you won&#039;t be able to build VLC with i18n support.&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with Microsoft Visual C++&lt;br /&gt;
| None&lt;br /&gt;
|&lt;br /&gt;
&#039;&#039;&#039;Not advised.&#039;&#039;&#039; &amp;lt;P&amp;gt;&lt;br /&gt;
Even though VLC includes some MSVC project files, this method is advised only if you just want to experiment/play with some basic functionality in VLC. VLC depends on a lot of third-party libraries and building them in MSVC is inconvenient (and in some cases, impossible). &amp;lt;BR&amp;gt; &lt;br /&gt;
If you want to run VLC under the MSVC debugger, use &amp;lt;CODE&amp;gt;--fast-mutex --win9x-cv-method=1&amp;lt;/CODE&amp;gt; because the debugger usually loses signals sent by PulseEvent().&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Obtaining the build tools==&lt;br /&gt;
&lt;br /&gt;
Each build method requires its own toolchain:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 ! Method&lt;br /&gt;
 ! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Cross-compile with mingw32 on GNU/Linux&lt;br /&gt;
|&lt;br /&gt;
*Debian/Ubuntu users can &amp;lt;CODE&amp;gt;apt-get install mingw32 mingw32-binutils&amp;lt;/CODE&amp;gt;&lt;br /&gt;
*Gentoo users can &amp;lt;CODE&amp;gt;emerge xmingw-gcc xmingw-binutils&amp;lt;/CODE&amp;gt;&lt;br /&gt;
*Other systems may attempt http://www.mingw.org/mingwfaq.shtml#faq-cross&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with [http://www.cygwin.com Cygwin]&lt;br /&gt;
| Install Cygwin, adding the optional &amp;lt;CODE&amp;gt;gcc-g++&amp;lt;/CODE&amp;gt;, &amp;lt;CODE&amp;gt;gcc-mingw&amp;lt;/CODE&amp;gt;, &amp;lt;CODE&amp;gt;mingw-runtime&amp;lt;/CODE&amp;gt; and &amp;lt;CODE&amp;gt;win32-api&amp;lt;/CODE&amp;gt; packages from the &amp;lt;CODE&amp;gt;Devel&amp;lt;/CODE&amp;gt; category.&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with [http://www.mingw.org MSYS+MINGW]&lt;br /&gt;
| Download and install the latest MSYS, MSYS-DTK, and MINGW from http://www.mingw.org/download.shtml. Begin with the MSYS auto-installer, then extract MINGW into &amp;lt;CODE&amp;gt;C:\MSYS\1.0\MINGW&amp;lt;/CODE&amp;gt;. You also have to remember to remove the &amp;lt;CODE&amp;gt;make&amp;lt;/CODE&amp;gt; utility included with MINGW as it conflicts with the one from MSYS (just rename or remove &amp;lt;CODE&amp;gt;C:\MSYS\1.0\MINGW\BIN\MAKE.EXE&amp;lt;/CODE&amp;gt;).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Saving time by using pre-built libraries==&lt;br /&gt;
&lt;br /&gt;
VLC requires other open source projects to provide some features (like AC3 audio decoding and MPEG-4 video decoding).  A complete list of required libraries from these projects can be found at http://developers.videolan.org/vlc/.  Depending on your needs, you must either build your own versions of these libraries or use VLC&#039;s convenient pre-built versions.&lt;br /&gt;
&lt;br /&gt;
If you feel you must build these libraries from source, the blessed source code may be found at http://download.videolan.org/pub/testing/contrib/.  An automated way of building the contrib libraries is provided in extra/contrib. It will download, configure, and build the libraries. See the extras/contrib/README for more info.&lt;br /&gt;
&lt;br /&gt;
If you want to save yourself time and energy by using the pre-built versions of these libraries, you may download them from http://download.videolan.org/pub/testing/win32/ . The pre-built versions will &#039;&#039;only work with MINGW or Cygwin&#039;&#039;.  Note that the version you download must match that of the MINGW compiler, &amp;lt;CODE&amp;gt;i586-mingw32msvc-gcc&amp;lt;/CODE&amp;gt;, which you can verify by typing &amp;lt;CODE&amp;gt;&#039;i586-mingw32msvc-gcc --ver&#039;&amp;lt;/CODE&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
There are two installation strategies:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 ! Location&lt;br /&gt;
 ! Command&lt;br /&gt;
 ! Advantages&lt;br /&gt;
 ! Disadvantages&lt;br /&gt;
|-&lt;br /&gt;
| Install the pre-built libraries into the Cygwin standard directories (/usr/win32/*)&lt;br /&gt;
| &amp;lt;CODE&amp;gt;tar jxf contrib-20061122-win32-bin-gcc-3.4.5-only.tar.bz2 -C /&amp;lt;/CODE&amp;gt; (Note the &amp;lt;CODE&amp;gt;&amp;quot;-C /&amp;quot;&amp;lt;/CODE&amp;gt;!)&lt;br /&gt;
|&lt;br /&gt;
*Shorter initial setup time&lt;br /&gt;
|&lt;br /&gt;
*May conflict with other headers/libraries in the standard directories&lt;br /&gt;
*Difficult to get rid of if you want to free up space or to upgrade to the next version of the pre-built libraries (Installing over the top of older versions is highly discouraged!)&lt;br /&gt;
|-&lt;br /&gt;
| Install the pre-built libraries into a project-specific directory (e.g., &amp;lt;CODE&amp;gt;D:\VLC&amp;lt;/CODE&amp;gt;)&lt;br /&gt;
| &amp;lt;CODE&amp;gt;tar jxf contrib-20061122-win32-bin-gcc-3.4.5-only.tar.bz2 -C /cygdrive/d/VLC&amp;lt;/CODE&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
*No conflicts with other projects built under Cygwin&lt;br /&gt;
*Easy to get rid of if you want to free up space or to upgrade to the next version of the pre-built libraries&lt;br /&gt;
*For multi-person projects, easy to put under revision control to ensure all project members are using the correct pre-built versions&lt;br /&gt;
|&lt;br /&gt;
*Requires that you set &amp;lt;CODE&amp;gt;CPPFLAGS&amp;lt;/CODE&amp;gt;, &amp;lt;CODE&amp;gt;LDFLAGS&amp;lt;/CODE&amp;gt; appropriately when building&lt;br /&gt;
*Requires that you modify hard-coded paths in the pre-built libraries (see below)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If installing into a project-specific directory, you must modify some hard-coded paths in the pre-build libraries as follows:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
CONTRIBS=/cygdrive/d/VLC&lt;br /&gt;
for file in $CONTRIBS/bin/*-config $CONTRIBS/lib/*.la ; do&lt;br /&gt;
	perl -i.bak -p -e &#039;s|/usr/win32|$ENV{&amp;quot;CONTRIBS&amp;quot;}|g&#039; $file&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Configuring the build==&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve got all the files you need in place, you need to configure the build with the &amp;lt;CODE&amp;gt;configure&amp;lt;/CODE&amp;gt; script.  In the following examples, assume that the third-party libraries are installed in &amp;lt;CODE&amp;gt;$CONTRIBS&amp;lt;/CODE&amp;gt;.  If installed in the Cygwin standard directories, use &amp;lt;CODE&amp;gt;export CONTRIBS=/usr/win32&amp;lt;/CODE&amp;gt;. Otherwise use &amp;lt;CODE&amp;gt;export CONTRIBS=/cygdrive/d/VLC&amp;lt;/CODE&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you are cross-compiling under GNU/Linux, you can use something along these lines:&lt;br /&gt;
&lt;br /&gt;
  ./bootstrap &amp;amp;&amp;amp; \&lt;br /&gt;
  export PKG_CONFIG_PATH=$CONTRIBS/lib/pkgconfig \&lt;br /&gt;
  CPPFLAGS=&amp;quot;-I$CONTRIBS/include -I$CONTRIBS/include/ebml&amp;quot; CXXCPP=$CPPFLAGS \&lt;br /&gt;
  LDFLAGS=-L$CONTRIBS/lib \&lt;br /&gt;
  CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \&lt;br /&gt;
  ./configure --host=i586-mingw32msvc --build=i386-linux \&lt;br /&gt;
      --disable-[[gtk]] \&lt;br /&gt;
      --enable-[[nls]] --enable-[[sdl]] --with-sdl-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --enable-[[ffmpeg]] --with-ffmpeg-mp3lame --with-ffmpeg-[[faac]] \&lt;br /&gt;
      --with-ffmpeg-[[zlib]] --enable-[[faad]] --enable-[[flac]] --enable-[[theora]] \&lt;br /&gt;
      --with-[[wx]]-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-[[freetype]]-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-[[fribidi]]-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --enable-[[live555]] --with-live555-tree=$CONTRIBS/live.com \&lt;br /&gt;
      --enable-[[caca]] --with-caca-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-[[xml2]]-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-[[dvdnav]]-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --disable-[[cddax]] --disable-[[vcdx]] --enable-[[goom]] \&lt;br /&gt;
      --enable-[[twolame]] --enable-[[dvdread]] \&lt;br /&gt;
      --enable-[[debug]]&lt;br /&gt;
&lt;br /&gt;
If you are using cygwin, you can build VLC with or without the POSIX emulation layer. Without is usually better and with POSIX emulation hasn&#039;t been tested in over a year. So to build without the emulation layer, use something like this:&lt;br /&gt;
&lt;br /&gt;
  ./bootstrap &amp;amp;&amp;amp; \&lt;br /&gt;
  export PKG_CONFIG_PATH=$CONTRIBS/lib/pkgconfig \&lt;br /&gt;
  CPPFLAGS=&amp;quot;-I$CONTRIBS/include -I$CONTRIBS/include/ebml&amp;quot; CXXCPP=$CPPFLAGS \&lt;br /&gt;
  LDFLAGS=-L$CONTRIBS/lib \&lt;br /&gt;
  CC=&#039;gcc -mno-cygwin&#039; CXX=&#039;g++ -mno-cygwin&#039; \&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --disable-gtk \&lt;br /&gt;
      --enable-nls --enable-sdl --with-sdl-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \&lt;br /&gt;
      --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \&lt;br /&gt;
      --with-wx-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-freetype-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-fribidi-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --enable-live555 --with-live555-tree=$CONTRIBS/live.com \&lt;br /&gt;
      --enable-caca --with-caca-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-xml2-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-dvdnav-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --disable-cddax --disable-vcdx --enable-goom \&lt;br /&gt;
      --enable-twolame --enable-dvdread \&lt;br /&gt;
      --enable-debug&lt;br /&gt;
&lt;br /&gt;
If you want to use the emulation layer, then just omit &amp;lt;CODE&amp;gt;CFLAGS&amp;lt;/CODE&amp;gt; and &amp;lt;CODE&amp;gt;CXXFLAGS&amp;lt;/CODE&amp;gt;. You&#039;re on your own, though.&lt;br /&gt;
&lt;br /&gt;
If you are compiling with MSYS/MINGW, then you can use something along those lines:&lt;br /&gt;
  ./bootstrap &amp;amp;&amp;amp; \&lt;br /&gt;
  export PKG_CONFIG_PATH=$CONTRIBS/lib/pkgconfig \&lt;br /&gt;
  CPPFLAGS=&amp;quot;-I$CONTRIBS/include -I$CONTRIBS/include/ebml&amp;quot; CXXCPP=$CPPFLAGS \&lt;br /&gt;
  LDFLAGS=-L$CONTRIBS/lib \&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --disable-gtk \&lt;br /&gt;
      --enable-nls --enable-sdl --with-sdl-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \&lt;br /&gt;
      --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \&lt;br /&gt;
      --with-wx-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-freetype-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-fribidi-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --enable-caca --with-caca-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-xml2-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-dvdnav-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --disable-cddax --disable-vcdx --enable-goom \&lt;br /&gt;
      --enable-twolame --enable-dvdread \&lt;br /&gt;
      --disable-[[mkv]] \&lt;br /&gt;
      --enable-debug&lt;br /&gt;
&lt;br /&gt;
If you have used the &amp;quot;extras/contrib&amp;quot; way, you don&#039;t need to specify &amp;lt;CODE&amp;gt;CFLAGS&amp;lt;/CODE&amp;gt;, &amp;lt;CODE&amp;gt;LDFLAGS&amp;lt;/CODE&amp;gt; and &amp;lt;CODE&amp;gt;--with-foo-config-path=&amp;lt;/CODE&amp;gt;.&lt;br /&gt;
 ./bootstrap &amp;amp;&amp;amp; \&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --disable-gtk \&lt;br /&gt;
      --enable-nls --enable-sdl \&lt;br /&gt;
      --enable-ffmpeg --enable-faad --enable-flac --enable-theora \&lt;br /&gt;
      --disable-cddax --disable-vcdx --enable-goom \&lt;br /&gt;
      --enable-twolame --enable-dvdread \&lt;br /&gt;
      --enable-mkv --enable-caca --enable-live555\&lt;br /&gt;
      --enable-debug&lt;br /&gt;
&lt;br /&gt;
See &amp;lt;CODE&amp;gt;&#039;./configure --help&#039;&amp;lt;/CODE&amp;gt; for more information.&lt;br /&gt;
&lt;br /&gt;
==Building VLC==&lt;br /&gt;
&lt;br /&gt;
Once configured, to build VLC, just run &amp;lt;CODE&amp;gt;&#039;make&#039;&amp;lt;/CODE&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can either run VLC directly from the source tree or you can build self-contained VLC packages with the following &amp;lt;CODE&amp;gt;make&amp;lt;/CODE&amp;gt; rules:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 ! Command&lt;br /&gt;
 ! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;CODE&amp;gt;make package-win32-base&amp;lt;/CODE&amp;gt;&lt;br /&gt;
| Creates a subdirectory named &amp;lt;CODE&amp;gt;vlc-x.x.x&amp;lt;/CODE&amp;gt; with all the binaries &#039;stripped&#039; (that is, smallest size, unusable with a debugger)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;CODE&amp;gt;make package-win32-zip&amp;lt;/CODE&amp;gt;&lt;br /&gt;
| Same as above but will package the directory in a zip file.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;CODE&amp;gt;make package-win32&amp;lt;/CODE&amp;gt;&lt;br /&gt;
| Same as above but will also create an auto-installer package. You must have NSIS installed in its default location for this to work.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Well done&amp;amp;mdash;you&#039;re ready to use VLC!&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>EnlightenedTeamster</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32Compile&amp;diff=7958</id>
		<title>Win32Compile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32Compile&amp;diff=7958"/>
		<updated>2007-03-09T20:54:41Z</updated>

		<summary type="html">&lt;p&gt;EnlightenedTeamster: copyedit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;From http://developers.videolan.org/vlc/vlc/INSTALL.win32&lt;br /&gt;
&lt;br /&gt;
 $Id: INSTALL.win32 15707 2006-05-22 09:42:08Z xtophe $&lt;br /&gt;
 INSTALL file for the Windows9x/Me/NT4/2k/XP version of the VLC media player&lt;br /&gt;
&lt;br /&gt;
==Before you start==&lt;br /&gt;
&lt;br /&gt;
One common desire that leads people to want to rebuild VLC is to &amp;quot;rebuild a debug version&amp;quot; or &amp;quot;add printf()s&amp;quot;, but this is not strictly necessary, as VLC includes a debug logging feature by default.  If you are using a binary release (or have already built VLC), just run &amp;lt;CODE&amp;gt;&#039;vlc.exe&#039;&amp;lt;/CODE&amp;gt; and select &amp;quot;Messages...&amp;quot; from the &amp;quot;View&amp;quot; menu.&lt;br /&gt;
&lt;br /&gt;
You can also run VLC from the Windows command-line interpreter, &amp;lt;CODE&amp;gt;cmd.exe&amp;lt;/CODE&amp;gt; (a.k.a. &amp;quot;DOS window&amp;quot;), in which case you&#039;ll be able to use the command-line arguments. You can obtain a list of these command line arguments by typing &amp;lt;CODE&amp;gt;&#039;vlc --help&#039;&amp;lt;/CODE&amp;gt; or &amp;lt;CODE&amp;gt;&#039;vlc --help --advanced&#039;&amp;lt;/CODE&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To store a debug log of the current VLC session, you can use &amp;lt;CODE&amp;gt;&#039;vlc -vvv --extraintf=logger&#039;&amp;lt;/CODE&amp;gt;. You will end-up with a &amp;lt;CODE&amp;gt;vlc-log.txt&amp;lt;/CODE&amp;gt; file in your current directory.&lt;br /&gt;
&lt;br /&gt;
==Building VLC from source==&lt;br /&gt;
&lt;br /&gt;
If you want to build VLC from source, you have several choices:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 ! Method&lt;br /&gt;
 ! Documentation&lt;br /&gt;
 ! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Cross-compile with mingw32 on GNU/Linux&lt;br /&gt;
| None&lt;br /&gt;
| &#039;&#039;&#039;Preferred&#039;&#039;&#039; cross-compilation method&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with [http://www.cygwin.com Cygwin]&lt;br /&gt;
| [[Win32CompileCygwin]]&lt;br /&gt;
| &#039;&#039;&#039;Preferred&#039;&#039;&#039; native compilation method&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with [http://www.mingw.org MSYS+MINGW]&lt;br /&gt;
| [[Win32CompileMSYS]]&lt;br /&gt;
| MSYS is a minimal build environment to compile Unixish projects under Microsoft Windows. It provides all the commonly-required Unix tools (like sh, gmake, and so forth). Please note that the gettext utilities are not included in the default MSYS/MINGW packages so you won&#039;t be able to build VLC with i18n support.&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with Microsoft Visual C++&lt;br /&gt;
| None&lt;br /&gt;
|&lt;br /&gt;
&#039;&#039;&#039;Not advised.&#039;&#039;&#039; &amp;lt;P&amp;gt;&lt;br /&gt;
Even though VLC includes some MSVC project files, this method is advised only if you just want to experiment/play with some basic functionality in VLC. VLC depends on a lot of third-party libraries and building them in MSVC is inconvenient (and in some cases, impossible). &amp;lt;BR&amp;gt; &lt;br /&gt;
If you want to run VLC under the MSVC debugger, use &amp;lt;CODE&amp;gt;--fast-mutex --win9x-cv-method=1&amp;lt;/CODE&amp;gt; because the debugger usually loses signals sent by PulseEvent().&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Obtaining the build tools==&lt;br /&gt;
&lt;br /&gt;
Each build method requires its own toolchain:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 ! Method&lt;br /&gt;
 ! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Cross-compile with mingw32 on GNU/Linux&lt;br /&gt;
|&lt;br /&gt;
*Debian/Ubuntu users can &amp;lt;CODE&amp;gt;apt-get install mingw32 mingw32-binutils&amp;lt;/CODE&amp;gt;&lt;br /&gt;
*Gentoo users can &amp;lt;CODE&amp;gt;emerge xmingw-gcc xmingw-binutils&amp;lt;/CODE&amp;gt;&lt;br /&gt;
*Other systems may attempt http://www.mingw.org/mingwfaq.shtml#faq-cross&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with [http://www.cygwin.com Cygwin]&lt;br /&gt;
| Install Cygwin, adding the optional &amp;lt;CODE&amp;gt;gcc-g++&amp;lt;/CODE&amp;gt;, &amp;lt;CODE&amp;gt;gcc-mingw&amp;lt;/CODE&amp;gt;, &amp;lt;CODE&amp;gt;mingw-runtime&amp;lt;/CODE&amp;gt; and &amp;lt;CODE&amp;gt;win32-api&amp;lt;/CODE&amp;gt; packages from the &amp;lt;CODE&amp;gt;Devel&amp;lt;/CODE&amp;gt; category.&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with [http://www.mingw.org MSYS+MINGW]&lt;br /&gt;
| Download and install the latest MSYS, MSYS-DTK, and MINGW from http://www.mingw.org/download.shtml. Begin with the MSYS auto-installer, then extract MINGW into &amp;lt;CODE&amp;gt;C:\MSYS\1.0\MINGW&amp;lt;/CODE&amp;gt;. You also have to remember to remove the &amp;lt;CODE&amp;gt;make&amp;lt;/CODE&amp;gt; utility included with MINGW as it conflicts with the one from MSYS (just rename or remove &amp;lt;CODE&amp;gt;C:\MSYS\1.0\MINGW\BIN\MAKE.EXE&amp;lt;/CODE&amp;gt;).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Saving time by using pre-built libraries==&lt;br /&gt;
&lt;br /&gt;
VLC requires other open source projects to provide some features (like AC3 audio decoding and MPEG-4 video decoding).  A complete list of required libraries from these projects can be found at http://developers.videolan.org/vlc/.  Depending on your needs, you must either build your own versions of these libraries or use VLC&#039;s convenient pre-built versions.&lt;br /&gt;
&lt;br /&gt;
If you feel you must build these libraries from source, the blessed source code may be found at http://download.videolan.org/pub/testing/contrib/.  An automated way of building the contrib libraries is provided in extra/contrib. It will download, configure, and build the libraries. See the extras/contrib/README for more info.&lt;br /&gt;
&lt;br /&gt;
If you want to save yourself time and energy by using the pre-built versions of these libraries, you may download them from http://download.videolan.org/pub/testing/win32/ . The pre-built versions will &#039;&#039;only work with MINGW or Cygwin&#039;&#039;.  Note that the version you download must match that of the MINGW compiler, &amp;lt;CODE&amp;gt;i586-mingw32msvc-gcc&amp;lt;/CODE&amp;gt;, which you can verify by typing &amp;lt;CODE&amp;gt;&#039;i586-mingw32msvc-gcc --ver&#039;&amp;lt;/CODE&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
There are two installation strategies:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 ! Location&lt;br /&gt;
 ! Command&lt;br /&gt;
 ! Advantages&lt;br /&gt;
 ! Disadvantages&lt;br /&gt;
|-&lt;br /&gt;
| Install the pre-built libraries into the Cygwin standard directories (/usr/win32/*)&lt;br /&gt;
| &amp;lt;CODE&amp;gt;tar jxf contrib-20061122-win32-bin-gcc-3.4.5-only.tar.bz2 -C /&amp;lt;/CODE&amp;gt; (Note the &amp;lt;CODE&amp;gt;&amp;quot;-C /&amp;quot;&amp;lt;/CODE&amp;gt;!)&lt;br /&gt;
|&lt;br /&gt;
*Shorter initial setup time&lt;br /&gt;
|&lt;br /&gt;
*May conflict with other headers/libraries in the standard directories&lt;br /&gt;
*Difficult to get rid of if you want to free up space or to upgrade to the next version of the pre-built libraries (Installing over the top of older versions is highly discouraged!)&lt;br /&gt;
|-&lt;br /&gt;
| Install the pre-built libraries into a project-specific directory (e.g., &amp;lt;CODE&amp;gt;D:\VLC&amp;lt;/CODE&amp;gt;)&lt;br /&gt;
| &amp;lt;CODE&amp;gt;tar jxf contrib-20061122-win32-bin-gcc-3.4.5-only.tar.bz2 -C /cygdrive/d/VLC&amp;lt;/CODE&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
*No conflicts with other projects built under Cygwin&lt;br /&gt;
*Easy to get rid of if you want to free up space or to upgrade to the next version of the pre-built libraries&lt;br /&gt;
*For multi-person projects, easy to put under revision control to ensure all project members are using the correct pre-built versions&lt;br /&gt;
|&lt;br /&gt;
*Requires that you set &amp;lt;CODE&amp;gt;CPPFLAGS&amp;lt;/CODE&amp;gt;, &amp;lt;CODE&amp;gt;LDFLAGS&amp;lt;/CODE&amp;gt; appropriately&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Configuring the build==&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve got all the files you need in place, you need to configure the build with the &amp;lt;CODE&amp;gt;configure&amp;lt;/CODE&amp;gt; script.  In the following examples, assume that the third-party libraries are installed in &amp;lt;CODE&amp;gt;$CONTRIBS&amp;lt;/CODE&amp;gt;.  If installed in the Cygwin standard directories, use &amp;lt;CODE&amp;gt;export CONTRIBS=/usr/win32&amp;lt;/CODE&amp;gt;. Otherwise use &amp;lt;CODE&amp;gt;export CONTRIBS=/cygdrive/d/VLC&amp;lt;/CODE&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you are cross-compiling under GNU/Linux, you can use something along these lines:&lt;br /&gt;
&lt;br /&gt;
  ./bootstrap &amp;amp;&amp;amp; \&lt;br /&gt;
  export PKG_CONFIG_PATH=$CONTRIBS/lib/pkgconfig \&lt;br /&gt;
  CPPFLAGS=&amp;quot;-I$CONTRIBS/include -I$CONTRIBS/include/ebml&amp;quot; CXXCPP=$CPPFLAGS \&lt;br /&gt;
  LDFLAGS=-L$CONTRIBS/lib \&lt;br /&gt;
  CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \&lt;br /&gt;
  ./configure --host=i586-mingw32msvc --build=i386-linux \&lt;br /&gt;
      --disable-[[gtk]] \&lt;br /&gt;
      --enable-[[nls]] --enable-[[sdl]] --with-sdl-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --enable-[[ffmpeg]] --with-ffmpeg-mp3lame --with-ffmpeg-[[faac]] \&lt;br /&gt;
      --with-ffmpeg-[[zlib]] --enable-[[faad]] --enable-[[flac]] --enable-[[theora]] \&lt;br /&gt;
      --with-[[wx]]-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-[[freetype]]-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-[[fribidi]]-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --enable-[[live555]] --with-live555-tree=$CONTRIBS/live.com \&lt;br /&gt;
      --enable-[[caca]] --with-caca-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-[[xml2]]-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-[[dvdnav]]-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --disable-[[cddax]] --disable-[[vcdx]] --enable-[[goom]] \&lt;br /&gt;
      --enable-[[twolame]] --enable-[[dvdread]] \&lt;br /&gt;
      --enable-[[debug]]&lt;br /&gt;
&lt;br /&gt;
If you are using cygwin, you can build VLC with or without the POSIX emulation layer. Without is usually better and with POSIX emulation hasn&#039;t been tested in about a year or so. So to build without the emulation layer, use something like this:&lt;br /&gt;
&lt;br /&gt;
  ./bootstrap &amp;amp;&amp;amp; \&lt;br /&gt;
  export PKG_CONFIG_PATH=$CONTRIBS/lib/pkgconfig \&lt;br /&gt;
  CFLAGS=-mno-cygwin CXXFLAGS=$CFLAGS \&lt;br /&gt;
  CPPFLAGS=&amp;quot;-I$CONTRIBS/include -I$CONTRIBS/include/ebml&amp;quot; CXXCPP=$CPPFLAGS \&lt;br /&gt;
  LDFLAGS=-L$CONTRIBS/lib \&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --disable-gtk \&lt;br /&gt;
      --enable-nls --enable-sdl --with-sdl-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \&lt;br /&gt;
      --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \&lt;br /&gt;
      --with-wx-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-freetype-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-fribidi-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --enable-live555 --with-live555-tree=$CONTRIBS/live.com \&lt;br /&gt;
      --enable-caca --with-caca-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-xml2-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-dvdnav-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --disable-cddax --disable-vcdx --enable-goom \&lt;br /&gt;
      --enable-twolame --enable-dvdread \&lt;br /&gt;
      --enable-debug&lt;br /&gt;
&lt;br /&gt;
If you want to use the emulation layer, then just omit &amp;lt;CODE&amp;gt;CFLAGS&amp;lt;/CODE&amp;gt; and &amp;lt;CODE&amp;gt;CXXFLAGS&amp;lt;/CODE&amp;gt;. You&#039;re on your own, though.&lt;br /&gt;
&lt;br /&gt;
If you are compiling with MSYS/MINGW, then you can use something along those lines:&lt;br /&gt;
  ./bootstrap &amp;amp;&amp;amp; \&lt;br /&gt;
  export PKG_CONFIG_PATH=$CONTRIBS/lib/pkgconfig \&lt;br /&gt;
  CPPFLAGS=&amp;quot;-I$CONTRIBS/include -I$CONTRIBS/include/ebml&amp;quot; CXXCPP=$CPPFLAGS \&lt;br /&gt;
  LDFLAGS=-L$CONTRIBS/lib \&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --disable-gtk \&lt;br /&gt;
      --enable-nls --enable-sdl --with-sdl-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \&lt;br /&gt;
      --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \&lt;br /&gt;
      --with-wx-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-freetype-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-fribidi-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --enable-caca --with-caca-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-xml2-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --with-dvdnav-config-path=$CONTRIBS/bin \&lt;br /&gt;
      --disable-cddax --disable-vcdx --enable-goom \&lt;br /&gt;
      --enable-twolame --enable-dvdread \&lt;br /&gt;
      --disable-[[mkv]] \&lt;br /&gt;
      --enable-debug&lt;br /&gt;
&lt;br /&gt;
If you have used the &amp;quot;extras/contrib&amp;quot; way, you don&#039;t need to specify &amp;lt;CODE&amp;gt;CFLAGS&amp;lt;/CODE&amp;gt;, &amp;lt;CODE&amp;gt;LDFLAGS&amp;lt;/CODE&amp;gt; and &amp;lt;CODE&amp;gt;--with-foo-config-path=&amp;lt;/CODE&amp;gt;.&lt;br /&gt;
 ./bootstrap &amp;amp;&amp;amp; \&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --disable-gtk \&lt;br /&gt;
      --enable-nls --enable-sdl \&lt;br /&gt;
      --enable-ffmpeg --enable-faad --enable-flac --enable-theora \&lt;br /&gt;
      --disable-cddax --disable-vcdx --enable-goom \&lt;br /&gt;
      --enable-twolame --enable-dvdread \&lt;br /&gt;
      --enable-mkv --enable-caca --enable-live555\&lt;br /&gt;
      --enable-debug&lt;br /&gt;
&lt;br /&gt;
See &amp;lt;CODE&amp;gt;&#039;./configure --help&#039;&amp;lt;/CODE&amp;gt; for more information.&lt;br /&gt;
&lt;br /&gt;
==Building VLC==&lt;br /&gt;
&lt;br /&gt;
Once configured, to build VLC, just run &amp;lt;CODE&amp;gt;&#039;make&#039;&amp;lt;/CODE&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can either run VLC directly from the source tree or you can build self-contained VLC packages with the following &amp;lt;CODE&amp;gt;make&amp;lt;/CODE&amp;gt; rules:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 ! Command&lt;br /&gt;
 ! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;CODE&amp;gt;make package-win32-base&amp;lt;/CODE&amp;gt;&lt;br /&gt;
| Creates a subdirectory named &amp;lt;CODE&amp;gt;vlc-x.x.x&amp;lt;/CODE&amp;gt; with all the binaries &#039;stripped&#039; (that is, smallest size, unusable with a debugger)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;CODE&amp;gt;make package-win32-zip&amp;lt;/CODE&amp;gt;&lt;br /&gt;
| Same as above but will package the directory in a zip file.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;CODE&amp;gt;make package-win32&amp;lt;/CODE&amp;gt;&lt;br /&gt;
| Same as above but will also create an auto-installer package. You must have NSIS installed in its default location for this to work.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Well done&amp;amp;mdash;you&#039;re ready to use VLC!&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>EnlightenedTeamster</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32Compile&amp;diff=7955</id>
		<title>Win32Compile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32Compile&amp;diff=7955"/>
		<updated>2007-03-09T16:31:17Z</updated>

		<summary type="html">&lt;p&gt;EnlightenedTeamster: /* Building VLC from the source code */ copyedit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;From http://developers.videolan.org/vlc/vlc/INSTALL.win32&lt;br /&gt;
&lt;br /&gt;
 $Id: INSTALL.win32 15707 2006-05-22 09:42:08Z xtophe $&lt;br /&gt;
 INSTALL file for the Windows9x/Me/NT4/2k/XP version of the VLC media player&lt;br /&gt;
&lt;br /&gt;
==Running VLC with debug==&lt;br /&gt;
&lt;br /&gt;
If you have already built VLC (see below) or are using a binary release, just run &#039;vlc.exe&#039;.&lt;br /&gt;
&lt;br /&gt;
You can also run VLC from a dos command box, in which case you&#039;ll be able to use the command line arguments. You can obtain a list of these command line arguments by typing &#039;vlc --help&#039; or &#039;vlc --help --advanced&#039;.&lt;br /&gt;
&lt;br /&gt;
To store a debug log of the current VLC session, you can use &#039;vlc -vv --extraintf=logger&#039;. You will end-up with a vlc-log.txt file in your current directory.&lt;br /&gt;
&lt;br /&gt;
==Building VLC from the source code==&lt;br /&gt;
&lt;br /&gt;
If you want to build VLC from source, you have several choices:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 ! Method&lt;br /&gt;
 ! Documentation&lt;br /&gt;
 ! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Cross-compile with mingw32 on GNU/Linux&lt;br /&gt;
| None&lt;br /&gt;
| &#039;&#039;&#039;Preferred&#039;&#039;&#039; cross-compilation method&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with [http://www.cygwin.com Cygwin]&lt;br /&gt;
| [[Win32CompileCygwin]]&lt;br /&gt;
| &#039;&#039;&#039;Preferred&#039;&#039;&#039; native compilation method&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with [http://www.mingw.org MSYS+MINGW]&lt;br /&gt;
| [[Win32CompileMSYS]]&lt;br /&gt;
| MSYS is a minimal build environment to compile Unixish projects under Microsoft Windows. It provides all the commonly-required Unix tools (like sh, gmake, and so forth). Please note that the gettext utilities are not included in the default MSYS/MINGW packages so you won&#039;t be able to build VLC with i18n support.&lt;br /&gt;
|-&lt;br /&gt;
| Native-compile with Microsoft Visual C++&lt;br /&gt;
| None&lt;br /&gt;
|&lt;br /&gt;
&#039;&#039;&#039;Not advised.&#039;&#039;&#039; &amp;lt;P&amp;gt;&lt;br /&gt;
Even though VLC includes some MSVC project files, this method is advised only if you just want to experiment/play with some basic functionality in VLC. VLC depends on a lot of third-party libraries and building them in MSVC is inconvenient (and in some cases, impossible). &amp;lt;BR&amp;gt; &lt;br /&gt;
If you want to run VLC under the MSVC debugger, use &amp;lt;PRE&amp;gt;--fast-mutex --win9x-cv-method=1&amp;lt;/PRE&amp;gt; because the debugger usually loses signals sent by PulseEvent().&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Getting the right compiler tools==&lt;br /&gt;
&lt;br /&gt;
; cross-compiling with mingw32&lt;br /&gt;
: You first need to download a GNU/Linux cross-compiler version of mingw32.&lt;br /&gt;
: For Debian GNU/Linux users, you can use the mingw32, mingw32-binutils and mingw32-runtime packages.&lt;br /&gt;
&lt;br /&gt;
; compiling natively on Windows with cygwin&lt;br /&gt;
:You will need to download and run the setup.exe app from cygwin&#039;s web site (www.cygwin.com). You will also need to make sure you install at least the gcc-g++, gcc-mingw, mingw-runtime and win32-api packages.&lt;br /&gt;
&lt;br /&gt;
; compiling natively on Windows with MSYS+MINGW:&lt;br /&gt;
: You will need to download and install the latest MSYS, MSYS-DTK and MINGW. The installation is really easy. Begin with the MSYS auto-installer and once this is done, extract MINGW into c:\msys\1.0\mingw. You also have to remember to remove the make utility included with MINGW as it conflicts with the one from MSYS (just rename or remove c:\msys\1.0\mingw\bin\make.exe).&lt;br /&gt;
:* http://www.mingw.org/download.shtml&lt;br /&gt;
:* http://prdownloads.sf.net/mingw/MSYS-1.0.9.exe&lt;br /&gt;
:* http://prdownloads.sf.net/mingw/MinGW-3.1.0-1.exe&lt;br /&gt;
:* http://prdownloads.sf.net/mingw/msysDTK-1.0.1.exe&lt;br /&gt;
&lt;br /&gt;
==Getting the additional libraries==&lt;br /&gt;
&lt;br /&gt;
VLC depends on other libraries to provide some features like ac3 audio decoding or mpeg4 video decoding, etc...&lt;br /&gt;
&lt;br /&gt;
Depending on your needs you will have to compile/install some or all of these&lt;br /&gt;
external libraries.&lt;br /&gt;
&lt;br /&gt;
They can be found here (source code):&lt;br /&gt;
: http://download.videolan.org/pub/testing/contrib/&lt;br /&gt;
&lt;br /&gt;
We also provide a package with all the libraries already compiled so it is actually really easy to compile a full-featured version of vlc (these compiled libraries will only work with mingw or cygwin):&lt;br /&gt;
:http://download.videolan.org/pub/testing/win32/contrib-20061122-win32-bin-gcc-3.4.5-only.tar.bz2  (Check out for more recent versions at the same location). The gcc version mentioned (3.4.5 in this case) is that of i586-mingw32msvc-gcc, which you can verify by typing i586-mingw32msvc-gcc --ver.&lt;br /&gt;
&lt;br /&gt;
All you need to do is extract it in your root directory (the include files and libraries will be put in /usr/win32). You can do this with the following command: &lt;br /&gt;
 tar -xjvf contrib-20061122-win32-bin-gcc-3.4.5-only.tar.bz2 -C /&lt;br /&gt;
Please note the &amp;quot;-C /&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
An automated way of building the contrib libraries is provided in extra/contrib. It will download, configure and build the libraries. See the extras/contrib/README for more info.&lt;br /&gt;
&lt;br /&gt;
A complete list of the libraries on which we depend can be found here:&lt;br /&gt;
: http://developers.videolan.org/vlc/&lt;br /&gt;
&lt;br /&gt;
==Configuring the build==&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve got all the files you need in place, you need to configure the build with the `./configure&#039; script.&lt;br /&gt;
&lt;br /&gt;
I&#039;ll assume that you are using the pre-compiled 3rd party libraries I&#039;m providing and that they are in /usr/win32.&lt;br /&gt;
&lt;br /&gt;
If you are cross-compiling from Debian, you can use something along those lines:&lt;br /&gt;
&lt;br /&gt;
  ./bootstrap &amp;amp;&amp;amp; \&lt;br /&gt;
  PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \&lt;br /&gt;
  CPPFLAGS=&amp;quot;-I/usr/win32/include -I/usr/win32/include/ebml&amp;quot; \&lt;br /&gt;
  LDFLAGS=-L/usr/win32/lib \&lt;br /&gt;
  CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \&lt;br /&gt;
  ./configure --host=i586-mingw32msvc --build=i386-linux \&lt;br /&gt;
      --disable-[[gtk]] \&lt;br /&gt;
      --enable-[[nls]] --enable-[[sdl]] --with-sdl-config-path=/usr/win32/bin \&lt;br /&gt;
      --enable-[[ffmpeg]] --with-ffmpeg-mp3lame --with-ffmpeg-[[faac]] \&lt;br /&gt;
      --with-ffmpeg-[[zlib]] --enable-[[faad]] --enable-[[flac]] --enable-[[theora]] \&lt;br /&gt;
      --with-[[wx]]-config-path=/usr/win32/bin \&lt;br /&gt;
      --with-[[freetype]]-config-path=/usr/win32/bin \&lt;br /&gt;
      --with-[[fribidi]]-config-path=/usr/win32/bin \&lt;br /&gt;
      --enable-[[live555]] --with-live555-tree=/usr/win32/live.com \&lt;br /&gt;
      --enable-[[caca]] --with-caca-config-path=/usr/win32/bin \&lt;br /&gt;
      --with-[[xml2]]-config-path=/usr/win32/bin \&lt;br /&gt;
      --with-[[dvdnav]]-config-path=/usr/win32/bin \&lt;br /&gt;
      --disable-[[cddax]] --disable-[[vcdx]] --enable-[[goom]] \&lt;br /&gt;
      --enable-[[twolame]] --enable-[[dvdread]] \&lt;br /&gt;
      --enable-[[debug]]&lt;br /&gt;
&lt;br /&gt;
If you are using cygwin, you can build VLC with or without the POSIX emulation layer. Without is usually better and with POSIX emulation hasn&#039;t been tested in about a year or so. So to build without the emulation layer, use something like this:&lt;br /&gt;
&lt;br /&gt;
  ./bootstrap &amp;amp;&amp;amp; \&lt;br /&gt;
  PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \&lt;br /&gt;
  CPPFLAGS=&amp;quot;-I/usr/win32/include -I/usr/win32/include/ebml&amp;quot; \&lt;br /&gt;
  LDFLAGS=-L/usr/win32/lib \&lt;br /&gt;
  CC=&amp;quot;gcc -mno-cygwin&amp;quot; CXX=&amp;quot;g++ -mno-cygwin&amp;quot; \&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --disable-gtk \&lt;br /&gt;
      --enable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \&lt;br /&gt;
      --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \&lt;br /&gt;
      --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \&lt;br /&gt;
      --with-wx-config-path=/usr/win32/bin \&lt;br /&gt;
      --with-freetype-config-path=/usr/win32/bin \&lt;br /&gt;
      --with-fribidi-config-path=/usr/win32/bin \&lt;br /&gt;
      --enable-live555 --with-live555-tree=/usr/win32/live.com \&lt;br /&gt;
      --enable-caca --with-caca-config-path=/usr/win32/bin \&lt;br /&gt;
      --with-xml2-config-path=/usr/win32/bin \&lt;br /&gt;
      --with-dvdnav-config-path=/usr/win32/bin \&lt;br /&gt;
      --disable-cddax --disable-vcdx --enable-goom \&lt;br /&gt;
      --enable-twolame --enable-dvdread \&lt;br /&gt;
      --enable-debug&lt;br /&gt;
&lt;br /&gt;
If you want to use the emulation layer, then just omit the CC=&amp;quot;gcc -mno-cygwin&amp;quot; CXX=&amp;quot;g++ -mno-cygwin&amp;quot; line. You&#039;re on your own though.&lt;br /&gt;
&lt;br /&gt;
If you are compiling with MSYS/MINGW, then you can use something along those lines:&lt;br /&gt;
  ./bootstrap &amp;amp;&amp;amp; \&lt;br /&gt;
  PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \&lt;br /&gt;
  CPPFLAGS=&amp;quot;-I/usr/win32/include -I/usr/win32/include/ebml&amp;quot; \&lt;br /&gt;
  LDFLAGS=-L/usr/win32/lib \&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --disable-gtk \&lt;br /&gt;
      --enable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \&lt;br /&gt;
      --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \&lt;br /&gt;
      --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \&lt;br /&gt;
      --with-wx-config-path=/usr/win32/bin \&lt;br /&gt;
      --with-freetype-config-path=/usr/win32/bin \&lt;br /&gt;
      --with-fribidi-config-path=/usr/win32/bin \&lt;br /&gt;
      --enable-caca --with-caca-config-path=/usr/win32/bin \&lt;br /&gt;
      --with-xml2-config-path=/usr/win32/bin \&lt;br /&gt;
      --with-dvdnav-config-path=/usr/win32/bin \&lt;br /&gt;
      --disable-cddax --disable-vcdx --enable-goom \&lt;br /&gt;
      --enable-twolame --enable-dvdread \&lt;br /&gt;
      --disable-[[mkv]] \&lt;br /&gt;
      --enable-debug&lt;br /&gt;
&lt;br /&gt;
If you have used the &amp;quot;extras/contrib&amp;quot; way, you don&#039;t need to precise the CFLAGS, LDFLAGS and --with-foo-config-path=.&lt;br /&gt;
 ./bootstrap &amp;amp;&amp;amp; \&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --disable-gtk \&lt;br /&gt;
      --enable-nls --enable-sdl \&lt;br /&gt;
      --enable-ffmpeg --enable-faad --enable-flac --enable-theora \&lt;br /&gt;
      --disable-cddax --disable-vcdx --enable-goom \&lt;br /&gt;
      --enable-twolame --enable-dvdread \&lt;br /&gt;
      --enable-mkv --enable-caca --enable-live555\&lt;br /&gt;
      --enable-debug&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See `./configure --help&#039; for more information.&lt;br /&gt;
&lt;br /&gt;
==Actually Compiling the VLC source==&lt;br /&gt;
&lt;br /&gt;
Once configured, to build VLC, just run `make&#039;.&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can either run VLC directly from the source tree or you can build self-contained VLC packages with the following &#039;make&#039; rules:&lt;br /&gt;
&lt;br /&gt;
 make package-win32-base&lt;br /&gt;
will create a subdirectory named vlc-x.x.x with all the binaries &#039;stripped&#039; (ie. without any debugging symbols).&lt;br /&gt;
&lt;br /&gt;
 make package-win32-zip&lt;br /&gt;
Same as above but will package the directory in a zip file.&lt;br /&gt;
&lt;br /&gt;
 make package-win32&lt;br /&gt;
Same as above but will also create an auto-installer package. You will need to have NSIS installed in its default location for this to work.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Well done, now you&#039;re ready to use VLC!&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>EnlightenedTeamster</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Streaming_to_ActiveX_for_Windows_Media_Player&amp;diff=7666</id>
		<title>Streaming to ActiveX for Windows Media Player</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Streaming_to_ActiveX_for_Windows_Media_Player&amp;diff=7666"/>
		<updated>2007-02-23T19:35:25Z</updated>

		<summary type="html">&lt;p&gt;EnlightenedTeamster: copyedit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Use case==&lt;br /&gt;
&lt;br /&gt;
*Stream from a webcam on computer A (running Microsoft Windows) to&lt;br /&gt;
*Computer B (running Linux) which broadcasts the stream to&lt;br /&gt;
*Computer C (running Microsoft Windows) with a web browser and [[Windows Media Player]]&lt;br /&gt;
&lt;br /&gt;
==Procedure==&lt;br /&gt;
&lt;br /&gt;
===Computer A===&lt;br /&gt;
&lt;br /&gt;
Configure your capture device as follows:&lt;br /&gt;
*Use a codec that [[Windows Media Player]] recognizes, such as:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 ! Type&lt;br /&gt;
 ! Codec&lt;br /&gt;
|-&lt;br /&gt;
| Video codec&lt;br /&gt;
| [[DIV3]] or possibly [[WMV]]&lt;br /&gt;
|-&lt;br /&gt;
| Audio codec&lt;br /&gt;
| [[mp3]]&lt;br /&gt;
|-&lt;br /&gt;
| Container&lt;br /&gt;
| [[ASF]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Use communcation settings that Windows Media Player recognizes, such as:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 ! Item&lt;br /&gt;
 ! Suggested value&lt;br /&gt;
|-&lt;br /&gt;
| Transport&lt;br /&gt;
| [[MMSH]]&lt;br /&gt;
|-&lt;br /&gt;
| Address&lt;br /&gt;
| Computer A&#039;s IP address, say 10.1.2.3&lt;br /&gt;
|-&lt;br /&gt;
| Port&lt;br /&gt;
| Any value over 8000, say 8123&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Computer B===&lt;br /&gt;
&lt;br /&gt;
*Install vlc (e.g., via [http://en.wikipedia.org/wiki/Yellow_dog_Updater%2C_Modified yum]) or build from source&lt;br /&gt;
*Invoke vlc with the command line options to stream to via a port (e.g., 8456) on computer B (with IP address 10.4.5.6)&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
vlc -vvv mmsh://10.1.2.3:8123 --sout=&#039;#standard{access=mmsh,mux=asfh,url=10.4.5.6:8456}&#039;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
*Embed the following in a web page (e.g., in /home/myaccount/public_html/bcast.htm) to be served from computer B:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;OBJECT id=&amp;quot;Player&amp;quot; width=&amp;quot;320&amp;quot; height=&amp;quot;240&amp;quot; CLASSID=&amp;quot;CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6&amp;quot; type=&amp;quot;application/x-oleobject&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PARAM NAME=&amp;quot;URL&amp;quot; VALUE=&amp;quot;mms://10.4.5.6:8456&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PARAM NAME=&amp;quot;SendPlayStateChangeEvents&amp;quot; VALUE=&amp;quot;True&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PARAM NAME=&amp;quot;AutoStart&amp;quot; VALUE=&amp;quot;True&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PARAM name=&amp;quot;uiMode&amp;quot; value=&amp;quot;full&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PARAM name=&amp;quot;PlayCount&amp;quot; value=&amp;quot;9999&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PARAM NAME=&amp;quot;stretchtofit&amp;quot; value=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/OBJECT&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Computer C===&lt;br /&gt;
&lt;br /&gt;
*Browse the web page from computer B (e.g., &amp;lt;NOWIKI&amp;gt;http://10.4.5.6/~myaccount/bcast.htm&amp;lt;/NOWIKI&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{stub}}&lt;/div&gt;</summary>
		<author><name>EnlightenedTeamster</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Documentation:Building_Pages_for_the_HTTP_Interface&amp;diff=7614</id>
		<title>Documentation:Building Pages for the HTTP Interface</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Documentation:Building_Pages_for_the_HTTP_Interface&amp;diff=7614"/>
		<updated>2007-02-16T17:17:42Z</updated>

		<summary type="html">&lt;p&gt;EnlightenedTeamster: /* The &amp;#039;&amp;#039;control&amp;#039;&amp;#039; macro */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
This appendix describes the language used for writing dynamic web pages for the HTTP interface.&lt;br /&gt;
&lt;br /&gt;
Pages must be placed in the share/http folder in either VLC&#039;s folder (Windows, Mac) or /usr/share/vlc/share/http or /usr/local/share/vlc/share/http (or wherever vlc&#039;s shared files are installed).&lt;br /&gt;
&lt;br /&gt;
Some files are handled a bit specially:&lt;br /&gt;
*Files beginning with &#039;.&#039; are not exported.&lt;br /&gt;
*A &#039;.access&#039; file will be opened and the http interface will expect to find at the first line a login/password (written as login:password). This login/password will be used to protect all files in this directory. Be careful that only files in this directory will be protected. (sub-directories won&#039;t be protected.)&lt;br /&gt;
* A &#039;.hosts&#039; file will be opened and the http interface will expect to find a list of network/mask pairs separated by new line, for instance 192.168.0.0/255.255.255.0. If this file is present, then the default behaviour is to deny access from hosts which don&#039;t match any of the network/mask pairs to all the files of the directory. If the file is not present, then any host has access to the files of the directory. Be careful that only files in this directory will be protected. (sub-directories won&#039;t be protected.)&lt;br /&gt;
*The file &amp;lt;dir&amp;gt;/index.html will be exported as &amp;lt;dir&amp;gt; and &amp;lt;dir&amp;gt;/ and not as index.html.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MIME type is set by looking at the file extension and cannot be specified nor modified for a specific file. Unknown extensions will have &amp;quot;application/octet-stream&amp;quot; as MIME type.&lt;br /&gt;
&lt;br /&gt;
You should avoid exporting big files. Each file is indeed first loaded into the memory before being sent to the client, so please be careful.&lt;br /&gt;
&lt;br /&gt;
==VLC macros==&lt;br /&gt;
&lt;br /&gt;
Each type a .html/.htm page is requested, it is parsed by VLC before being sent. The parser searches for the VLC macros, and executes or substitutes them. Moreover, URL arguments received by the GET method can be interpreted.&lt;br /&gt;
&lt;br /&gt;
A VLC macro looks like:&lt;br /&gt;
 &amp;lt;vlc id=&amp;quot;macro-name&amp;quot; param1=&amp;quot;macro-parameters1&amp;quot; param2=&amp;quot;macro-parameters2&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;quot;id&amp;quot; is the only mandatory field, param1 and param2 may or may not be present and depend on the value of &amp;quot;id&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
You should take care that you &#039;&#039;&#039;have to&#039;&#039;&#039; respect this syntax, VLC won&#039;t like invalid syntax. (It could easily leads to crashes).&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
Correct:&lt;br /&gt;
 &amp;lt;vlc id=&amp;quot;value&amp;quot; param1=&amp;quot;version&amp;quot; /&amp;gt;&lt;br /&gt;
Incorrect:&lt;br /&gt;
 &amp;lt;vlc id=&amp;quot;value&amp;quot; param1=&amp;quot;version&amp;quot; &amp;gt; (missing tag ending)&lt;br /&gt;
 &amp;lt;vlc id=value param1=&amp;quot;version&amp;quot; /&amp;gt; (missing &amp;quot;&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Valid macros are:&lt;br /&gt;
*&#039;&#039;&#039;control&#039;&#039;&#039; (1 optional parameter)&lt;br /&gt;
*&#039;&#039;&#039;include&#039;&#039;&#039; (1 parameter)&lt;br /&gt;
*&#039;&#039;&#039;get&#039;&#039;&#039; (2 parameters)&lt;br /&gt;
*&#039;&#039;&#039;set&#039;&#039;&#039; (2 parameters)&lt;br /&gt;
*&#039;&#039;&#039;rpn&#039;&#039;&#039; (1 parameter)&lt;br /&gt;
*&#039;&#039;&#039;if&#039;&#039;&#039; (1 optional parameter)&lt;br /&gt;
*&#039;&#039;&#039;else&#039;&#039;&#039; (no parameter)&lt;br /&gt;
*&#039;&#039;&#039;end&#039;&#039;&#039; (no parameter)&lt;br /&gt;
*&#039;&#039;&#039;value&#039;&#039;&#039; (1 optional parameter)&lt;br /&gt;
*&#039;&#039;&#039;foreach&#039;&#039;&#039; (2 parameters)&lt;br /&gt;
&lt;br /&gt;
For powerful macros, you may use these tools:&lt;br /&gt;
&lt;br /&gt;
*RPN Evaluator (see part 2)&lt;br /&gt;
*Stacks: The stack is a place where you can push numbers and strings, and then pop them backs. It&#039;s used with the little RPN evaluator.&lt;br /&gt;
*Local variables: You can dynamically create new variables and changes their values. Some local variables are predefined:&lt;br /&gt;
**&#039;&#039;&#039;url_value&#039;&#039;&#039;: parameter of the URL&lt;br /&gt;
**&#039;&#039;&#039;url_param&#039;&#039;&#039;: 1 if url_value isn&#039;t empty else 0&lt;br /&gt;
**&#039;&#039;&#039;version&#039;&#039;&#039;: the VLC version&lt;br /&gt;
**&#039;&#039;&#039;copyright&#039;&#039;&#039;: the VLC copyright&lt;br /&gt;
**&#039;&#039;&#039;vlc_compile_time, vlc_compile_by, vlc_compile_host, vlc_compile_domain, vlc_compiler, vlc_changeset&#039;&#039;&#039;: information on the VLC build&lt;br /&gt;
**&#039;&#039;&#039;stream_position, stream_time, stream_length, stream_state&#039;&#039;&#039;: information on the currently playing stream&lt;br /&gt;
**&#039;&#039;&#039;volume&#039;&#039;&#039;: current volume setting&lt;br /&gt;
&lt;br /&gt;
Remark: The stacks, and local variables context is reseted before the page is executed.&lt;br /&gt;
&lt;br /&gt;
==The RPN evaluator==&lt;br /&gt;
&lt;br /&gt;
RPN means Reverse Polish Notation.&lt;br /&gt;
&lt;br /&gt;
===Introduction===&lt;br /&gt;
&lt;br /&gt;
RPN could look strange but it&#039;s a fast and easy way to write expressions. It also avoids the use of ( and ).&lt;br /&gt;
&lt;br /&gt;
Instead of writing ( 1 + 2 ) * 5 you just use 1 2 + 5 *.&lt;br /&gt;
&lt;br /&gt;
The idea beyond it is: if we have a number or a string (using &#039;&#039;), push it on the stack. If it is an operator (like +),  pop the arguments from the stack, execute the operators and then push the result onto the stack. The result of the RPN sequence is the value on the top of the stack.&lt;br /&gt;
&lt;br /&gt;
 stack:      Word processed&lt;br /&gt;
 empty      1                   1 is pushed on the stack&lt;br /&gt;
 1          2                   2 same things&lt;br /&gt;
 1 | 2      +                   +: remove 1 and 2 and write 3 on the stack&lt;br /&gt;
 3          5                   5 is pushed on the stack&lt;br /&gt;
 3 | 5      *                   *: remove 3 and 5 and write 15&lt;br /&gt;
 15                             &amp;amp;lt;- result&lt;br /&gt;
&lt;br /&gt;
===Operators===&lt;br /&gt;
&lt;br /&gt;
Notation: ST(1) means the first stack element, ST(2) the second one ... and op the operator.&lt;br /&gt;
&lt;br /&gt;
You have access to :&lt;br /&gt;
*Standard arithmetics operators: &#039;&#039;&#039;+, -, *, /, %&#039;&#039;&#039; these ones push the result of ST(1) op ST(2) to the stack&lt;br /&gt;
*Binary operators: &#039;&#039;&#039;!&#039;&#039;&#039; (push !ST(1)); &#039;&#039;&#039;^, &amp;amp;, |&#039;&#039;&#039;: push the result ST(1) op ST(2)&lt;br /&gt;
*test: &#039;&#039;&#039;=, &amp;lt;, &amp;lt;=, &amp;gt;, &amp;gt;=&#039;&#039;&#039;: execute ST(1) op ST(2) and push -1 if true else 0&lt;br /&gt;
*string functions:&lt;br /&gt;
**&#039;&#039;&#039;strcat&#039;&#039;&#039;: pushes the result of &#039;ST(1)ST(2)&lt;br /&gt;
**&#039;&#039;&#039;strcmp&#039;&#039;&#039;: compares ST(1) and ST(2) (0 if equal)&lt;br /&gt;
**&#039;&#039;&#039;strncmp&#039;&#039;&#039;: compares the first ST(1) characters of ST(2) and ST(3) (0 if equal)&lt;br /&gt;
**&#039;&#039;&#039;strsub&#039;&#039;&#039;: extracts characters ST(1) to ST(2) of streaing ST(3)&lt;br /&gt;
**&#039;&#039;&#039;strlen&#039;&#039;&#039;: pushes the length of ST(1)&lt;br /&gt;
**&#039;&#039;&#039;str_replace&#039;&#039;&#039;: replaces string ST(2) with ST(1) in ST(3)&lt;br /&gt;
**&#039;&#039;&#039;url_encode&#039;&#039;&#039;: encodes non-alphanumeric characters of ST(1) as %XX so that they can be safely passed as GET or POST variables&lt;br /&gt;
**&#039;&#039;&#039;url_extract&#039;&#039;&#039;: performs the reverse operation of url_encode&lt;br /&gt;
**&#039;&#039;&#039;addslashes&#039;&#039;&#039;: protects single quotes (&#039;) and double quotes (&amp;quot;) of ST(1) with backslashes (\) so that they can be safely passed to a VLC playlist function&lt;br /&gt;
**&#039;&#039;&#039;stripslashes&#039;&#039;&#039;: performs the reverse operation of addslashes&lt;br /&gt;
**&#039;&#039;&#039;htmlspecialchars&#039;&#039;&#039;: encodes &amp;amp;, &#039;, &amp;quot;, &amp;lt;, and &amp;gt; of ST(1) as their &amp;amp;stuff; HTML counterpart, so that they don&#039;t interact with HTML tags&lt;br /&gt;
**&#039;&#039;&#039;realpath&#039;&#039;&#039;: parses ST(1) as a filename path, and pushes an absolute path to that file, removing ~ and ../&lt;br /&gt;
*stack manipulation:&lt;br /&gt;
**&#039;&#039;&#039;dup&#039;&#039;&#039;: pops ST(1) and pushes the same string twice&lt;br /&gt;
**&#039;&#039;&#039;drop&#039;&#039;&#039;: pops ST(1) and drops it&lt;br /&gt;
**&#039;&#039;&#039;swap&#039;&#039;&#039;: exchanges ST(1) and ST(2)&lt;br /&gt;
**&#039;&#039;&#039;flush&#039;&#039;&#039;: empties the stack&lt;br /&gt;
*variables manipulation:&lt;br /&gt;
**&#039;&#039;&#039;store&#039;&#039;&#039;: stores ST(2) in a local variable named ST(1)&lt;br /&gt;
**&#039;&#039;&#039;value&#039;&#039;&#039;: pushes the value of the local variable named ST(1)&lt;br /&gt;
*player control:&lt;br /&gt;
**&#039;&#039;&#039;vlc_play&#039;&#039;&#039;: plays the playlist item whose ID is ST(1), and pushes the return value of the play function (0 in case of success); see playlist functions below&lt;br /&gt;
**&#039;&#039;&#039;vlc_stop&#039;&#039;&#039;: stops the playlist&lt;br /&gt;
**&#039;&#039;&#039;vlc_pause&#039;&#039;&#039;: pauses the playlist&lt;br /&gt;
**&#039;&#039;&#039;vlc_next&#039;&#039;&#039;: plays the next playlist item&lt;br /&gt;
**&#039;&#039;&#039;vlc_previous&#039;&#039;&#039;: plays the previous playlist item&lt;br /&gt;
**&#039;&#039;&#039;vlc_seek&#039;&#039;&#039;: seeks the current input to a location defined in ST(1), for instance+3m (minutes), -20s, 45%, 1:12, 1h12m25s&lt;br /&gt;
**&#039;&#039;&#039;vlc_var_type&#039;&#039;&#039;: pushes the type of the variable ST(2) of object ST(1); the type is one of these strings &#039;&#039;&#039;VLC_VAR_BOOL, VLC_VAR_INTEGER, VLC_VAR_HOTKEY, VLC_VAR_STRING, VLC_VAR_MODULE, VLC_VAR_FILE, VLC_VAR_DIRECTORY, VLC_VAR_VARIABLE, VLC_VAR_FLOAT, UNDEFINED&#039;&#039;&#039; (no such variable) or &#039;&#039;&#039;INVALID&#039;&#039;&#039; (no input stream); the object is one of &#039;&#039;&#039;VLC_OBJECT_ROOT, VLC_OBJECT_VLC, VLC_OBJECT_INTF, VLC_OBJECT_PLAYLIST, VLC_OBJECT_INPUT, VLC_OBJECT_VOUT, VLC_OBJECT_AOUT&#039;&#039;&#039; or &#039;&#039;&#039;VLC_OBJECT_SOUT&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;vlc_var_set&#039;&#039;&#039;: sets variable ST(2) of object ST(1) to ST(3)&lt;br /&gt;
**&#039;&#039;&#039;vlc_var_get&#039;&#039;&#039;: pushes the value of the variable ST(2) of object ST(1)&lt;br /&gt;
**&#039;&#039;&#039;vlc_object_exists&#039;&#039;&#039;: checks if object ST(1) exists&lt;br /&gt;
**&#039;&#039;&#039;vlc_config_type&#039;&#039;&#039;: pushes the type of the configuration variable ST(1); see &#039;&#039;&#039;vlc_var_type&#039;&#039;&#039; for a list of types&lt;br /&gt;
**&#039;&#039;&#039;vlc_config_set&#039;&#039;&#039;:  sets configuration variable ST(1) to ST(2)&lt;br /&gt;
**&#039;&#039;&#039;vlc_config_get&#039;&#039;&#039;: pushes the value of the configuration variable ST(1)&lt;br /&gt;
**&#039;&#039;&#039;vlc_config_save&#039;&#039;&#039;: saves the modification made to the configuration variables of module ST(1) to the configuration file (ST(1) may be empty, in which case the whole configuration is saved) and pushes the return status (0 in case of success)&lt;br /&gt;
**&#039;&#039;&#039;vlc_config_reset&#039;&#039;&#039;: resets the configuration file to the default value (use with caution)&lt;br /&gt;
*playlist functions:&lt;br /&gt;
**&#039;&#039;&#039;playlist_add&#039;&#039;&#039;: adds MRL ST(1) to the playlist, with name ST(2) and returns the playlist ID associated to this item; special characters must be escaped with addslashes first; it is very convenient to call &#039;toto.mpg&#039; playlist_add vlc_play&lt;br /&gt;
**&#039;&#039;&#039;playlist_empty&#039;&#039;&#039;: clears the playlist of all items&lt;br /&gt;
**&#039;&#039;&#039;playlist_move&#039;&#039;&#039;: moves playlist item at position ST(2) to position ST(1)&lt;br /&gt;
**&#039;&#039;&#039;playlist_delete&#039;&#039;&#039;: deletes playlist item ID ST(1)&lt;br /&gt;
&lt;br /&gt;
==The macros==&lt;br /&gt;
&lt;br /&gt;
===The &#039;&#039;control&#039;&#039; macro===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The use of the control macro is now deprecated in favour of the RPN functions above. The documentation is provided here for the maintainance of HTML pages still using this old API. The main problem with this API is that there is no way to retrieve the playlist ID of the last added item.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When asking for a page, you can pass arguments to it through the url. (e.g. using a &amp;lt;form&amp;gt;). Ex: http://host:port/page.html?var=value&amp;amp;var2=value2&amp;amp;... The &amp;quot;control&amp;quot; macro tells a page to parse these arguments and to execute the ones that are allowed. param1 of this macro says which commands are allowed. If empty, all commands will be permitted.&lt;br /&gt;
&lt;br /&gt;
Some commands require an argument that must be passed in the URL too.&lt;br /&gt;
*URL commands&lt;br /&gt;
**Name, Argument, Description&lt;br /&gt;
**&#039;&#039;&#039;play&#039;&#039;&#039;, item (integer), Play the specified playlist item&lt;br /&gt;
**&#039;&#039;&#039;stop&#039;&#039;&#039;, ,Stop&lt;br /&gt;
**&#039;&#039;&#039;pause&#039;&#039;&#039;, Pause&lt;br /&gt;
**&#039;&#039;&#039;next&#039;&#039;&#039;, , Go to next playlist item&lt;br /&gt;
**&#039;&#039;&#039;previous&#039;&#039;&#039;, , Go to previous playlist item&lt;br /&gt;
**&#039;&#039;&#039;add&#039;&#039;&#039;, mrl (string), Add a [[MRL]] to the playlist&lt;br /&gt;
**&#039;&#039;&#039;delete&#039;&#039;&#039;, item (integer), Delete the specified playlist item or list of playlist items&lt;br /&gt;
**&#039;&#039;&#039;empty&#039;&#039;&#039;, , Empty the playlist&lt;br /&gt;
**&#039;&#039;&#039;close&#039;&#039;&#039;, id (hexa), Close a specific connection&lt;br /&gt;
**&#039;&#039;&#039;shutdown&#039;&#039;&#039;, , Quit VLC&lt;br /&gt;
&lt;br /&gt;
For example, you can restrict execution of the &#039;&#039;&#039;shutdown&#039;&#039;&#039; command to protected page (through a &#039;&#039;.access&#039;&#039; file), using the control macro in all unprotected pages.&lt;br /&gt;
&lt;br /&gt;
===The &#039;&#039;include&#039;&#039; macro===&lt;br /&gt;
&lt;br /&gt;
This macro is replaced by the contents of the file param1. If the file contains vlc macros, they are correctly parsed and replaced.&lt;br /&gt;
&lt;br /&gt;
===The &#039;&#039;get&#039;&#039; macro===&lt;br /&gt;
&lt;br /&gt;
This macro will be replaced by the value of the configuration variable which name is stored in param1 and which type is given by param2.&lt;br /&gt;
&lt;br /&gt;
param1 must be the name of an existing configuration variable. param2 must be the right type of the variable. It can be one of &#039;&#039;int&#039;&#039;, &#039;&#039;float&#039;&#039;, or &#039;&#039;string&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 &amp;lt;vlc id=&amp;quot;get&amp;quot; param1=&amp;quot;sout&amp;quot; param2=&amp;quot;string&amp;quot; /&amp;gt; will be replaced in the output page by the value of sout.&lt;br /&gt;
&lt;br /&gt;
===The &#039;&#039;set&#039;&#039; macro===&lt;br /&gt;
&lt;br /&gt;
This macro allows to set the value of a configuration variable. The name is given by param1 and the type by param2 (like for get). The value is retrieved from the url using the name given in param1.&lt;br /&gt;
&lt;br /&gt;
For example, if player.html contains&lt;br /&gt;
 &amp;lt;vlc id=&amp;quot;set&amp;quot; param1=&amp;quot;sout&amp;quot; param2=&amp;quot;string&amp;quot; /&amp;gt;&lt;br /&gt;
and if you browse at &amp;lt;emphasis&amp;gt; http://host:ip/player.html?sout=sout_value&amp;lt;/emphasis&amp;gt;, the sout variable will be set to &amp;quot;sout_value&amp;quot;. If the URL doesn&#039;t contain sout, nothing will be done.&lt;br /&gt;
&lt;br /&gt;
===The &#039;&#039;rpn&#039;&#039; macro===&lt;br /&gt;
&lt;br /&gt;
This macro allows you to interpret RPN commands. (See II).&lt;br /&gt;
&lt;br /&gt;
===The &#039;&#039;if,else,end&#039;&#039; macro===&lt;br /&gt;
&lt;br /&gt;
This macro allows you to control the parsing of the HTML page.&lt;br /&gt;
&lt;br /&gt;
If param1 isn&#039;t empty, it is first executed with the RPN evaluator. If the first element from the stack is not 0, the test value is true, else false..&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;vlc id=&amp;quot;if&amp;quot; param1=&amp;quot;1 2 =&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;amp;lt;!-- Never reached --&amp;gt;&lt;br /&gt;
 &amp;lt;vlc id=&amp;quot;else&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;amp;lt;p&amp;gt; Test succeed: 1 isn&#039;t equal to 2 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;lt;vlc id=&amp;quot;end&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also just use &amp;quot;if&amp;quot; and &amp;quot;end&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===The &#039;&#039;value&#039;&#039; macro===&lt;br /&gt;
&lt;br /&gt;
If param1 isn&#039;t empty, it is first executed with the RPN evaluator. The macro is replaced with the value of the first element of the stack.&lt;br /&gt;
&lt;br /&gt;
Note: If the element is the name of a local variable, its value will be displayed instead of its name.&lt;br /&gt;
&lt;br /&gt;
===The &#039;&#039;foreach,end&#039;&#039; macro===&lt;br /&gt;
&lt;br /&gt;
param1 is the name of the variable that will be used for the loop. param2 is the name of the set to be built:&lt;br /&gt;
*integer: take the first element from the stack to construct a set of integer. The stack element should be a string like: &#039;&#039;first:last[:step][,first2:last2[:step2][,...]&#039;&#039; (Ex:1:5:2,6:8:1 will be expanded into 1,3,5,6,7,8)&lt;br /&gt;
*directory: take the first element of the stack as the base directory and construct a set of filename and directly in it. Each element has the following fields:&lt;br /&gt;
**name: file/directory name&lt;br /&gt;
**type: &amp;quot;directory&amp;quot; or &amp;quot;file&amp;quot; or &amp;quot;unknown&amp;quot;&lt;br /&gt;
**size: size of the file&lt;br /&gt;
**date&lt;br /&gt;
*playlist: set based on the playlist with fields: current is 1 if item is currently selected, 0 else. index is the index value, that can be used by the play or delete control command. name is the&lt;br /&gt;
name of the item.&lt;br /&gt;
*&amp;quot;information&amp;quot;: Create information for the current playing stream. name is the name of the category, value is its value, info is a new set that can be parsed with a new foreach (subfields of info are name and value).&lt;br /&gt;
*input variables such as &amp;quot;program&amp;quot;, &amp;quot;title&amp;quot;, &amp;quot;chapter&amp;quot;, &amp;quot;audio-es&amp;quot;, &amp;quot;video-es&amp;quot; and &amp;quot;spu-es&amp;quot;: Create lists for the current playing stream. Every list has the following fields:&lt;br /&gt;
**name: item name (language for elementary streams, tracks, etc.) to display in places where a human-readable format is preferred&lt;br /&gt;
**id: item ID to pass to the RPN function vlc_var_set, and returned by vlc_var_get&lt;br /&gt;
**selected: 1 if the item is selected, 0 otherwise&lt;br /&gt;
*the name of a foreach variable if it&#039;s a set of set of value.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;vlc id=&amp;quot;foreach&amp;quot; param1=&amp;quot;cat&amp;quot; param2=&amp;quot;informations&amp;quot; /&amp;amp;gt;&lt;br /&gt;
     &amp;amp;lt;vlc id=&amp;quot;value&amp;quot; param1=&amp;quot;cat.name&amp;quot; /&amp;amp;gt;&lt;br /&gt;
     &amp;amp;lt;ul&amp;amp;gt;&lt;br /&gt;
         &amp;amp;lt;vlc id=&amp;quot;foreach&amp;quot; param1=&amp;quot;info&amp;quot; param2=&amp;quot;cat.info&amp;quot; /&amp;amp;gt;&lt;br /&gt;
            &amp;amp;lt;li&amp;amp;gt;&lt;br /&gt;
            &amp;amp;lt;vlc id=&amp;quot;value&amp;quot; param1=&amp;quot;info.name&amp;quot; /&amp;amp;gt; :&lt;br /&gt;
                    &amp;amp;lt;vlc id=&amp;quot;value&amp;quot; param1=&amp;quot;info.value&amp;quot; /&amp;amp;gt;&lt;br /&gt;
            &amp;amp;lt;/li&amp;amp;gt;&lt;br /&gt;
        &amp;amp;lt;vlc id=&amp;quot;end&amp;quot; /&amp;amp;gt;&lt;br /&gt;
    &amp;amp;lt;/ul&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;vlc id=&amp;quot;end&amp;quot; /&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more details, have a look at the share/http directory of the VLC source tree...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Documentation}}&lt;/div&gt;</summary>
		<author><name>EnlightenedTeamster</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Documentation:Advanced_Use_of_VLC&amp;diff=7613</id>
		<title>Documentation:Advanced Use of VLC</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Documentation:Advanced_Use_of_VLC&amp;diff=7613"/>
		<updated>2007-02-16T17:16:21Z</updated>

		<summary type="html">&lt;p&gt;EnlightenedTeamster: wikify MRL&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Use the command line==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TODO: completely outdated&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
All standard operations of VLC should be available from the GUI. However, some complex operations can only be done from the command line and there are situations in which you don&#039;t need or want a GUI. Here is the complete description of VLC&#039;s command line and how to use it.&lt;br /&gt;
&lt;br /&gt;
You need to be quite comfortable with command line usage to use this.&lt;br /&gt;
&lt;br /&gt;
 Note: Windows users have to use the &#039;&#039;--option-name=&amp;quot;value&amp;quot;&#039;&#039; syntax instead of the &#039;&#039;--option-name value&#039;&#039; syntax.&lt;br /&gt;
&lt;br /&gt;
===Getting help===&lt;br /&gt;
&lt;br /&gt;
VLC uses a modular structure. The core mainly manages communication between modules. All the multimedia processing is done by modules. There are input modules, demultiplexers, decoders, video output modules, ...&lt;br /&gt;
&lt;br /&gt;
This chapter will only describe the &amp;quot;general&amp;quot; options, i.e. the core options. Each module adds new options. For example, the HTTP input module will add options for caching, proxy, authentication, ...&lt;br /&gt;
&lt;br /&gt;
By using &#039;&#039;&#039;vlc --help&#039;&#039;&#039;, you will get the basic core options. &#039;&#039;&#039;vlc --longhelp&#039;&#039;&#039; will give all the basic options (core + modules). Adding &#039;&#039;&#039;--advanced&#039;&#039;&#039; will give the &amp;quot;advanced options&amp;quot; (for advanced users). So &#039;&#039;&#039;vlc --longhelp --advanced&#039;&#039;&#039; will give you all options. You can also append &#039;&#039;&#039;--help-verbose&#039;&#039;&#039; if you want more detailed help.&lt;br /&gt;
&lt;br /&gt;
Also, you might want to get debug informations. To do this, use &#039;&#039;&#039;-v&#039;&#039;&#039; or &#039;&#039;&#039;-vv&#039;&#039;&#039; (this will show lower severity messages). If your console supports it, you can add &#039;&#039;&#039;--color to get messages in color.&lt;br /&gt;
&lt;br /&gt;
===Opening streams===&lt;br /&gt;
&lt;br /&gt;
The following commands start VLC and start reading the given element(s)&lt;br /&gt;
&lt;br /&gt;
====Opening a file====&lt;br /&gt;
&lt;br /&gt;
Start VLC with:&lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc my_file&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
VLC should be able to recognize the file type. If it does not, you can force demultiplexer and decoder (see below).&lt;br /&gt;
&lt;br /&gt;
A list of all video and audio codecs supported by VLC is available on the [http://www.videolan.org/vlc/features.html VLC features list].&lt;br /&gt;
&lt;br /&gt;
====Opening a DVD or VCD, or an audio CD====&lt;br /&gt;
&lt;br /&gt;
Start VLC with:&lt;br /&gt;
&lt;br /&gt;
For a DVD with menus:&lt;br /&gt;
 % &#039;&#039;&#039;vlc dvd://[device][@raw_device][@[title][:[chapter][:angle]]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In most cases, &#039;&#039;&#039;vlc dvd://&#039;&#039;&#039; or &#039;&#039;&#039;vlc dvd://[device]&#039;&#039;&#039; will do. [device] is for example &#039;&#039;&#039;/dev/dvd&#039;&#039;&#039; on GNU/Linux or &#039;&#039;&#039;D:&#039;&#039;&#039; on Windows (complete path to your DVD drive).&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
(DVD without menus):&lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc dvdsimple://[device][@raw_device][@[title][:[chapter][:angle]]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
(VCD):&lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc vcd://[device][@{E|P|E|T|S}[number]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
(Audio CD):&lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc cdda://[device][@[track]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Receiving a network stream====&lt;br /&gt;
&lt;br /&gt;
To receive an unicast UDP stream (sent by VLS or VLC&#039;s stream output), start VLC with:&lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc  udp:[@:server_port]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you use the default port (1234), &#039;&#039;&#039;vlc udp:&#039;&#039;&#039; will do. For more information, look at the Streaming Howto.&lt;br /&gt;
&lt;br /&gt;
To receive an multicast UDP stream (sent by VLS or VLC&#039;s stream output), start VLC with:&lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc udp:@multicast_address[:server_port]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To receive a SSM (source specific multicast) stream, you can use:&lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc udp:server_address@multicast_address[:server_port]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This only works on OSs that support SSM (Windows XP and recent Linux kernels).&lt;br /&gt;
&lt;br /&gt;
To receive a HTTP stream, start VLC with:&lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc http://www.example.org/your_file.mpg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To receive a RTSP stream, start VLC with:&amp;lt;/para&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc rtsp://www.example.org/your_stream&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Modules selection===&lt;br /&gt;
&lt;br /&gt;
VLC always try to select the most appropriate interface, input and output modules, among the ones available on the system, according to the stream it is given to read. However, you may wish to force the use of a specific module with the following options.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--intf  &amp;lt;module&amp;gt;&#039;&#039;&#039; allows you to select the interface module.&lt;br /&gt;
*&#039;&#039;&#039;--extraintf  &amp;lt;module&amp;gt;&#039;&#039;&#039; allows you to select extra interface modules that will be launched in addition to the main one. This is mainly useful for special &#039;&#039;control&#039;&#039; interfaces, like HTTP, RC (Remote Control), ... (see below)&lt;br /&gt;
*&#039;&#039;&#039;--aout  &amp;lt;module&amp;gt;&#039;&#039;&#039; allows you to select the audio output module.&lt;br /&gt;
*&#039;&#039;&#039;--vout  &amp;lt;module&amp;gt;&#039;&#039;&#039; allows you to select the video output module.&lt;br /&gt;
*&#039;&#039;&#039;--memcpy  &amp;lt;module&amp;gt;&#039;&#039;&#039; allows you to choose a memory copy module. You should probably never touch that.&lt;br /&gt;
&lt;br /&gt;
You can get a listing of the available modules by using &#039;&#039;&#039;vlc -l&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Stream Output===&lt;br /&gt;
&lt;br /&gt;
The Stream output system allows vlc to become a streaming server.&lt;br /&gt;
&lt;br /&gt;
For more details on the stream output system, please have a look at the [[Documentation:Streaming HowTo|Streaming HowTo]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Other Options===&lt;br /&gt;
&lt;br /&gt;
====Audio options====&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--noaudio&#039;&#039;&#039; disables audio output.&lt;br /&gt;
*&#039;&#039;&#039;--mono&#039;&#039;&#039; forces VLC to treat the stream in mono audio.&lt;br /&gt;
*&#039;&#039;&#039;--volume &amp;lt;integer&amp;gt;&#039;&#039;&#039; sets the level of audio output (between 0 and 1024).&lt;br /&gt;
*&#039;&#039;&#039;--aout-rate &amp;lt;integer&amp;gt;&#039;&#039;&#039; sets the audio output frequency (Hz). By default, VLC will try to autodetect this.&lt;br /&gt;
*&#039;&#039;&#039;--desync &amp;lt;integer&amp;gt;&#039;&#039;&#039; compensates desynchronization of audio (ms). (If audio and video streams are not synchronized, use this setting to delay the audio stream)&lt;br /&gt;
*&#039;&#039;&#039;--audio-filter &amp;lt;string&amp;gt;&#039;&#039;&#039; adds audio filters to the processing chain. Available filters are visual (visualizer with spectrum analyzer and oscilloscope), headphone (virtual headphone  patialization) and normalizer (volume normalizer)&lt;br /&gt;
&lt;br /&gt;
====Video options====&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--novideo&#039;&#039;&#039; disables video output.&lt;br /&gt;
*&#039;&#039;&#039;--greyscale&#039;&#039;&#039; turns video output into grayscale mode.&lt;br /&gt;
*&#039;&#039;&#039;--fullscreen&#039;&#039;&#039; ( or &#039;&#039;&#039;-f&#039;&#039;&#039;) sets fullscreen video.&lt;br /&gt;
*&#039;&#039;&#039;--nooverlay&#039;&#039;&#039; disables hardware acceleration for the video output.&lt;br /&gt;
*&#039;&#039;&#039;--width, --height &amp;lt;integer&amp;gt;&#039;&#039;&#039; sets the video window dimensions. By default, the video window size will be adjusted to match the video dimensions.&lt;br /&gt;
*&#039;&#039;&#039;--zoom &amp;lt;float&amp;gt;&#039;&#039;&#039; adds a zoom factor.&lt;br /&gt;
*&#039;&#039;&#039;--aspect-ratio &amp;lt;mode&amp;gt;&#039;&#039;&#039; forces source aspect ratio. Modes are 4x3, 16x9, ...&lt;br /&gt;
*&#039;&#039;&#039;--spumargin  &amp;lt;integer&amp;gt;&#039;&#039;&#039; forces SPU subtitles postion.&lt;br /&gt;
*&#039;&#039;&#039;--filter &amp;lt;string&amp;gt;&#039;&#039;&#039; adds video filters to the processing chain. You can add several filters, separated by commas&lt;br /&gt;
*&#039;&#039;&#039;--sub-filter &amp;lt;string&amp;gt;&#039;&#039;&#039; adds video subpictures filter to the processing chain.&lt;br /&gt;
&lt;br /&gt;
====Playlist options====&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--random&#039;&#039;&#039; plays files randomly forever.&lt;br /&gt;
*&#039;&#039;&#039;--loop&#039;&#039;&#039; loops playlist on end.&lt;br /&gt;
*&#039;&#039;&#039;--repeat&#039;&#039;&#039; repeats current item until another item is forced&lt;br /&gt;
*&#039;&#039;&#039;--play-and-stop&#039;&#039;&#039; stops the playlist after each played item.&lt;br /&gt;
&lt;br /&gt;
====Network options====&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--server-port &amp;lt;integer&amp;gt;&#039;&#039;&#039; sets server port.&lt;br /&gt;
*&#039;&#039;&#039;--iface  &amp;lt;string&amp;gt;&#039;&#039;&#039; specifies the network interface to use.&lt;br /&gt;
*&#039;&#039;&#039;--iface-addr  &amp;lt;string&amp;gt;&#039;&#039;&#039; specifies your network interface IP address.&lt;br /&gt;
*&#039;&#039;&#039;--mtu  &amp;lt;integer&amp;gt;&#039;&#039;&#039; specifies the MTU of the network interface.&lt;br /&gt;
*&#039;&#039;&#039;--ipv6&#039;&#039;&#039; forces IPv6.&lt;br /&gt;
*&#039;&#039;&#039;--ipv4&#039;&#039;&#039; forces IPv4.&lt;br /&gt;
&lt;br /&gt;
====CPU options====&lt;br /&gt;
&lt;br /&gt;
You should probably not touch these options unless you know what you are doing.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--nommx&#039;&#039;&#039; disables the use of MMX CPU extensions.&lt;br /&gt;
*&#039;&#039;&#039;--no3dn&#039;&#039;&#039; disables the use of 3D Now! CPU extensions.&lt;br /&gt;
*&#039;&#039;&#039;--nommxext&#039;&#039;&#039; disables the use of MMX Ext CPU extensions.&lt;br /&gt;
*&#039;&#039;&#039;--nosse&#039;&#039;&#039; disables the use of SSE CPU extensions.&lt;br /&gt;
*&#039;&#039;&#039;--noaltivec&#039;&#039;&#039; disables the use of Altivec CPU extensions.&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous options====&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--quiet&#039;&#039;&#039;  deactivates all console messages.&lt;br /&gt;
*&#039;&#039;&#039;--color&#039;&#039;&#039; displays color messages.&lt;br /&gt;
*&#039;&#039;&#039;--search-path  &amp;lt;string&amp;gt;&#039;&#039;&#039; specifies interface default search path.&lt;br /&gt;
*&#039;&#039;&#039;--plugin-path  &amp;lt;string&amp;gt;&#039;&#039;&#039; specifies plugin search path.&lt;br /&gt;
*&#039;&#039;&#039;--no-plugins-cache&#039;&#039;&#039; disables the plugin cache (plugins cache speeds up startup)&lt;br /&gt;
*&#039;&#039;&#039;--dvd  &amp;lt;string&amp;gt;&#039;&#039;&#039; specifies the default DVD device.&lt;br /&gt;
*&#039;&#039;&#039;--vcd  &amp;lt;string&amp;gt;&#039;&#039;&#039; specifies the default VCD device.&lt;br /&gt;
*&#039;&#039;&#039;--program  &amp;lt;integer&amp;gt;&#039;&#039;&#039; specifies program (SID) (for streams with several programs, like satellite ones).&lt;br /&gt;
*&#039;&#039;&#039;--audio-type  &amp;lt;integer&amp;gt;&#039;&#039;&#039; specifies the default audio type to use with dvds.&lt;br /&gt;
*&#039;&#039;&#039;--audio-channel  &amp;lt;integer&amp;gt;&#039;&#039;&#039; specifies the default audio channel to use with dvds.&lt;br /&gt;
*&#039;&#039;&#039;--spu-channel  &amp;lt;integer&amp;gt;&#039;&#039;&#039; specifies the default subtitle channel to use with dvds.&lt;br /&gt;
*&#039;&#039;&#039;--version&#039;&#039;&#039; gives you information about the current VLC version.&lt;br /&gt;
*&#039;&#039;&#039;--module  &amp;lt;module&amp;gt; &#039;&#039;&#039; displays help about specified module. (Shortcut: &#039;&#039;&#039;-p&#039;&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
===Item-specific options===&lt;br /&gt;
&lt;br /&gt;
There are many options that are related to items (like &#039;&#039;&#039;--novideo&#039;&#039;&#039;, &#039;&#039;&#039;--codec&#039;&#039;&#039;, &#039;&#039;&#039;--fullscreen&#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
For all of these, you have the possibility to make them item-specific, using &amp;quot;:&amp;quot; instead of &amp;quot;--&amp;quot; and putting the option just after the concerned item.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc file1.mpg :fullscreen file2.mpg&#039;&#039;&#039;&lt;br /&gt;
will play file1.mpg in fullscreen mode and file2.mpg in the default mode (which is generally no fullscreen), whereas&lt;br /&gt;
 % &#039;&#039;&#039;vlc --fullscreen file1.mpg file2.mpg&#039;&#039;&#039;&lt;br /&gt;
will play both files in fullscreen mode&lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc --fullscreen file1.mpg :sub-file=file1.srt :no-fullscreen file2.mpg :filter=distort&#039;&#039;&#039;&lt;br /&gt;
will play file1.mpg in windowed (no-fullscreen) mode with the subtitles file file1.srt and will play file2.mpg with video filter distort enabled in fullscreen mode (item-specific options override global options)&lt;br /&gt;
&lt;br /&gt;
==Advanced use of filters==&lt;br /&gt;
&lt;br /&gt;
===Filters===&lt;br /&gt;
&lt;br /&gt;
These are the old style VLC filters. They only apply to on screen display and thus cannot be streamed.&lt;br /&gt;
&lt;br /&gt;
====Deinterlacing video filter====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;deinterlace&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--deinterlace-mode {discard,blend,mean,bob,linear}&#039;&#039;&#039; choose a deinterlacing mode.&lt;br /&gt;
&lt;br /&gt;
====Invert video filter====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;invert&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Image properties filter====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;adjust&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--contrast &amp;lt;float&amp;gt;&#039;&#039;&#039; Image contrast in the 0-2 range.&lt;br /&gt;
*&#039;&#039;&#039;--brightness &amp;lt;float&amp;gt;&#039;&#039;&#039; Image brightness in the 0-2 range.&lt;br /&gt;
*&#039;&#039;&#039;--hue &amp;lt;integer&amp;gt;&#039;&#039;&#039; Image hue in the 0-360 range.&lt;br /&gt;
*&#039;&#039;&#039;--saturation &amp;lt;float&amp;gt;&#039;&#039;&#039; Image saturation in the 0-3 range.&lt;br /&gt;
*&#039;&#039;&#039;-gamma &amp;lt;float&amp;gt;&#039;&#039;&#039; Image gamma in the 0-10 range.&lt;br /&gt;
&lt;br /&gt;
====Wall video filter====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;wall&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This filter splits the output in several windows.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--wall-cols &amp;lt;integer&amp;gt;&#039;&#039;&#039; Number of columns.&lt;br /&gt;
*&#039;&#039;&#039;--wall-rows &amp;lt;integer&amp;gt;&#039;&#039;&#039; Number of rows.&lt;br /&gt;
*&#039;&#039;&#039;--wall-active &amp;lt;string&amp;gt;&#039;&#039;&#039; Select the windows you want to display. To select windows 2 and 4 you would write &#039;&#039;&#039;--wall-active 2,4&#039;&#039;&#039;. When this option isn&#039;t specified, all windows are displayed.&lt;br /&gt;
&lt;br /&gt;
====Video transformation filter====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;transform&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--transform-type {90,180,270,hflip,vflip}&#039;&#039;&#039; Select rotation angle or symmetry.&lt;br /&gt;
&lt;br /&gt;
====Distort video filter====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;distort&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Clone video filter====&lt;br /&gt;
&lt;br /&gt;
This filter clones the output window.&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;clone&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--clone-count &amp;lt;integer&amp;gt;&#039;&#039;&#039; Number of clones.&lt;br /&gt;
*&#039;&#039;&#039;--clone-vout-list &amp;lt;string&amp;gt;&#039;&#039;&#039; Comma separated string of video output modules.&lt;br /&gt;
&lt;br /&gt;
====Crop video filter====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;crop&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--crop-geometry &amp;lt;string&amp;gt;&#039;&#039;&#039; Set the geometry of the zone to crop. This is set as &amp;lt;width&amp;gt; x &amp;lt;height&amp;gt; + &amp;lt;left offset&amp;gt; + &amp;lt;top offset&amp;gt;.&lt;br /&gt;
*&#039;&#039;&#039;--autocrop&#039;&#039;&#039; Enable automatic black border cropping.&lt;br /&gt;
&lt;br /&gt;
====Motion blur filter====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;motionblur&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;blur-factor &amp;lt;integer&amp;gt;&#039;&#039;&#039; Blur factor in the 1-127 range.&lt;br /&gt;
&lt;br /&gt;
====Video pictures blending====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;blend&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Video scaling filter====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;scale&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Subpictures Filters===&lt;br /&gt;
&lt;br /&gt;
These are the new VLC filters. They can be streamed.&lt;br /&gt;
&lt;br /&gt;
====Time display sub filter====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;time&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--time-format &amp;lt;string&amp;gt;&#039;&#039;&#039; Time format string. You can use the following special characters %Y = year, %m = month, %d = day, %H = hour, %M = minute, %S = second.&lt;br /&gt;
*&#039;&#039;&#039;--time-x &amp;lt;integer&amp;gt;&#039;&#039;&#039; X offset from the left in pixels.&lt;br /&gt;
*&#039;&#039;&#039;--time-y &amp;lt;integer&amp;gt;&#039;&#039;&#039; Y offset from the top in pixels.&lt;br /&gt;
&lt;br /&gt;
====Marquee display sub filter====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;marq&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--marq-marquee &amp;lt;string&amp;gt;&#039;&#039;&#039; Marquee text to display.&lt;br /&gt;
*&#039;&#039;&#039;--marq-x &amp;lt;integer&amp;gt;&#039;&#039;&#039; X offset from the left in pixels.&lt;br /&gt;
*&#039;&#039;&#039;--marq-y &amp;lt;integer&amp;gt;&#039;&#039;&#039; Y offset from the top in pixels.&lt;br /&gt;
*&#039;&#039;&#039;--marq-timeout &amp;lt;timeout&amp;gt;&#039;&#039;&#039; Defines the time the marquee must remain displayed in milliseconds. Default value is 0 (remain forever).&lt;br /&gt;
&lt;br /&gt;
====Logo video filter====&lt;br /&gt;
&lt;br /&gt;
Module name: &#039;&#039;&#039;logo&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This filter can be used both as an old style filter or a subpictures filter.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;--logo-file &amp;lt;string&amp;gt;&#039;&#039;&#039; Full path of the PNG file to use.&lt;br /&gt;
*&#039;&#039;&#039;--logo-x &amp;lt;integer&amp;gt;&#039;&#039;&#039; X offset from the left in pixels.&lt;br /&gt;
*&#039;&#039;&#039;--logo-y &amp;lt;integer&amp;gt;&#039;&#039;&#039; Y offset from the top in pixels.&lt;br /&gt;
*&#039;&#039;&#039;--logo-transparency &amp;lt;integer&amp;gt;&#039;&#039;&#039; You can set the logo transparency value here (from 0 for full transparency to 255 for full opacity).&lt;br /&gt;
&lt;br /&gt;
Note: You can move the logo by left-clicking on it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==The HTTP interface==&lt;br /&gt;
&lt;br /&gt;
VLC ships with a little HTTP server integrated. It is used both to stream using HTTP, and for the HTTP remote control interface.&lt;br /&gt;
&lt;br /&gt;
To start VLC with the HTTP interface, use:&lt;br /&gt;
 % &#039;&#039;&#039;vlc -I http [--http-src /directory/] [--http-host host:port]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you want to have both the &amp;quot;normal&amp;quot; interface and the HTTP interface, use &#039;&#039;&#039;vlc --extraintf http&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The HTTP interface will start listening at host:port (&amp;lt;all interfaces&amp;gt;:8080 if omitted), and will reproduce the structure of /directory at http://host:port/ ( vlc_source_path/share/http if omitted ).&lt;br /&gt;
&lt;br /&gt;
Use a browser to go to http://your_host_machine:port. You should be taken to the main page.&lt;br /&gt;
&lt;br /&gt;
VLC is shipped with a set of files that should be enough for generic needs. It is also possible to customize pages. See [[Documentation:Play_HowTo/Building_Pages_for_the_HTTP_Interface]].&lt;br /&gt;
&lt;br /&gt;
Available pages are:&lt;br /&gt;
* &#039;&#039;&#039;list was obsolete&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Other control interfaces==&lt;br /&gt;
&lt;br /&gt;
VLC includes a number of so-called interfaces that are not really interfaces, but means of controlling VLC. Nevertheless, they are enabled by setting them as interface or extra interface, either in the Preferences, in General/Interface, or using &#039;&#039;&#039;-I&#039;&#039;&#039; or &#039;&#039;&#039;--extraintf&#039;&#039;&#039; on the command line.&lt;br /&gt;
&lt;br /&gt;
===Hotkeys===&lt;br /&gt;
&lt;br /&gt;
This module allows you to control VLC and playback via hotkeys. It is always enabled by default. You can use hotkeys in the video output window.&lt;br /&gt;
&lt;br /&gt;
Hotkeys can be hacked by:&lt;br /&gt;
 % &#039;&#039;&#039;vlc --key-&amp;lt;function&amp;gt; &amp;lt;code&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Code is composed by modifiers keys (Alt, Shift, Ctrl, Meta,Command) separated by a dash (-) and terminated by a key (a...z, +, =, -, &#039;,&#039;, +, &amp;amp;lt;, &amp;amp;gt;, `, /, ;, &#039;, \, [, ], *, Left, Right, Up, Down, Space, Enter, F1...F12, Home, End, Menu, Esc, Page Up, Page Down, Tab, Backspace, Mouse Wheel Up and Mouse Wheel Down). Main controls are available from hotkeys, such as : fullscreen, play-pause, faster, slower, next, prev, stop, quit, vol-up, etc. (use the &#039;&#039;&#039;--longhelp&#039;&#039;&#039; option for full list of functions).&lt;br /&gt;
For example, for binding fullscreen to Ctrl-f, run:&lt;br /&gt;
 % &#039;&#039;&#039;vlc --key-fullscreen &#039;Ctrl-f&#039; &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===RC and RTCI===&lt;br /&gt;
&lt;br /&gt;
These two interfaces allow you to control VLC from a command shell (possibly using a remote connexion or a Unix socket).&lt;br /&gt;
&lt;br /&gt;
Start VLC with &#039;&#039;&#039;-I rc&#039;&#039;&#039; or &#039;&#039;&#039;--extraintf rc&#039;&#039;&#039;. When you get the &#039;&#039;&#039;Remote control interface initialized, `h&#039; for help&#039;&#039;&#039; message, press h and Enter to get help about available commands.&lt;br /&gt;
&lt;br /&gt;
To be able to remote connect to your VLC using a TCP socket (telnet-like connexion), use &#039;&#039;&#039;--rc-host your_host:port&#039;&#039;&#039;. Then, by connecting (using telnet or netcat) to the host on the given port, you will get the command shell.&lt;br /&gt;
&lt;br /&gt;
To use a UNIX socket (local socket, this does not work for Windows), use &#039;&#039;&#039;--rc-unix /path/to/socket&#039;&#039;&#039;. Commands can then be passed using this UNIX socket.&lt;br /&gt;
&lt;br /&gt;
The RTCI interface gives you more advanced options, such as marquee control for the marquee subpicture filter (See filter section).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Ncurses===&lt;br /&gt;
&lt;br /&gt;
This is a text interface, using ncurses library.&lt;br /&gt;
&lt;br /&gt;
Start VLC with &#039;&#039;&#039;-I ncurses&#039;&#039;&#039; or &#039;&#039;&#039;--extraintf ncurses&#039;&#039;&#039;. You will then get something like that:&lt;br /&gt;
&lt;br /&gt;
http://www.videolan.org/doc/play-howto/en/images/play-howto/intf-ncurses-playlist.jpg The ncurses interface&lt;br /&gt;
&lt;br /&gt;
Press h to get the list of all available commands, with a short description.&lt;br /&gt;
&lt;br /&gt;
There is also a filebrowser available for the ncurses interface in order to add playlist items. Press &#039;B&#039; to use it.&lt;br /&gt;
&lt;br /&gt;
http://www.videolan.org/doc/play-howto/en/images/play-howto/intf-ncurses-filebrowser.jpg The ncurses filebrowser&lt;br /&gt;
&lt;br /&gt;
You can set the filebrowser starting point by launching vlc with the &#039;&#039;&#039;--browse-dir&#039;&#039;&#039; option:&lt;br /&gt;
&lt;br /&gt;
 % &#039;&#039;&#039;vlc -I ncurses --browse-dir /filebrowser/starting/point/&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Gestures===&lt;br /&gt;
&lt;br /&gt;
Gestures provide a simple mouse gestures control. TODO&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==The Mozilla plugin==&lt;br /&gt;
&lt;br /&gt;
===VLC can also be embedded in a web browser! The following browsers are supported [http://www.mozilla.org/ Mozilla], [http://www.mozilla.org/products/firefox/ Firefox] and [http://www.apple.com/macosx/features/safari Safari].&lt;br /&gt;
&lt;br /&gt;
===Install the plugin===&lt;br /&gt;
&lt;br /&gt;
====GNU/Linux Debian====&lt;br /&gt;
&lt;br /&gt;
Install the &#039;&#039;mozilla-plugin-vlc&#039;&#039; package:&lt;br /&gt;
&lt;br /&gt;
 # &#039;&#039;&#039;apt-get update&#039;&#039;&#039;&lt;br /&gt;
 # &#039;&#039;&#039;apt-get install mozilla-plugin-vlc&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Windows====&lt;br /&gt;
&lt;br /&gt;
Quit Firefox or Mozilla.&lt;br /&gt;
&lt;br /&gt;
Copy the two files in &#039;&#039;&#039;VLC_Installation_folder\mozilla&#039;&#039;&#039; (usually &#039;&#039;&#039;C:\Program Files\VideoLAN\VLC\mozilla&#039;&#039;&#039;) to your mozilla plugins directory (Usually &#039;&#039;&#039;C:\Program Files\Mozilla\plugins&#039;&#039;&#039; or &#039;&#039;&#039;C:\Program Files\Mozilla&lt;br /&gt;
Firefox\plugins&#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
Restart Firefox or Mozilla.&lt;br /&gt;
&lt;br /&gt;
====MacOS X====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The Mozilla/Safari plugin for MacOS X is only available from vlc version 0.8.5.1 and onwards.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Quit Safari browser.&lt;br /&gt;
&lt;br /&gt;
Download the Mozilla/safari plugin package from [http://www.videolan.org/vlc/download-macosx.html MacOS X download page].&lt;br /&gt;
&lt;br /&gt;
Run the installer from the dmg image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Compile the sources yourself====&lt;br /&gt;
&lt;br /&gt;
Please look at the [http://developers.videolan.org developers page] for information on how to do this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Use the plugin===&lt;br /&gt;
&lt;br /&gt;
If you open a link to a video file handled by the VLC plugin (To get the list of handled types, browse to &#039;&#039;&#039;about:plugins&#039;&#039;&#039;) or a page with an embedded video, the plugin should open and read the&lt;br /&gt;
video.&lt;br /&gt;
&lt;br /&gt;
===Build HTML pages that use the plugin (version &amp;lt; 0.8.5)===&lt;br /&gt;
&lt;br /&gt;
The following API description is only valid uptill version 0.8.5 of the mozilla plugin.&lt;br /&gt;
&lt;br /&gt;
Additionally to viewing video on all pages, you can build custom pages that will use the advanced features of the plugin, using Javascript functions to control playback or extract information from the&lt;br /&gt;
plugin.&lt;br /&gt;
&lt;br /&gt;
The vlc plugin supports the following function calls:&lt;br /&gt;
*&#039;&#039;&#039;play()&#039;&#039;&#039;: Start playing media in the plugin.&lt;br /&gt;
*&#039;&#039;&#039;pause()&#039;&#039;&#039;: Pause playback.&lt;br /&gt;
*&#039;&#039;&#039;stop()&#039;&#039;&#039;: Stop media playback.&lt;br /&gt;
*&#039;&#039;&#039;fullscreen()&#039;&#039;&#039;: Switch the video to full screen.&lt;br /&gt;
*&#039;&#039;&#039;set_volume(vol)&#039;&#039;&#039;: Set the volume. &#039;&#039;&#039;vol&#039;&#039;&#039; has to be an int in the 0-200 range.&lt;br /&gt;
*&#039;&#039;&#039;get_volume()&#039;&#039;&#039;: Get the current volume setting.&lt;br /&gt;
*&#039;&#039;&#039;mute()&#039;&#039;&#039;: Toggle volume muting.&lt;br /&gt;
*&#039;&#039;&#039;set_int_variable(var_name, value)&#039;&#039;&#039;:&lt;br /&gt;
*&#039;&#039;&#039;set_bool_variable(var_name, value)&#039;&#039;&#039;:&lt;br /&gt;
*&#039;&#039;&#039;set_str_variable(var_name, value)&#039;&#039;&#039;:&lt;br /&gt;
*&#039;&#039;&#039;get_int_variable(var_name)&#039;&#039;&#039;:&lt;br /&gt;
*&#039;&#039;&#039;get_bool_variable(var_name)&#039;&#039;&#039;:&lt;br /&gt;
*&#039;&#039;&#039;get_str_variable(var_name)&#039;&#039;&#039;:&lt;br /&gt;
*&#039;&#039;&#039;clear_playlist()&#039;&#039;&#039;: Clear the playlist.&lt;br /&gt;
*&#039;&#039;&#039;add_item(mrl)&#039;&#039;&#039;: Append an item whose location is given by the [[media resource locator]] to the playlist.&lt;br /&gt;
*&#039;&#039;&#039;next()&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;previous()&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;isplaying()&#039;&#039;&#039;: return true if the plugin is playing something.&lt;br /&gt;
*&#039;&#039;&#039;get_length()&#039;&#039;&#039;: Get the media&#039;s length in seconds.&lt;br /&gt;
*&#039;&#039;&#039;get_position()&#039;&#039;&#039;: Get the current position in the media in percent.&lt;br /&gt;
*&#039;&#039;&#039;get_time()&#039;&#039;&#039;: Get the current position in the media in seconds.&lt;br /&gt;
*&#039;&#039;&#039;seek(seconds,is_relative)&#039;&#039;&#039;: If is_relative is true, seek relatively to current time, else seek from beginning of the stream. Seek time is specified in seconds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are a few examples of HTML pages that use the&lt;br /&gt;
Mozilla plugin.&lt;br /&gt;
&lt;br /&gt;
====Example 1====&lt;br /&gt;
&lt;br /&gt;
In this example, the plugin will read an HTTP stream inside the web page. If the user goes fullscreen, he will have to press &#039;&#039;f&#039;&#039; to go back in normal view.&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;html&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;head&amp;amp;gt;&amp;amp;lt;title&amp;amp;gt;Demo of VLC mozilla plugin&amp;amp;lt;/title&amp;amp;gt;&amp;amp;lt;/head&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;body&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;h1&amp;amp;gt;Demo of VLC mozilla plugin - Example 1&amp;amp;lt;/h1&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;embed type=&amp;quot;application/x-vlc-plugin&amp;quot;&lt;br /&gt;
          name=&amp;quot;video1&amp;quot;&lt;br /&gt;
          autoplay=&amp;quot;no&amp;quot; loop=&amp;quot;yes&amp;quot; width=&amp;quot;400&amp;quot; height=&amp;quot;300&amp;quot;&lt;br /&gt;
          target=&amp;quot;http://server.example.org/video1.vob&amp;quot; /&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;br /&amp;amp;gt;&lt;br /&gt;
   &amp;amp;lt;a href=&amp;quot;javascript:;&amp;quot; onclick=&#039;document.video1.play()&#039;&amp;amp;gt;Play video1&amp;amp;lt;/a&amp;amp;gt;&lt;br /&gt;
   &amp;amp;lt;a href=&amp;quot;javascript:;&amp;quot; onclick=&#039;document.video1.pause()&#039;&amp;amp;gt;Pause video1&amp;amp;lt;/a&amp;amp;gt;&lt;br /&gt;
   &amp;amp;lt;a href=&amp;quot;javascript:;&amp;quot; onclick=&#039;document.video1.stop()&#039;&amp;amp;gt;Stop video1&amp;amp;lt;/a&amp;amp;gt;&lt;br /&gt;
   &amp;amp;lt;a href=&amp;quot;javascript:;&amp;quot; onclick=&#039;document.video1.fullscreen()&#039;&amp;amp;gt;Fullscreen&amp;amp;lt;/a&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;/body&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/html&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Example 2====&lt;br /&gt;
&lt;br /&gt;
In this example, the plugin will read a multicast UDP stream in a dedicated video output window.&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;html&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;head&amp;amp;gt;&amp;amp;lt;title&amp;amp;gt;Demo of VLC mozilla plugin&amp;amp;lt;/title&amp;amp;gt;&amp;amp;lt;/head&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;body&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;h1&amp;amp;gt;Demo of VLC mozilla plugin - Example 2&amp;amp;lt;/h1&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;embed type=&amp;quot;application/x-vlc-plugin&amp;quot;&lt;br /&gt;
          name=&amp;quot;video2&amp;quot;&lt;br /&gt;
          autoplay=&amp;quot;no&amp;quot; loop=&amp;quot;no&amp;quot; hidden=&amp;quot;yes&amp;quot;&lt;br /&gt;
          target=&amp;quot;udp:@239.255.12.42&amp;quot; /&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;br /&amp;amp;gt;&lt;br /&gt;
   &amp;amp;lt;a href=&amp;quot;javascript:;&amp;quot; onclick=&#039;document.video2.play()&#039;&amp;amp;gt;Play video2&amp;amp;lt;/a&amp;amp;gt;&lt;br /&gt;
   &amp;amp;lt;a href=&amp;quot;javascript:;&amp;quot; onclick=&#039;document.video2.stop()&#039;&amp;amp;gt;Stop video2&amp;amp;lt;/a&amp;amp;gt;&lt;br /&gt;
   &amp;amp;lt;a href=&amp;quot;javascript:;&amp;quot; onclick=&#039;document.video2.fullscreen()&#039;&amp;amp;gt;Fullscreen&amp;amp;lt;/a&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;/body&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/html&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build HTML pages that use the plugin (version &amp;gt; 0.8.5.1)===&lt;br /&gt;
&lt;br /&gt;
Additionally to viewing video on all pages, you can build custom pages that will use the advanced features of the plugin, using Javascript functions to control playback or extract information from the&lt;br /&gt;
plugin.&lt;br /&gt;
&lt;br /&gt;
The vlc plugin exports serveral objects that can be accessed for setting and getting information. When used improperly the API&#039;s will throw an exception that includes a string that explains what happened. For example when asking for vlc.input.length when there is no playlist item playing.&lt;br /&gt;
&lt;br /&gt;
The vlc plugin knows the following objects:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;audio&#039;&#039;&#039;: Access audio properties.&lt;br /&gt;
*&#039;&#039;&#039;input&#039;&#039;&#039;: Access input properties.&lt;br /&gt;
*&#039;&#039;&#039;playlist&#039;&#039;&#039;: Access playlist properties.&lt;br /&gt;
*&#039;&#039;&#039;video&#039;&#039;&#039;: Access video properties.&lt;br /&gt;
*&#039;&#039;&#039;log&#039;&#039;&#039;: Access log properties.&lt;br /&gt;
*&#039;&#039;&#039;messages&#039;&#039;&#039;: Access to log message properties.&lt;br /&gt;
*&#039;&#039;&#039;iterator&#039;&#039;&#039;: Access to log iterator properties.&lt;br /&gt;
&lt;br /&gt;
The following JavaScript code shows howto get a reference to the vlc plugin. This reference can then be used to access the objects of the vlc plugin.&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;html&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;amp;gt;VLC Mozilla plugin test page&amp;amp;lt;/title&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;body&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;embed type=&amp;quot;application/x-vlc-plugin&amp;quot; pluginspage=&amp;quot;http://www.videolan.org&amp;quot; version=&amp;quot;VideoLAN.VLCPlugin.2&amp;quot;&lt;br /&gt;
     width=&amp;quot;640&amp;quot;&lt;br /&gt;
     height=&amp;quot;480&amp;quot;&lt;br /&gt;
     id=&amp;quot;vlc&amp;quot;&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/embed&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;script language=&amp;quot;Javascript&amp;quot;&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;!--&lt;br /&gt;
 var vlc = document.getElementById(&amp;quot;vlc&amp;quot;);&lt;br /&gt;
 vlc.audio.toggleMute();&lt;br /&gt;
 !--&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/script&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/body&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/html&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Root object====&lt;br /&gt;
&lt;br /&gt;
readonly properties&lt;br /&gt;
*&#039;&#039;&#039;VersionInfo&#039;&#039;&#039;: returns version information string&lt;br /&gt;
&lt;br /&gt;
read/write properties&lt;br /&gt;
*&#039;&#039;none&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
methods&lt;br /&gt;
*&#039;&#039;&#039;vlc.versionInfo()&#039;&#039;&#039;: returns version information string&lt;br /&gt;
&lt;br /&gt;
====Audio object====&lt;br /&gt;
&lt;br /&gt;
readonly properties&lt;br /&gt;
*&#039;&#039;none&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
read/write properties&lt;br /&gt;
*&#039;&#039;&#039;vlc.audio.mute&#039;&#039;&#039;: boolean value to mute and ummute the audio&lt;br /&gt;
*&#039;&#039;&#039;vlc.audio.volume&#039;&#039;&#039;: a value between [0-200] which indicates a percentage of the volume.&lt;br /&gt;
*&#039;&#039;&#039;vlc.audio.track&#039;&#039;&#039;: (supported in vlc version &amp;gt; 0.8.6) a value between [0-65535] which indicates the audio track to play or that is playing.&lt;br /&gt;
*&#039;&#039;&#039;vlc.audio.channel&#039;&#039;&#039;: (supported in vlc version &amp;gt; 0.8.6) integer value between [1-5] that indicates which audio channel mode is used, values can be: &amp;quot;1=stereo&amp;quot;, &amp;quot;2=reverse stereo&amp;quot;, &amp;quot;3=left&amp;quot;, &amp;quot;4=right&amp;quot;, &amp;quot;5=dolby&amp;quot;. Use vlc.audio.channel to check if setting of the audio channel mode has succeeded.&lt;br /&gt;
&lt;br /&gt;
 Audio Channel:&lt;br /&gt;
 &amp;lt;SELECT readonly onChange=&#039;doAudioChannel(this.value)&#039;&amp;gt;&lt;br /&gt;
    &amp;lt;OPTION value=1&amp;gt;Stereo&amp;lt;/OPTION&amp;gt;&lt;br /&gt;
    &amp;lt;OPTION value=2&amp;gt;Reverse stereo&amp;lt;/OPTION&amp;gt;&lt;br /&gt;
    &amp;lt;OPTION value=3&amp;gt;Left&amp;lt;/OPTION&amp;gt;&lt;br /&gt;
    &amp;lt;OPTION value=4&amp;gt;Right&amp;lt;/OPTION&amp;gt;&lt;br /&gt;
    &amp;lt;OPTION value=5&amp;gt;Dolby&amp;lt;/OPTION&amp;gt;&lt;br /&gt;
 &amp;lt;/SELECT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;SCRIPT language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;!--&lt;br /&gt;
 function doAudioChannel(value)&lt;br /&gt;
 {&lt;br /&gt;
    var vlc = getVLC(&amp;quot;vlc&amp;quot;);&lt;br /&gt;
    vlc.audio.channel = parseInt(value);&lt;br /&gt;
    alert(vlc.audio.channel);&lt;br /&gt;
 };&lt;br /&gt;
 --&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
methods&lt;br /&gt;
*&#039;&#039;&#039;vlc.audio.toggleMute()&#039;&#039;&#039;: boolean toggle that mutes and unmutes the audio based upon the previous state&lt;br /&gt;
&lt;br /&gt;
====Input object====&lt;br /&gt;
&lt;br /&gt;
readonly properties&lt;br /&gt;
*&#039;&#039;&#039;vlc.input.length&#039;&#039;&#039;: length of the input file in number of milliseconds&lt;br /&gt;
*&#039;&#039;&#039;vlc.input.fps&#039;&#039;&#039;: frames per second returned as a float&lt;br /&gt;
*&#039;&#039;&#039;vlc.input.hasVout&#039;&#039;&#039;: a boolean that returns true when the video is being displayed, it returns false when video is not displayed&lt;br /&gt;
&lt;br /&gt;
read/write properties&lt;br /&gt;
*&#039;&#039;&#039;vlc.input.position&#039;&#039;&#039;: normalized position in multimedia stream item given as a float value between [0.0 - 1.0]&lt;br /&gt;
*&#039;&#039;&#039;vlc.input.time&#039;&#039;&#039;: the absolute position in time given in milliseconds, this property can be used to seek through the stream&lt;br /&gt;
 &amp;amp;lt;!-- absolute seek in stream !--&amp;amp;gt;&lt;br /&gt;
 vlc.input.time = &amp;amp;lt;absolute seek&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;!-- relative seek in stream !--&amp;amp;gt;&lt;br /&gt;
 vlc.input.time = vlc.input.time + &amp;amp;lt;relative seek&amp;amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;vlc.input.state&#039;&#039;&#039;: current state of the input chain given as enumeration (IDLE/CLOSE=0, OPENING=1, BUFFERING=2, PLAYING=3, PAUSED=4, STOPPING=5, ERROR=6)&lt;br /&gt;
*&#039;&#039;&#039;vlc.input.rate&#039;&#039;&#039;: input speed given as float (1.0 for normal speed, 0.5 for half speed, 2.0 for twice as fast, etc.)&lt;br /&gt;
&lt;br /&gt;
methods&lt;br /&gt;
*&#039;&#039;none&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Playlist object====&lt;br /&gt;
&lt;br /&gt;
readonly properties&lt;br /&gt;
*&#039;&#039;&#039;vlc.playlist.itemCount&#039;&#039;&#039;: number that returns the amount of items currently in the playlist&lt;br /&gt;
*&#039;&#039;&#039;vlc.playlist.isPlaying&#039;&#039;&#039;: a boolean that returns true if the current playlist item is playing and false when it is not playing&lt;br /&gt;
&lt;br /&gt;
read/write properties&lt;br /&gt;
*&#039;&#039;none&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
methods&lt;br /&gt;
*&#039;&#039;&#039;vlc.playlist.add(mrl)&#039;&#039;&#039;: add a playlist item as [[MRL]]. The MRL must be given as a string.&lt;br /&gt;
*&#039;&#039;&#039;vlc.playlist.add(mrl,name,options)&#039;&#039;&#039;: add a playlist item as MRL, with metaname &#039;name&#039; and options &#039;options&#039;. All input values must be given as string.&lt;br /&gt;
*&#039;&#039;&#039;vlc.playlist.play()&#039;&#039;&#039;: start playing the current playlist item&lt;br /&gt;
*&#039;&#039;&#039;vlc.playlist.togglePause()&#039;&#039;&#039;: toggle the pause state for the current playlist item&lt;br /&gt;
*&#039;&#039;&#039;vlc.playlist.stop()&#039;&#039;&#039;: stop playing the current playlist item&lt;br /&gt;
*&#039;&#039;&#039;vlc.playlist.next()&#039;&#039;&#039;: iterate to the next playlist item&lt;br /&gt;
*&#039;&#039;&#039;vlc.playlist.prev()&#039;&#039;&#039;: iterate to the previous playlist item&lt;br /&gt;
*&#039;&#039;&#039;vlc.playlist.clear()&#039;&#039;&#039;: empty the current playlist, all items will be deleted from the playlist&lt;br /&gt;
*&#039;&#039;&#039;vlc.playlist.removeItem(number)&#039;&#039;&#039;: remove the given item number (which cannot be greater then vlc.playlist.itemCount)&lt;br /&gt;
&lt;br /&gt;
====Video object====&lt;br /&gt;
&lt;br /&gt;
readonly properties&lt;br /&gt;
*&#039;&#039;&#039;vlc.video.width&#039;&#039;&#039;: returns the horizontal size of the video&lt;br /&gt;
*&#039;&#039;&#039;vlc.video.height&#039;&#039;&#039;: returns the vertical size of the video&lt;br /&gt;
&lt;br /&gt;
read/write properties&lt;br /&gt;
*&#039;&#039;&#039;vlc.video.fullscreen&#039;&#039;&#039;: when set to true the video will be displayed in fullscreen mode, when set to false the video will be shown inside the video output size. The property takes a boolean as input.&lt;br /&gt;
*&#039;&#039;&#039;vlc.video.aspectRatio&#039;&#039;&#039;: get and set the aspect ratio to use in the video screen. The property takes a string as input value. Valid values are: &amp;quot;1:1&amp;quot;, &amp;quot;4:3&amp;quot;, &amp;quot;16:9&amp;quot;, &amp;quot;16:10&amp;quot;, &amp;quot;221:100&amp;quot; and &amp;quot;5:4&amp;quot;&lt;br /&gt;
&lt;br /&gt;
methods&lt;br /&gt;
*&#039;&#039;&#039;vlc.video.toggleFullscreen()&#039;&#039;&#039;: toggle the fullscreen mode based on the previous setting&lt;br /&gt;
&lt;br /&gt;
====Log object====&lt;br /&gt;
&lt;br /&gt;
readonly properties&lt;br /&gt;
*&#039;&#039;&#039;vlc.log.messages&#039;&#039;&#039;: returns a messages object&lt;br /&gt;
&lt;br /&gt;
read/write properties&lt;br /&gt;
*&#039;&#039;&#039;vlc.log.verbosity&#039;&#039;&#039;: write number [-1,0,1,2,3] for changing the verbosity level of the log messages. The numbers have the following meaning: -1 disable, 0 info, 1 error, 2 warning, 3 debug.&lt;br /&gt;
&lt;br /&gt;
methods&lt;br /&gt;
*&#039;&#039;none&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Messages object====&lt;br /&gt;
&lt;br /&gt;
readonly properties&lt;br /&gt;
*&#039;&#039;&#039;messages.count&#039;&#039;&#039;: returns number of messages in the log&lt;br /&gt;
*&#039;&#039;&#039;messages.severity&#039;&#039;&#039;: number that indicates the severity of the log message (0 = info, 1 = error, 2 = warning, 3 = debug)&lt;br /&gt;
*&#039;&#039;&#039;message.name&#039;&#039;&#039;: name of VLC module that printed the log message (e.g: main, http, directx, etc...)&lt;br /&gt;
*&#039;&#039;&#039;message.type&#039;&#039;&#039;: type of VLC module that printed the log message (eg: input, access, vout, sout, etc...)&lt;br /&gt;
*&#039;&#039;&#039;message.message&#039;&#039;&#039;: the message text&lt;br /&gt;
&lt;br /&gt;
read/write properties&lt;br /&gt;
*&#039;&#039;none&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
methods&lt;br /&gt;
*&#039;&#039;&#039;messages.clear()&#039;&#039;&#039;: clear the current log buffer. It should be called as frequently as possible to not overflow the plugins logging buffer. Call this method after the log messages of interest are read.&lt;br /&gt;
*&#039;&#039;&#039;messages.iterator()&#039;&#039;&#039;: returns a messages iterator object, which is used to iterate over the messages in the log. &#039;&#039;&#039;Don&#039;t clear the log buffer while holding an iterator object.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Iterator object====&lt;br /&gt;
&lt;br /&gt;
readonly properties&lt;br /&gt;
*&#039;&#039;&#039;iterator.hasNext&#039;&#039;&#039;: returns a boolean that indicates when true, that wheter vlc.log.messages.next() returns the next message.&lt;br /&gt;
&lt;br /&gt;
read/write properties&lt;br /&gt;
*&#039;&#039;none&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
methods&lt;br /&gt;
*&#039;&#039;&#039;iterator.next()&#039;&#039;&#039;: returns the next message object it the log&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Documentation}}&lt;/div&gt;</summary>
		<author><name>EnlightenedTeamster</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=OldFAQ&amp;diff=7612</id>
		<title>OldFAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=OldFAQ&amp;diff=7612"/>
		<updated>2007-02-16T17:12:59Z</updated>

		<summary type="html">&lt;p&gt;EnlightenedTeamster: /* Unable to play any DVDs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
Answers to some common problems people encounter with VLC. More help is available in the&lt;br /&gt;
* [http://www.videolan.org/doc/ Documentation]&lt;br /&gt;
* [http://www.videolan.org/doc/faq/en/videolan-faq-en.html FAQ]&lt;br /&gt;
* [[Forum]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing VLC ==&lt;br /&gt;
&lt;br /&gt;
=== On Mac OS 9 ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|239006}}&lt;br /&gt;
* Sorry, VLC will not work on OS 9, and probably never will. However, Mac OS X is supported - [[Unsupported|Find out Why]]&lt;br /&gt;
&lt;br /&gt;
=== Compiling VLC ===&lt;br /&gt;
&lt;br /&gt;
==== How do I compile VLC? ====&lt;br /&gt;
&lt;br /&gt;
* Look at [http://developers.videolan.org/vlc/ how to compile VLC]. There are pre-compiled (binary / executable) versions [http://www.videolan.org/vlc/ here].&lt;br /&gt;
&lt;br /&gt;
==== Mozilla Firefox Plugin ====&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Debian:&#039;&#039; All you need is to download the vlc plugin package - mozilla-plugin-vlc ([http://packages.debian.org/stable/graphics/mozilla-plugin-vlc stable release])&lt;br /&gt;
* &#039;&#039;All Linux:&#039;&#039; To make the firefox plugin with the vlc player, you will first need the Firefox Development package (from: [http://packages.ubuntu.com/breezy/devel/firefox-dev ubuntu] ...). Then, when you compile, run ./configure with --enable-mozilla, and if needed with --with-mozilla-sdk-path=&#039;&#039;/path_to_firefox_sdk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== &amp;quot;Missing header file ffmpeg/avcodec.h&amp;quot; and &amp;quot;Missing header file postproc/postprocess.h&amp;quot; Errors ====&lt;br /&gt;
&lt;br /&gt;
* Make sure that you have all the libraries you need.&lt;br /&gt;
* When you run ./configure for [[ffmpeg]], make sure that at least the following flags are set (descriptions of these avaliable from ./configure --help )&lt;br /&gt;
 ./configure --enable-shared --enable-shared-pp --enable-pp --enable-gpl&lt;br /&gt;
* The path of ffmpeg is not set. Check if you can locate the file &#039;&#039;&#039;libavcodec.pc&#039;&#039;&#039; on your computer, and export PKG_CONFIG_PATH to where you found it before running ./configure. For example&lt;br /&gt;
 export PKG_CONFIG_PATH=/home/you/ffmpeg/&lt;br /&gt;
&lt;br /&gt;
==== &amp;quot;cc1: error: invalid option `tune=opteron&#039;&amp;quot; Error on 64-bit systems ====&lt;br /&gt;
&lt;br /&gt;
* One user writes: &amp;quot;From what I can see, the -mtune flag is not available for this type of processor in man gcc. I had to change the configure options comment out all the lines where they set mcpu or mtune flags.) I don&#039;t know if this is the correct way to proceed but was the only way for me to get results fast.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== &amp;quot;/usr/bin/ld: cannot find -lX11&amp;quot; Error on 64-bit systems ====&lt;br /&gt;
&lt;br /&gt;
* In configure, there is an x_libraries variable there that is set to &amp;quot;/usr/X11R6/lib&amp;quot; (around line 16371). Because it is a 64 bit system, this variable needs to be /usr/X11R6/lib64. After changing that, it should continue compiling.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problems Starting VLC ==&lt;br /&gt;
&lt;br /&gt;
=== VLC does not launch on my Mac anymore. What to do? ===&lt;br /&gt;
&lt;br /&gt;
* Please have a look at the [[FAQ_on_MacOSX_only_issues|specific FAQ]], which covers multiple solutions to this issue.&lt;br /&gt;
&lt;br /&gt;
== Error Messages ==&lt;br /&gt;
&lt;br /&gt;
Error messages can be viewed by selecting Messages from the View menu.&lt;br /&gt;
&lt;br /&gt;
=== main private error: no sout mux module matched &amp;quot;ts&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
* This can be an error if &#039;&#039;&#039;libdvbpsi&#039;&#039;&#039; was not installed when vlc was compiled. To fix this error, install libdvbpsi; then re-compile vlc. [http://developers.videolan.org/libdvbpsi/ libdvbpsi]&lt;br /&gt;
&lt;br /&gt;
=== main dialogs provider error: no dialogs provider module matched &amp;quot;any&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
* The solution is found in [http://forum.videolan.org/viewtopic.php?t=14733 the forum]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problems playing types of files ==&lt;br /&gt;
&lt;br /&gt;
=== WMV files ===&lt;br /&gt;
&lt;br /&gt;
* Starting with VLC media player 0.8.6, the playback of WMV3-encoded videos is available on all platforms. Please note, that encrypted / DRM-protected video-clips still cannot played. That is because of the nature of DRM and is not about to change, so please do not ask.&lt;br /&gt;
&lt;br /&gt;
=== Real Media files ===&lt;br /&gt;
&lt;br /&gt;
* Realmedia files (.rm, .rpm, etc) are proprietary (ie, copyrighted) file formats, created by RealNetworks. Because of this, VLC can&#039;t support them at present.&lt;br /&gt;
&lt;br /&gt;
=== QuickTime Files (.mov) ===&lt;br /&gt;
&lt;br /&gt;
* Mov file doesn&#039;t play, but plays ok in QuickTime&lt;br /&gt;
** open the url in QuickTime player&lt;br /&gt;
** let it decide which datarate is best for your connection&lt;br /&gt;
** let it play for a few seconds, then pause it&lt;br /&gt;
** open the stream info, copy the url&lt;br /&gt;
** open &amp;amp; save that one in VLC&lt;br /&gt;
&lt;br /&gt;
=== Flash Video Files (.flv) ===&lt;br /&gt;
&lt;br /&gt;
* Flash Video support has recently been added (provided through ffmpeg) - to view .flv files you will need version 0.8.4a. Download and install the latest version [http://www.videolan.org/vlc/ here].&lt;br /&gt;
* VLC still has problems with a few .flv files. If you have problems playing a file in VLC you might be able to change it to an avi using [[ffmpeg]]. See [[Fixing .flv to .avi with Ffmpeg]].&lt;br /&gt;
* VLC 0.8.6 provided enhanced Flash Video support on all platforms, so it is probably worth to update if you experience problems with prior releases.&lt;br /&gt;
&lt;br /&gt;
=== Other Files ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|238663}}&lt;br /&gt;
* Make sure that VLC supports that file - look at the [http://www.videolan.org/vlc/features.html list of supposted formats]&lt;br /&gt;
&lt;br /&gt;
* Make sure that the file isn&#039;t corrupted&lt;br /&gt;
&lt;br /&gt;
== VLC and Other Programs ==&lt;br /&gt;
&lt;br /&gt;
=== AMR ===&lt;br /&gt;
&lt;br /&gt;
* To use [http://en.wikipedia.org/wiki/Adaptive_Multi-Rate AMR], you&#039;ll need to compile vlc and ffmpeg with amr support yourself. This is because the amr license is not compatible with the vlc license.&lt;br /&gt;
&lt;br /&gt;
=== ratDVD ===&lt;br /&gt;
&lt;br /&gt;
* VLC does not support [http://en.wikipedia.org/wiki/RatDVD ratDVD] and is not going to be, both for political and technical reasons.&lt;br /&gt;
&lt;br /&gt;
== Problems Playing DVDs ==&lt;br /&gt;
&lt;br /&gt;
===Unable to play any DVDs===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|239006}}&lt;br /&gt;
* &#039;&#039;Linux:&#039;&#039; To play DVDs with VLC in linux, you need to install the libdvdcss package&lt;br /&gt;
* &#039;&#039;Linux:&#039;&#039; Make sure you have access rigths to your DVD player. In linux, you can use chmod to edit access rights to your DVD block device:&lt;br /&gt;
** &amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt; chmod 666 /dev/dvd&lt;br /&gt;
** The videolan FAQ seems to suggest you need write access to this device - is this true? If you know, please edit this entry.&lt;br /&gt;
* &#039;&#039;Linux:&#039;&#039; Make sure VLC knows where your DVD drive is located (/dev/dvd usually).  Go to Settings | Preferences | Input/Codecs | General and under &amp;quot;Default devices&amp;quot; make sure your dvd drive path is entered in the &amp;quot;Default DVD&amp;quot; box.  When you go to open a DVD, you should see something like &amp;quot;dvd:///dev/dvd&amp;quot; as the [[media resource locator]] in the &amp;quot;Open:&amp;quot; box near the top of the Open dialog.&lt;br /&gt;
&lt;br /&gt;
=== Playing DVDs from other Region Codes ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|239426}}&lt;br /&gt;
* The ability to play DVDs from all regions depends mostly on your DVD drive, and testing it is usually the quickest way to find out if your DVD drive can do it. Most newer DVD drives are RPC2 drives, which don&#039;t allow raw access to the drive untill the drive firmware has done a regioncheck. VLC uses libdvdcss and it needs raw access to the DVD drive to crack the encryption key. So with these drives it is impossible to circumvent the region protection. (This goes for all software. You will need to flash your drives firmware, but sometimes there is no alternate firmware available for your drive). On other RPC2 drives that DO allow raw access, it might take VLC a long time to crack the key. So just pop the disc in your drive and try it out, while you get a coffee. RPC1 drives should &#039;always&#039; work regardless of the regioncode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Poor Quality Video and Audio ==&lt;br /&gt;
&lt;br /&gt;
=== The video runs but the picture is distorted ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|238431}}&lt;br /&gt;
* &#039;&#039;Linux:&#039;&#039; There is probably a problem with the output layer. There are several ways of troubleshooting it.&lt;br /&gt;
** First, try with another output plugin, for instance:&lt;br /&gt;
**: % vlc -V sdl&lt;br /&gt;
**: % vlc -V x11&lt;br /&gt;
** Second, change your screen depth and/or definition. It quite often helps.&lt;br /&gt;
** Lastly, if running Unix, have a look at your XFree86 video driver. &lt;br /&gt;
&lt;br /&gt;
=== Video is choppy ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|238474}}&lt;br /&gt;
* Your system may be too slow to decode all pictures. Sometimes, your CPU (computer) really isn&#039;t fast enough, but often the situation can be improved by changing your system configuration to be a bit kinder to VLC.&lt;br /&gt;
** Quit other programs running in the background&lt;br /&gt;
** Turn on DMA on your DVD device:&lt;br /&gt;
*** &#039;&#039;Linux:&#039;&#039;&lt;br /&gt;
***: &amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt; hdparm -d1 /dev/dvd&lt;br /&gt;
*** &#039;&#039;Windows:&#039;&#039; go to the System section of the control panel, and go to the Hardware manager (it is sometimes in a separate tab, and sometimes, you have to go to the Advanced tab. Then, right-click on your DVD player, and check the DMA checkbox. &lt;br /&gt;
** Upgrade to the latest driver for your video board.&lt;br /&gt;
** &#039;&#039;Linux:&#039;&#039; you can additionally upgrade your drivers to the latest XFree86 version. If supported, check that the xvideo plug-in is effectively used with:&lt;br /&gt;
**: % vlc -vvvv&lt;br /&gt;
&lt;br /&gt;
=== Audio and video are out of sync ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|238571}}&lt;br /&gt;
* If you are [[transcoding]] a file, use the [[audio-sync]] option.&lt;br /&gt;
* You can manually set the audio offset while playing (so you can put the audio back in sync). The default keys in Windows are Ctrl+K and Ctrl+L to increase/decrease the delay.&lt;br /&gt;
* &#039;&#039;Linux/Unix:&#039;&#039; Try using another audio output plugin and, under Unix, kill esd or artsd if they are running. If the problem is due to the input file, have a look at the &amp;quot;Audio desynchronization compensation&amp;quot; option.&lt;br /&gt;
&lt;br /&gt;
== Problems with Streaming ==&lt;br /&gt;
&lt;br /&gt;
===&amp;quot;main input error: no suitable access module for `rtsp://...&#039;&amp;quot;===&lt;br /&gt;
&lt;br /&gt;
vlc needs livemedia from &#039;&#039;&#039;live555.com&#039;&#039;&#039; to read rtsp stream this way. &lt;br /&gt;
&lt;br /&gt;
You can check you have it by :&lt;br /&gt;
&lt;br /&gt;
   vlc -l | grep live&lt;br /&gt;
&lt;br /&gt;
It should read&lt;br /&gt;
&lt;br /&gt;
  livedotcom            live.com (RTSP/RTP/SDP) demuxer&lt;br /&gt;
  livedotcom            RTSP/RTP access and demux&lt;br /&gt;
&lt;br /&gt;
If not, you have to install &#039;&#039;&#039;livemedia&#039;&#039;&#039; and point your compilation to this lib directory :&lt;br /&gt;
&lt;br /&gt;
   ./configure &#039;&#039;&#039;--enable-livedotcom --with-livedotcom-tree=/usr/local/lib/live/&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Streaming playlist continuously between files (sout-keep not working)===&lt;br /&gt;
&lt;br /&gt;
you should add gather-module sout-chain, example&lt;br /&gt;
    vlc *mpeg --sout-keep --sout &#039;#gather:transcode{plapla}:rtp{plapla}&#039;&lt;br /&gt;
&lt;br /&gt;
===Streaming 1 playlist item continuously and change input without stream break===&lt;br /&gt;
&lt;br /&gt;
you can use this kinda vlm.conf file and --sout-keep option&lt;br /&gt;
  new output1 broadcast enabled loop&lt;br /&gt;
  setup output1 input &amp;quot;inputfile1.mpeg&amp;quot;&lt;br /&gt;
  setup output1 input &amp;quot;inputfile2.mpeg&amp;quot;&lt;br /&gt;
  setup output1 input &amp;quot;/path/to/inputfile3.mpeg&amp;quot;&lt;br /&gt;
  setup output1 option sout-keep=1&lt;br /&gt;
  setup output1 option input-repeat=-1&lt;br /&gt;
  setup output1 output #gather:transcode{etc...}:std{plapal}&lt;br /&gt;
 &lt;br /&gt;
  control output1 play 2&lt;br /&gt;
&lt;br /&gt;
you then chan telnet into vlm and just command&lt;br /&gt;
  control output1 play &amp;lt;playlistnumber&amp;gt;&lt;br /&gt;
to change streamed input.&lt;br /&gt;
&lt;br /&gt;
===Streaming to Windows Media Player===&lt;br /&gt;
&lt;br /&gt;
See [[Windows Media Player]] for details.&lt;br /&gt;
&lt;br /&gt;
== Problems converting between file formats (transcoding) ==&lt;br /&gt;
&lt;br /&gt;
=== Missing Audio and/or Video ===&lt;br /&gt;
&lt;br /&gt;
* Certain containers (aka muxers) can only hold certain types of video and audio - look at [http://www.videolan.org/streaming/features.html Streaming features]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== VLC Crashes ==&lt;br /&gt;
&lt;br /&gt;
=== General ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|238592}}&lt;br /&gt;
* If VLC crashes, the following steps will help determine the cause.&lt;br /&gt;
** Increase the verbosity level (either in the preferences or with a -vvvv command line option) and look at the debug messages (in the terminal or in the Messages window).&lt;br /&gt;
* If you are convinced that it is a bug in VLC, have a look at the [http://www.videolan.org/support/bug-reporting.html bug reporting page].&lt;br /&gt;
&lt;br /&gt;
=== When using DirectShow (eg Webcam) ===&lt;br /&gt;
&lt;br /&gt;
{{forum|12394}}&lt;br /&gt;
* There was a bug a while back when you tried to stream using a directshow/webcam it would reboot the computer. The fix was to specify the resolution on the command line or in the &amp;quot;Advanced&amp;quot; section when opening the directshow.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Other Problems ==&lt;br /&gt;
&lt;br /&gt;
=== I only want one VLC player! ===&lt;br /&gt;
&lt;br /&gt;
* To use the same VLC player for all the media files, go to Settings, Preferences, Advanced. The following options should give behavior similar to WMP: minimize # of threads, allow only one running instance, VLC is started from file association, allow only &amp;quot;on&amp;quot; running instance when started from file (typo in v0.8.5).&lt;br /&gt;
&lt;br /&gt;
=== Licensing, legal issues and logo use ===&lt;br /&gt;
&lt;br /&gt;
* Information on this is avaliable on the main videolan website, [http://videolan.org videolan.org]. Also read the [http://www.videolan.org/doc/faq/en/index.html#id238663 Legal concerns] section of the [http://www.videolan.org/doc/faq/en/index.html FAQ].&lt;br /&gt;
* This is a wiki site: it is editable by all, so it is best to check to official website.&lt;br /&gt;
&lt;br /&gt;
=== Fixing Strange Behaviour ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|238992}}&lt;br /&gt;
* The first thing to do is to reset the VLC preferences in the preferences dialog of the application and restart VLC. If VLC doesn&#039;t even start anymore, delete VLC&#039;s configuration file ([[#Configuration File|where is it?]]). Then restart VLC. If it does not get any better, read the rest of this page or FAQ page, or ask for help at the [[forum]].&lt;br /&gt;
&lt;br /&gt;
=== Subtitles Problem ===&lt;br /&gt;
* In the File | Open File dialog, select &amp;quot;Use a subtitles file&amp;quot;, and enter both the video&#039;s filename and the video&#039;s subtitle filename.&lt;br /&gt;
* If you are having displaying the subtitles, the problem might be an encoding problem. Choose the right encoding for your language and it should fix your problem. You&#039;ll find the ISOs here: [http://alis.isoc.org/codage/iso8859/jeuxiso.en.htm]. Once you find a text encoding method that works well for you enter it in Preferences, Input / Codecs, Other codecs, Subtitles then press Save and restart VLC. If you have a specialized language like Hebrew, Arabic, Chinese or Japanese changing the font to a Unicode font will be helpful.&lt;/div&gt;</summary>
		<author><name>EnlightenedTeamster</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=MRL&amp;diff=7611</id>
		<title>MRL</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=MRL&amp;diff=7611"/>
		<updated>2007-02-15T23:37:19Z</updated>

		<summary type="html">&lt;p&gt;EnlightenedTeamster: initial version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Media resource locator]]&lt;/div&gt;</summary>
		<author><name>EnlightenedTeamster</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Media_resource_locator&amp;diff=7610</id>
		<title>Media resource locator</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Media_resource_locator&amp;diff=7610"/>
		<updated>2007-02-15T23:35:22Z</updated>

		<summary type="html">&lt;p&gt;EnlightenedTeamster: initial version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;&#039;media resource locator&#039;&#039;&#039; (&#039;&#039;&#039;MRL&#039;&#039;&#039;) is a string of characters used to identify a multimedia resource or part of a multimedia resource.  A MRL may be used to identify inputs or outputs to {{VLC}}.&lt;br /&gt;
&lt;br /&gt;
The MRL syntax is:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
[[access][/demux]://]URL[@[title][:chapter][-[title][:chapter]]] [:option=value ...]&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 ! MRL section&lt;br /&gt;
 ! Description&lt;br /&gt;
 ! Possible values&lt;br /&gt;
|-&lt;br /&gt;
| access&lt;br /&gt;
| How to obtain the media data&lt;br /&gt;
|&lt;br /&gt;
cdda: CD Digital Audio&amp;lt;BR&amp;gt;&lt;br /&gt;
dir: Filesystem-based directory&amp;lt;BR&amp;gt;&lt;br /&gt;
dv: Digital Video/FireWire&amp;lt;BR&amp;gt;&lt;br /&gt;
file: Filesystem-based file&amp;lt;BR&amp;gt;&lt;br /&gt;
ftp: FTP&amp;lt;BR&amp;gt;&lt;br /&gt;
gnomevfs: GnomeVFS&amp;lt;BR&amp;gt;&lt;br /&gt;
http: HTTP&amp;lt;BR&amp;gt;&lt;br /&gt;
mms: Microsoft Media Server&amp;lt;BR&amp;gt;&lt;br /&gt;
pvr: PVR&amp;lt;BR&amp;gt;&lt;br /&gt;
rtp: RTP&amp;lt;BR&amp;gt;&lt;br /&gt;
rtsp: RTSP&amp;lt;BR&amp;gt;&lt;br /&gt;
smb: Server Message Block&amp;lt;BR&amp;gt;&lt;br /&gt;
tcp: TCP&amp;lt;BR&amp;gt;&lt;br /&gt;
udp: UDP&amp;lt;BR&amp;gt;&lt;br /&gt;
vcdx: Video CD&lt;br /&gt;
|-&lt;br /&gt;
| demux&lt;br /&gt;
| The format of the source data&lt;br /&gt;
|&lt;br /&gt;
a52sys/Raw A/52 demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
aiff/AIFF demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
asf/ASF v1.0 demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
au/AU demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
avi/AVI demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
demuxdump/File dumpper&amp;lt;BR&amp;gt;&lt;br /&gt;
dtssys/Raw DTS demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
flac/FLAC demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
h264/H264 video demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
m3u/Playlist metademux&amp;lt;BR&amp;gt;&lt;br /&gt;
m4a/MPEG-4 audio demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
m4v/MPEG-4 video demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
mjpeg/M-JPEG camera demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
mp4/MP4 stream demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
mpga/MPEG audio / MP3 demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
mpgv/MPEG-I/II video demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
nsc/Windows Media NSC metademux&amp;lt;BR&amp;gt;&lt;br /&gt;
nsv/NullSoft demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
nuv/Nuv demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
ogg/OGG demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
playlist/B4S playlist import&amp;lt;BR&amp;gt;&lt;br /&gt;
playlist/DVB playlist import&amp;lt;BR&amp;gt;&lt;br /&gt;
playlist/M3U playlist import&amp;lt;BR&amp;gt;&lt;br /&gt;
playlist/New winamp 5.2 shoutcast import&amp;lt;BR&amp;gt;&lt;br /&gt;
playlist/PLS playlist import&amp;lt;BR&amp;gt;&lt;br /&gt;
playlist/Playlist&amp;lt;BR&amp;gt;&lt;br /&gt;
playlist/Podcast parser&amp;lt;BR&amp;gt;&lt;br /&gt;
playlist/XSPF playlist import&amp;lt;BR&amp;gt;&lt;br /&gt;
ps/MPEG-PS demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
ps/MPEG-PS demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
pva/PVA demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
rawdv/DV (Digital Video) demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
real/Real demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
sgimb/Kasenna MediaBase parser&amp;lt;BR&amp;gt;&lt;br /&gt;
subtitle/Text subtitles parser&amp;lt;BR&amp;gt;&lt;br /&gt;
tta/TTA demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
ty/TY Stream audio/video demux&amp;lt;BR&amp;gt;&lt;br /&gt;
vobsub/Vobsub subtitles parser&amp;lt;BR&amp;gt;&lt;br /&gt;
voc/VOC demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
wav/WAV demuxer&amp;lt;BR&amp;gt;&lt;br /&gt;
xa/XA demuxer&lt;br /&gt;
|-&lt;br /&gt;
| URL&lt;br /&gt;
| The [http://en.wikipedia.org/wiki/Uniform_Resource_Identifier URI] of the source&lt;br /&gt;
| See http://www.w3.org/TR/uri-clarification/&lt;br /&gt;
|-&lt;br /&gt;
| title&lt;br /&gt;
| Which title to select for input&lt;br /&gt;
| Positive integer&lt;br /&gt;
|-&lt;br /&gt;
| chapter&lt;br /&gt;
| Which chapter to select for input&lt;br /&gt;
| Positive integer&lt;br /&gt;
|-&lt;br /&gt;
| option&lt;br /&gt;
| Options to apply only to the specified MRL&lt;br /&gt;
| See [[VLC command-line help]] for a full list&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>EnlightenedTeamster</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=VLM&amp;diff=7593</id>
		<title>VLM</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=VLM&amp;diff=7593"/>
		<updated>2007-02-13T19:49:06Z</updated>

		<summary type="html">&lt;p&gt;EnlightenedTeamster: Redirecting to Documentation:Streaming HowTo/VLM&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Documentation:Streaming HowTo/VLM]]&lt;/div&gt;</summary>
		<author><name>EnlightenedTeamster</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Windows_Media_Player&amp;diff=7547</id>
		<title>Windows Media Player</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Windows_Media_Player&amp;diff=7547"/>
		<updated>2007-02-07T18:57:46Z</updated>

		<summary type="html">&lt;p&gt;EnlightenedTeamster: /* Streaming from VLC */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{wikipedia|Windows Media Player}}&lt;br /&gt;
Windows Media Player is the standard multimedia player for Microsoft® [[Windows]]® systems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Supported formats=&lt;br /&gt;
&lt;br /&gt;
According to Microsoft® [http://support.microsoft.com/kb/316992 Knowledge Base Article 316992], Windows Media Player supports the following formats &amp;quot;out of the box&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 ! Type&lt;br /&gt;
 ! Supported formats&lt;br /&gt;
|-&lt;br /&gt;
| Microsoft® media formats&lt;br /&gt;
|&lt;br /&gt;
*Advanced Systems Format (.asf)&lt;br /&gt;
*Audio Visual Interleave (.avi)&lt;br /&gt;
*Audio for Windows (.wav)&lt;br /&gt;
*Microsoft® Digital Video Recording (.dvr-ms)&lt;br /&gt;
*Windows Media Audio (.wma)&lt;br /&gt;
*Windows Media Video (.wmv, .wm)&lt;br /&gt;
|-&lt;br /&gt;
| Microsoft® media metafiles&lt;br /&gt;
|&lt;br /&gt;
*Advanced Stream Redirector (.asx)&lt;br /&gt;
*Windows Media Audio Redirector (.wax)&lt;br /&gt;
*Windows Media Download Package (.wmd) &lt;br /&gt;
*Windows Media Player Playlist (.wpl)&lt;br /&gt;
*Windows Media Redirector (.wmx)&lt;br /&gt;
*Windows Media Video Redirector (.wvx)&lt;br /&gt;
|-&lt;br /&gt;
| ISO/IEC (MPEG)&lt;br /&gt;
|&lt;br /&gt;
*MPEG-1 (.mpeg, .mpg, .m1v) &lt;br /&gt;
*MPEG Audio Layer III (.mp3)&lt;br /&gt;
*MPEG Audio Layer II (.mp2, .mpa)&lt;br /&gt;
*Metafile Playlist (.m3u)&lt;br /&gt;
|-&lt;br /&gt;
| Industry standard&lt;br /&gt;
|&lt;br /&gt;
*Audio Interchange File Format ( .aif, .aifc, .aiff) &lt;br /&gt;
*CD Audio Track (.cda)&lt;br /&gt;
*Musical Instrument Digital Interface (.mid, .midi, .rmi) &lt;br /&gt;
*Sun Microsystems and NeXT (.au, .snd)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Common Issues=&lt;br /&gt;
&lt;br /&gt;
==MPEG-2 and MPEG-4 playback==&lt;br /&gt;
&lt;br /&gt;
Microsoft® does not bundle codecs for MPEG-2 or MPEG-4 with Windows and recommends purchasing them as part of a &amp;quot;DVD decoder pack&amp;quot; from a third-party vendor.&lt;br /&gt;
&lt;br /&gt;
The symptom associated with a missing codec is Windows Media Player displaying the cryptic &amp;quot;C00D11CD&amp;quot; error code immediately after opening an MPEG-2 or MPEG-4 coded file or stream.  At that point, you must purchase the appropriate codec, perhaps from Microsoft&#039;s® [http://www.microsoft.com/windows/windowsmedia/player/plugins.aspx list of approved vendors].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Streaming from VLC==&lt;br /&gt;
To date, the only option for streaming from VLC to Windows Media Player is to:&lt;br /&gt;
*Transcode the file or feed into [[WMV]] format&lt;br /&gt;
*Encapsulate the transcoded stream in the [[ASF]] container format&lt;br /&gt;
*Use [[MMS]] or [[MMSH]] for the stream transport&lt;br /&gt;
&lt;br /&gt;
A command-line example may be found in Chapter 4 of the [http://www.videolan.org/doc/streaming-howto/en/ch04.html#id294991 VideoLAN Streaming Howto].  {{forum|255}}.&lt;br /&gt;
&lt;br /&gt;
Otherwise, Windows Media Player does not appear to support streaming for anything other than its proprietary formats.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;BLOCKQUOTE&amp;gt;&amp;lt;I&amp;gt;&lt;br /&gt;
&amp;quot;Windows Media Player 9 Series can play files in a wide variety of digital media file formats, but Windows Media Services 9 Series &amp;lt;B&amp;gt;cannot stream all of those files&amp;lt;/B&amp;gt;. In certain cases, you may need to convert digital media files into a compatible format before you can stream them.&amp;quot; [http://www.microsoft.com/windows/windowsmedia/forpros/server/faq.aspx#2_3]&lt;br /&gt;
&amp;lt;/I&amp;gt;&amp;lt;/BLOCKQUOTE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Streaming to Windows Media Player over HTTP is supported, but the multimedia stream must be converted to a Microsoft-proprietary format with [http://www.microsoft.com/windows/windowsmedia/9series/encoder/default.aspx Windows Media Encoder] beforehand. [http://www.microsoft.com/windows/windowsmedia/howto/articles/webserver.aspx]&lt;br /&gt;
&lt;br /&gt;
Streaming is known to work with Windows Media Player 9 or higher.  In particular, Windows Media Player 8 does not interoperate with VLC.  {{forum|5199}}&lt;br /&gt;
&lt;br /&gt;
==Compatability==&lt;br /&gt;
If you discover problems with your Windows Media Player please download the latest version:&lt;br /&gt;
*[http://www.microsoft.com/windows/windowsmedia/download/default.asp?DispLang=en English]&lt;br /&gt;
*[http://www.microsoft.com/windows/windowsmedia/download/default.asp?DispLang=de Deutsch]&lt;br /&gt;
*[http://www.microsoft.com/windows/windowsmedia/download/default.asp?DispLang=fr Français]&lt;br /&gt;
&lt;br /&gt;
{{compat}}&lt;br /&gt;
[[Category:Player]]&lt;/div&gt;</summary>
		<author><name>EnlightenedTeamster</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Windows_Media_Player&amp;diff=7539</id>
		<title>Windows Media Player</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Windows_Media_Player&amp;diff=7539"/>
		<updated>2007-02-06T21:22:17Z</updated>

		<summary type="html">&lt;p&gt;EnlightenedTeamster: +WMP8 issue&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{wikipedia|Windows Media Player}}&lt;br /&gt;
Windows Media Player is the standard multimedia player for Microsoft® [[Windows]]® systems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Supported formats=&lt;br /&gt;
&lt;br /&gt;
According to Microsoft® [http://support.microsoft.com/kb/316992 Knowledge Base Article 316992], Windows Media Player supports the following formats &amp;quot;out of the box&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 ! Type&lt;br /&gt;
 ! Supported formats&lt;br /&gt;
|-&lt;br /&gt;
| Microsoft® media formats&lt;br /&gt;
|&lt;br /&gt;
*Advanced Systems Format (.asf)&lt;br /&gt;
*Audio Visual Interleave (.avi)&lt;br /&gt;
*Audio for Windows (.wav)&lt;br /&gt;
*Microsoft® Digital Video Recording (.dvr-ms)&lt;br /&gt;
*Windows Media Audio (.wma)&lt;br /&gt;
*Windows Media Video (.wmv, .wm)&lt;br /&gt;
|-&lt;br /&gt;
| Microsoft® media metafiles&lt;br /&gt;
|&lt;br /&gt;
*Advanced Stream Redirector (.asx)&lt;br /&gt;
*Windows Media Audio Redirector (.wax)&lt;br /&gt;
*Windows Media Download Package (.wmd) &lt;br /&gt;
*Windows Media Player Playlist (.wpl)&lt;br /&gt;
*Windows Media Redirector (.wmx)&lt;br /&gt;
*Windows Media Video Redirector (.wvx)&lt;br /&gt;
|-&lt;br /&gt;
| ISO/IEC (MPEG)&lt;br /&gt;
|&lt;br /&gt;
*MPEG-1 (.mpeg, .mpg, .m1v) &lt;br /&gt;
*MPEG Audio Layer III (.mp3)&lt;br /&gt;
*MPEG Audio Layer II (.mp2, .mpa)&lt;br /&gt;
*Metafile Playlist (.m3u)&lt;br /&gt;
|-&lt;br /&gt;
| Industry standard&lt;br /&gt;
|&lt;br /&gt;
*Audio Interchange File Format ( .aif, .aifc, .aiff) &lt;br /&gt;
*CD Audio Track (.cda)&lt;br /&gt;
*Musical Instrument Digital Interface (.mid, .midi, .rmi) &lt;br /&gt;
*Sun Microsystems and NeXT (.au, .snd)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Common Issues=&lt;br /&gt;
&lt;br /&gt;
==MPEG-2 and MPEG-4 playback==&lt;br /&gt;
&lt;br /&gt;
Microsoft® does not bundle codecs for MPEG-2 or MPEG-4 with Windows and recommends purchasing them as part of a &amp;quot;DVD decoder pack&amp;quot; from a third-party vendor.&lt;br /&gt;
&lt;br /&gt;
The symptom associated with a missing codec is Windows Media Player displaying the cryptic &amp;quot;C00D11CD&amp;quot; error code immediately after opening an MPEG-2 or MPEG-4 coded file or stream.  At that point, you must purchase the appropriate codec, perhaps from Microsoft&#039;s® [http://www.microsoft.com/windows/windowsmedia/player/plugins.aspx list of approved vendors].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Streaming from VLC==&lt;br /&gt;
To date, the only option for streaming from VLC to Windows Media Player is to:&lt;br /&gt;
*Transcode the file or feed into [[WMV]] format&lt;br /&gt;
*Encapsulate the transcoded stream in the [[ASF]] container format&lt;br /&gt;
*Use [[MMS]] or [[MMSH]] for the stream transport&lt;br /&gt;
&lt;br /&gt;
In particular, Windows Media Player does not appear to support UDP, RTSP, or HTTP (except in conjunction with MMSH) transports, MPEG program streams, or MPEG transport streams.&lt;br /&gt;
&lt;br /&gt;
A command-line example may be found in Chapter 4 of the [http://www.videolan.org/doc/streaming-howto/en/ch04.html#id294991 VideoLAN Streaming Howto].  {{forum|255}}.&lt;br /&gt;
&lt;br /&gt;
Streaming is known to work with Windows Media Player 9 or higher.  In particular, Windows Media Player 8 does not interoperate with VLC.  {{forum|5199}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Compatability==&lt;br /&gt;
If you discover problems with your Windows Media Player please download the latest version:&lt;br /&gt;
*[http://www.microsoft.com/windows/windowsmedia/download/default.asp?DispLang=en English]&lt;br /&gt;
*[http://www.microsoft.com/windows/windowsmedia/download/default.asp?DispLang=de Deutsch]&lt;br /&gt;
*[http://www.microsoft.com/windows/windowsmedia/download/default.asp?DispLang=fr Français]&lt;br /&gt;
&lt;br /&gt;
{{compat}}&lt;br /&gt;
[[Category:Player]]&lt;/div&gt;</summary>
		<author><name>EnlightenedTeamster</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=OldFAQ&amp;diff=7538</id>
		<title>OldFAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=OldFAQ&amp;diff=7538"/>
		<updated>2007-02-06T21:13:52Z</updated>

		<summary type="html">&lt;p&gt;EnlightenedTeamster: +Streaming to Windows Media Player&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
Answers to some common problems people encounter with VLC. More help is available in the&lt;br /&gt;
* [http://www.videolan.org/doc/ Documentation]&lt;br /&gt;
* [http://www.videolan.org/doc/faq/en/videolan-faq-en.html FAQ]&lt;br /&gt;
* [[Forum]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing VLC ==&lt;br /&gt;
&lt;br /&gt;
=== On Mac OS 9 ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|239006}}&lt;br /&gt;
* Sorry, VLC will not work on OS 9, and probably never will. However, Mac OS X is supported - [[Unsupported|Find out Why]]&lt;br /&gt;
&lt;br /&gt;
=== Compiling VLC ===&lt;br /&gt;
&lt;br /&gt;
==== How do I compile VLC? ====&lt;br /&gt;
&lt;br /&gt;
* Look at [http://developers.videolan.org/vlc/ how to compile VLC]. There are pre-compiled (binary / executable) versions [http://www.videolan.org/vlc/ here].&lt;br /&gt;
&lt;br /&gt;
==== Mozilla Firefox Plugin ====&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Debian:&#039;&#039; All you need is to download the vlc plugin package - mozilla-plugin-vlc ([http://packages.debian.org/stable/graphics/mozilla-plugin-vlc stable release])&lt;br /&gt;
* &#039;&#039;All Linux:&#039;&#039; To make the firefox plugin with the vlc player, you will first need the Firefox Development package (from: [http://packages.ubuntu.com/breezy/devel/firefox-dev ubuntu] ...). Then, when you compile, run ./configure with --enable-mozilla, and if needed with --with-mozilla-sdk-path=&#039;&#039;/path_to_firefox_sdk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== &amp;quot;Missing header file ffmpeg/avcodec.h&amp;quot; and &amp;quot;Missing header file postproc/postprocess.h&amp;quot; Errors ====&lt;br /&gt;
&lt;br /&gt;
* Make sure that you have all the libraries you need.&lt;br /&gt;
* When you run ./configure for [[ffmpeg]], make sure that at least the following flags are set (descriptions of these avaliable from ./configure --help )&lt;br /&gt;
 ./configure --enable-shared --enable-shared-pp --enable-pp --enable-gpl&lt;br /&gt;
* The path of ffmpeg is not set. Check if you can locate the file &#039;&#039;&#039;libavcodec.pc&#039;&#039;&#039; on your computer, and export PKG_CONFIG_PATH to where you found it before running ./configure. For example&lt;br /&gt;
 export PKG_CONFIG_PATH=/home/you/ffmpeg/&lt;br /&gt;
&lt;br /&gt;
==== &amp;quot;cc1: error: invalid option `tune=opteron&#039;&amp;quot; Error on 64-bit systems ====&lt;br /&gt;
&lt;br /&gt;
* One user writes: &amp;quot;From what I can see, the -mtune flag is not available for this type of processor in man gcc. I had to change the configure options comment out all the lines where they set mcpu or mtune flags.) I don&#039;t know if this is the correct way to proceed but was the only way for me to get results fast.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== &amp;quot;/usr/bin/ld: cannot find -lX11&amp;quot; Error on 64-bit systems ====&lt;br /&gt;
&lt;br /&gt;
* In configure, there is an x_libraries variable there that is set to &amp;quot;/usr/X11R6/lib&amp;quot; (around line 16371). Because it is a 64 bit system, this variable needs to be /usr/X11R6/lib64. After changing that, it should continue compiling.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problems Starting VLC ==&lt;br /&gt;
&lt;br /&gt;
=== VLC does not launch on my Mac anymore. What to do? ===&lt;br /&gt;
&lt;br /&gt;
* Please have a look at the [[FAQ_on_MacOSX_only_issues|specific FAQ]], which covers multiple solutions to this issue.&lt;br /&gt;
&lt;br /&gt;
== Error Messages ==&lt;br /&gt;
&lt;br /&gt;
Error messages can be viewed by selecting Messages from the View menu.&lt;br /&gt;
&lt;br /&gt;
=== main private error: no sout mux module matched &amp;quot;ts&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
* This can be an error if &#039;&#039;&#039;libdvbpsi&#039;&#039;&#039; was not installed when vlc was compiled. To fix this error, install libdvbpsi; then re-compile vlc. [http://developers.videolan.org/libdvbpsi/ libdvbpsi]&lt;br /&gt;
&lt;br /&gt;
=== main dialogs provider error: no dialogs provider module matched &amp;quot;any&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
* The solution is found in [http://forum.videolan.org/viewtopic.php?t=14733 the forum]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problems playing types of files ==&lt;br /&gt;
&lt;br /&gt;
=== WMV files ===&lt;br /&gt;
&lt;br /&gt;
* Starting with VLC media player 0.8.6, the playback of WMV3-encoded videos is available on all platforms. Please note, that encrypted / DRM-protected video-clips still cannot played. That is because of the nature of DRM and is not about to change, so please do not ask.&lt;br /&gt;
&lt;br /&gt;
=== Real Media files ===&lt;br /&gt;
&lt;br /&gt;
* Realmedia files (.rm, .rpm, etc) are proprietary (ie, copyrighted) file formats, created by RealNetworks. Because of this, VLC can&#039;t support them at present.&lt;br /&gt;
&lt;br /&gt;
=== QuickTime Files (.mov) ===&lt;br /&gt;
&lt;br /&gt;
* Mov file doesn&#039;t play, but plays ok in QuickTime&lt;br /&gt;
** open the url in QuickTime player&lt;br /&gt;
** let it decide which datarate is best for your connection&lt;br /&gt;
** let it play for a few seconds, then pause it&lt;br /&gt;
** open the stream info, copy the url&lt;br /&gt;
** open &amp;amp; save that one in VLC&lt;br /&gt;
&lt;br /&gt;
=== Flash Video Files (.flv) ===&lt;br /&gt;
&lt;br /&gt;
* Flash Video support has recently been added (provided through ffmpeg) - to view .flv files you will need version 0.8.4a. Download and install the latest version [http://www.videolan.org/vlc/ here].&lt;br /&gt;
* VLC still has problems with a few .flv files. If you have problems playing a file in VLC you might be able to change it to an avi using [[ffmpeg]]. See [[Fixing .flv to .avi with Ffmpeg]].&lt;br /&gt;
* VLC 0.8.6 provided enhanced Flash Video support on all platforms, so it is probably worth to update if you experience problems with prior releases.&lt;br /&gt;
&lt;br /&gt;
=== Other Files ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|238663}}&lt;br /&gt;
* Make sure that VLC supports that file - look at the [http://www.videolan.org/vlc/features.html list of supposted formats]&lt;br /&gt;
&lt;br /&gt;
* Make sure that the file isn&#039;t corrupted&lt;br /&gt;
&lt;br /&gt;
== VLC and Other Programs ==&lt;br /&gt;
&lt;br /&gt;
=== AMR ===&lt;br /&gt;
&lt;br /&gt;
* To use [http://en.wikipedia.org/wiki/Adaptive_Multi-Rate AMR], you&#039;ll need to compile vlc and ffmpeg with amr support yourself. This is because the amr license is not compatible with the vlc license.&lt;br /&gt;
&lt;br /&gt;
=== ratDVD ===&lt;br /&gt;
&lt;br /&gt;
* VLC does not support [http://en.wikipedia.org/wiki/RatDVD ratDVD] and is not going to be, both for political and technical reasons.&lt;br /&gt;
&lt;br /&gt;
== Problems Playing DVDs ==&lt;br /&gt;
&lt;br /&gt;
=== Unable to play any DVDs ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|239006}}&lt;br /&gt;
* &#039;&#039;Linux:&#039;&#039; To play DVDs with VLC in linux, you need to install the libdvdcss package&lt;br /&gt;
* &#039;&#039;Linux:&#039;&#039; Make sure you have access rigths to your DVD player. In linux, you can use chmod to edit access rights to your DVD block device:&lt;br /&gt;
** &amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt; chmod 666 /dev/dvd&lt;br /&gt;
** The videolan FAQ seems to suggest you need write access to this device - is this true? If you know, please edit this entry.&lt;br /&gt;
* &#039;&#039;Linux:&#039;&#039; Make sure VLC knows where your DVD drive is located (/dev/dvd usually).  Go to Settings | Preferences | Input/Codecs | General and under &amp;quot;Default devices&amp;quot; make sure your dvd drive path is entered in the &amp;quot;Default DVD&amp;quot; box.  When you go to open a DVD, you should see something like &amp;quot;dvd:///dev/dvd&amp;quot; as the Media Resource Locator in the &amp;quot;Open:&amp;quot; box near the top of the Open dialog.&lt;br /&gt;
&lt;br /&gt;
=== Playing DVDs from other Region Codes ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|239426}}&lt;br /&gt;
* The ability to play DVDs from all regions depends mostly on your DVD drive, and testing it is usually the quickest way to find out if your DVD drive can do it. Most newer DVD drives are RPC2 drives, which don&#039;t allow raw access to the drive untill the drive firmware has done a regioncheck. VLC uses libdvdcss and it needs raw access to the DVD drive to crack the encryption key. So with these drives it is impossible to circumvent the region protection. (This goes for all software. You will need to flash your drives firmware, but sometimes there is no alternate firmware available for your drive). On other RPC2 drives that DO allow raw access, it might take VLC a long time to crack the key. So just pop the disc in your drive and try it out, while you get a coffee. RPC1 drives should &#039;always&#039; work regardless of the regioncode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Poor Quality Video and Audio ==&lt;br /&gt;
&lt;br /&gt;
=== The video runs but the picture is distorted ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|238431}}&lt;br /&gt;
* &#039;&#039;Linux:&#039;&#039; There is probably a problem with the output layer. There are several ways of troubleshooting it.&lt;br /&gt;
** First, try with another output plugin, for instance:&lt;br /&gt;
**: % vlc -V sdl&lt;br /&gt;
**: % vlc -V x11&lt;br /&gt;
** Second, change your screen depth and/or definition. It quite often helps.&lt;br /&gt;
** Lastly, if running Unix, have a look at your XFree86 video driver. &lt;br /&gt;
&lt;br /&gt;
=== Video is choppy ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|238474}}&lt;br /&gt;
* Your system may be too slow to decode all pictures. Sometimes, your CPU (computer) really isn&#039;t fast enough, but often the situation can be improved by changing your system configuration to be a bit kinder to VLC.&lt;br /&gt;
** Quit other programs running in the background&lt;br /&gt;
** Turn on DMA on your DVD device:&lt;br /&gt;
*** &#039;&#039;Linux:&#039;&#039;&lt;br /&gt;
***: &amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt; hdparm -d1 /dev/dvd&lt;br /&gt;
*** &#039;&#039;Windows:&#039;&#039; go to the System section of the control panel, and go to the Hardware manager (it is sometimes in a separate tab, and sometimes, you have to go to the Advanced tab. Then, right-click on your DVD player, and check the DMA checkbox. &lt;br /&gt;
** Upgrade to the latest driver for your video board.&lt;br /&gt;
** &#039;&#039;Linux:&#039;&#039; you can additionally upgrade your drivers to the latest XFree86 version. If supported, check that the xvideo plug-in is effectively used with:&lt;br /&gt;
**: % vlc -vvvv&lt;br /&gt;
&lt;br /&gt;
=== Audio and video are out of sync ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|238571}}&lt;br /&gt;
* If you are [[transcoding]] a file, use the [[audio-sync]] option.&lt;br /&gt;
* You can manually set the audio offset while playing (so you can put the audio back in sync). The default keys in Windows are Ctrl+K and Ctrl+L to increase/decrease the delay.&lt;br /&gt;
* &#039;&#039;Linux/Unix:&#039;&#039; Try using another audio output plugin and, under Unix, kill esd or artsd if they are running. If the problem is due to the input file, have a look at the &amp;quot;Audio desynchronization compensation&amp;quot; option.&lt;br /&gt;
&lt;br /&gt;
== Problems with Streaming ==&lt;br /&gt;
&lt;br /&gt;
===&amp;quot;main input error: no suitable access module for `rtsp://...&#039;&amp;quot;===&lt;br /&gt;
&lt;br /&gt;
vlc needs livemedia from &#039;&#039;&#039;live555.com&#039;&#039;&#039; to read rtsp stream this way. &lt;br /&gt;
&lt;br /&gt;
You can check you have it by :&lt;br /&gt;
&lt;br /&gt;
   vlc -l | grep live&lt;br /&gt;
&lt;br /&gt;
It should read&lt;br /&gt;
&lt;br /&gt;
  livedotcom            live.com (RTSP/RTP/SDP) demuxer&lt;br /&gt;
  livedotcom            RTSP/RTP access and demux&lt;br /&gt;
&lt;br /&gt;
If not, you have to install &#039;&#039;&#039;livemedia&#039;&#039;&#039; and point your compilation to this lib directory :&lt;br /&gt;
&lt;br /&gt;
   ./configure &#039;&#039;&#039;--enable-livedotcom --with-livedotcom-tree=/usr/local/lib/live/&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Streaming playlist continuously between files (sout-keep not working)===&lt;br /&gt;
&lt;br /&gt;
you should add gather-module sout-chain, example&lt;br /&gt;
    vlc *mpeg --sout-keep --sout &#039;#gather:transcode{plapla}:rtp{plapla}&#039;&lt;br /&gt;
&lt;br /&gt;
===Streaming 1 playlist item continuously and change input without stream break===&lt;br /&gt;
&lt;br /&gt;
you can use this kinda vlm.conf file and --sout-keep option&lt;br /&gt;
  new output1 broadcast enabled loop&lt;br /&gt;
  setup output1 input &amp;quot;inputfile1.mpeg&amp;quot;&lt;br /&gt;
  setup output1 input &amp;quot;inputfile2.mpeg&amp;quot;&lt;br /&gt;
  setup output1 input &amp;quot;/path/to/inputfile3.mpeg&amp;quot;&lt;br /&gt;
  setup output1 option sout-keep=1&lt;br /&gt;
  setup output1 option input-repeat=-1&lt;br /&gt;
  setup output1 output #gather:transcode{etc...}:std{plapal}&lt;br /&gt;
 &lt;br /&gt;
  control output1 play 2&lt;br /&gt;
&lt;br /&gt;
you then chan telnet into vlm and just command&lt;br /&gt;
  control output1 play &amp;lt;playlistnumber&amp;gt;&lt;br /&gt;
to change streamed input.&lt;br /&gt;
&lt;br /&gt;
===Streaming to Windows Media Player===&lt;br /&gt;
&lt;br /&gt;
See [[Windows Media Player]] for details.&lt;br /&gt;
&lt;br /&gt;
== Problems converting between file formats (transcoding) ==&lt;br /&gt;
&lt;br /&gt;
=== Missing Audio and/or Video ===&lt;br /&gt;
&lt;br /&gt;
* Certain containers (aka muxers) can only hold certain types of video and audio - look at [http://www.videolan.org/streaming/features.html Streaming features]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== VLC Crashes ==&lt;br /&gt;
&lt;br /&gt;
=== General ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|238592}}&lt;br /&gt;
* If VLC crashes, the following steps will help determine the cause.&lt;br /&gt;
** Increase the verbosity level (either in the preferences or with a -vvvv command line option) and look at the debug messages (in the terminal or in the Messages window).&lt;br /&gt;
* If you are convinced that it is a bug in VLC, have a look at the [http://www.videolan.org/support/bug-reporting.html bug reporting page].&lt;br /&gt;
&lt;br /&gt;
=== When using DirectShow (eg Webcam) ===&lt;br /&gt;
&lt;br /&gt;
{{forum|12394}}&lt;br /&gt;
* There was a bug a while back when you tried to stream using a directshow/webcam it would reboot the computer. The fix was to specify the resolution on the command line or in the &amp;quot;Advanced&amp;quot; section when opening the directshow.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Other Problems ==&lt;br /&gt;
&lt;br /&gt;
=== I only want one VLC player! ===&lt;br /&gt;
&lt;br /&gt;
* To use the same VLC player for all the media files, go to Settings, Preferences, Advanced. The following options should give behavior similar to WMP: minimize # of threads, allow only one running instance, VLC is started from file association, allow only &amp;quot;on&amp;quot; running instance when started from file (typo in v0.8.5).&lt;br /&gt;
&lt;br /&gt;
=== Licensing, legal issues and logo use ===&lt;br /&gt;
&lt;br /&gt;
* Information on this is avaliable on the main videolan website, [http://videolan.org videolan.org]. Also read the [http://www.videolan.org/doc/faq/en/index.html#id238663 Legal concerns] section of the [http://www.videolan.org/doc/faq/en/index.html FAQ].&lt;br /&gt;
* This is a wiki site: it is editable by all, so it is best to check to official website.&lt;br /&gt;
&lt;br /&gt;
=== Fixing Strange Behaviour ===&lt;br /&gt;
&lt;br /&gt;
{{faqlink|238992}}&lt;br /&gt;
* The first thing to do is to reset the VLC preferences in the preferences dialog of the application and restart VLC. If VLC doesn&#039;t even start anymore, delete VLC&#039;s configuration file ([[#Configuration File|where is it?]]). Then restart VLC. If it does not get any better, read the rest of this page or FAQ page, or ask for help at the [[forum]].&lt;br /&gt;
&lt;br /&gt;
=== Subtitles Problem ===&lt;br /&gt;
* In the File | Open File dialog, select &amp;quot;Use a subtitles file&amp;quot;, and enter both the video&#039;s filename and the video&#039;s subtitle filename.&lt;br /&gt;
* If you are having displaying the subtitles, the problem might be an encoding problem. Choose the right encoding for your language and it should fix your problem. You&#039;ll find the ISOs here: [http://alis.isoc.org/codage/iso8859/jeuxiso.en.htm]. Once you find a text encoding method that works well for you enter it in Preferences, Input / Codecs, Other codecs, Subtitles then press Save and restart VLC. If you have a specialized language like Hebrew, Arabic, Chinese or Japanese changing the font to a Unicode font will be helpful.&lt;/div&gt;</summary>
		<author><name>EnlightenedTeamster</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Windows_Media_Player&amp;diff=7537</id>
		<title>Windows Media Player</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Windows_Media_Player&amp;diff=7537"/>
		<updated>2007-02-06T20:37:35Z</updated>

		<summary type="html">&lt;p&gt;EnlightenedTeamster: copyedit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{wikipedia|Windows Media Player}}&lt;br /&gt;
Windows Media Player is the standard multimedia player for Microsoft® [[Windows]]® systems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Supported formats=&lt;br /&gt;
&lt;br /&gt;
According to Microsoft® [http://support.microsoft.com/kb/316992 Knowledge Base Article 316992], Windows Media Player supports the following formats &amp;quot;out of the box&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 ! Type&lt;br /&gt;
 ! Supported formats&lt;br /&gt;
|-&lt;br /&gt;
| Microsoft® media formats&lt;br /&gt;
|&lt;br /&gt;
*Advanced Systems Format (.asf)&lt;br /&gt;
*Audio Visual Interleave (.avi)&lt;br /&gt;
*Audio for Windows (.wav)&lt;br /&gt;
*Microsoft® Digital Video Recording (.dvr-ms)&lt;br /&gt;
*Windows Media Audio (.wma)&lt;br /&gt;
*Windows Media Video (.wmv, .wm)&lt;br /&gt;
|-&lt;br /&gt;
| Microsoft® media metafiles&lt;br /&gt;
|&lt;br /&gt;
*Advanced Stream Redirector (.asx)&lt;br /&gt;
*Windows Media Audio Redirector (.wax)&lt;br /&gt;
*Windows Media Download Package (.wmd) &lt;br /&gt;
*Windows Media Player Playlist (.wpl)&lt;br /&gt;
*Windows Media Redirector (.wmx)&lt;br /&gt;
*Windows Media Video Redirector (.wvx)&lt;br /&gt;
|-&lt;br /&gt;
| ISO/IEC (MPEG)&lt;br /&gt;
|&lt;br /&gt;
*MPEG-1 (.mpeg, .mpg, .m1v) &lt;br /&gt;
*MPEG Audio Layer III (.mp3)&lt;br /&gt;
*MPEG Audio Layer II (.mp2, .mpa)&lt;br /&gt;
*Metafile Playlist (.m3u)&lt;br /&gt;
|-&lt;br /&gt;
| Industry standard&lt;br /&gt;
|&lt;br /&gt;
*Audio Interchange File Format ( .aif, .aifc, .aiff) &lt;br /&gt;
*CD Audio Track (.cda)&lt;br /&gt;
*Musical Instrument Digital Interface (.mid, .midi, .rmi) &lt;br /&gt;
*Sun Microsystems and NeXT (.au, .snd)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Common Issues=&lt;br /&gt;
&lt;br /&gt;
==MPEG-2 and MPEG-4 playback==&lt;br /&gt;
&lt;br /&gt;
Microsoft® does not bundle codecs for MPEG-2 or MPEG-4 with Windows and recommends purchasing them as part of a &amp;quot;DVD decoder pack&amp;quot; from a third-party vendor.&lt;br /&gt;
&lt;br /&gt;
The symptom associated with a missing codec is Windows Media Player displaying the cryptic &amp;quot;C00D11CD&amp;quot; error code immediately after opening an MPEG-2 or MPEG-4 coded file or stream.  At that point, you must purchase the appropriate codec, perhaps from Microsoft&#039;s® [http://www.microsoft.com/windows/windowsmedia/player/plugins.aspx list of approved vendors].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Streaming from VLC==&lt;br /&gt;
To date, the only option for streaming from VLC to Windows Media Player is to:&lt;br /&gt;
*Transcode the file or feed into [[WMV]] format&lt;br /&gt;
*Encapsulate the transcoded stream in the [[ASF]] container format&lt;br /&gt;
*Use [[MMS]] or [[MMSH]] for the stream transport&lt;br /&gt;
&lt;br /&gt;
In particular, Windows Media Player does not appear to support UDP, RTSP, or HTTP (except in conjunction with MMSH) transports, MPEG program streams, or MPEG transport streams.&lt;br /&gt;
&lt;br /&gt;
A command-line example may be found in Chapter 4 of the [http://www.videolan.org/doc/streaming-howto/en/ch04.html#id294991 VideoLAN Streaming Howto].  {{forum|255}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Compatability==&lt;br /&gt;
If you discover problems with your Windows Media Player please download the latest version:&lt;br /&gt;
*[http://www.microsoft.com/windows/windowsmedia/download/default.asp?DispLang=en English]&lt;br /&gt;
*[http://www.microsoft.com/windows/windowsmedia/download/default.asp?DispLang=de Deutsch]&lt;br /&gt;
*[http://www.microsoft.com/windows/windowsmedia/download/default.asp?DispLang=fr Français]&lt;br /&gt;
&lt;br /&gt;
{{compat}}&lt;br /&gt;
[[Category:Player]]&lt;/div&gt;</summary>
		<author><name>EnlightenedTeamster</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=MMS&amp;diff=7536</id>
		<title>MMS</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=MMS&amp;diff=7536"/>
		<updated>2007-02-06T20:28:30Z</updated>

		<summary type="html">&lt;p&gt;EnlightenedTeamster: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MMS is a proprietary digital media streaming protocol developed by Microsoft. It is supported in [[Windows Media Player]] and Microsoft® Windows® Media Server v4.0 or later.&lt;br /&gt;
MMSH is MMS over [[HTTP]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Protocols]]&lt;/div&gt;</summary>
		<author><name>EnlightenedTeamster</name></author>
	</entry>
</feed>