glfs/multimedia/videoutils/vlc.xml
Fernando de Oliveira 791213b07a Update to ffmpeg-2.4.1.
VLC-2.1.5 and Transcode-1.1.7: fix build with ffmpeg-2.4.1. Thanks Armin.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@14489 af4574ff-66df-0310-9fd7-8a98e5e911e0
2014-10-04 19:58:39 +00:00

449 lines
15 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY vlc-download-http
"http://download.videolan.org/pub/videolan/vlc/&vlc-version;/vlc-&vlc-version;.tar.xz">
<!ENTITY vlc-download-ftp
"ftp://ftp.videolan.org/pub/videolan/vlc/&vlc-version;/vlc-&vlc-version;.tar.xz">
<!ENTITY vlc-md5sum "3941b561f590cc95ca5e795213cba2f2">
<!ENTITY vlc-size "19 MB">
<!ENTITY vlc-buildsize "494 MB (additional 1 MB for the tests)">
<!ENTITY vlc-time "4.7 SBU (additional less than 0.1 SBU for the tests)">
]>
<sect1 id="vlc" xreflabel="VLC-&vlc-version;">
<?dbhtml filename="vlc.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>VLC-&vlc-version;</title>
<indexterm zone="vlc">
<primary sortas="a-VLC">VLC</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to VLC</title>
<para>
<application>VLC</application> is a media player, streamer, and encoder.
It can play from many inputs like files, network streams, capture device,
desktops, or DVD, SVCD, VCD, and audio CD. It can play most audio and
video codecs (MPEG 1/2/4, H264, VC-1, DivX, WMV, Vorbis, AC3, AAC, etc.),
but can also convert to different formats and/or send streams through the
network.
</para>
&lfs76_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&vlc-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&vlc-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &vlc-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &vlc-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &vlc-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &vlc-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">VLC Dependencies</bridgehead>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="alsa-lib"/>,
<xref linkend="ffmpeg"/>,
<xref linkend="liba52"/>,
<xref linkend="libgcrypt"/>
<xref linkend="libmad"/>,
<xref linkend="lua"/>, and
<xref linkend="x-window-system"/>,
</para>
<bridgehead renderas="sect4">Optional features and packages</bridgehead>
<para role="optional">
<xref linkend="dbus"/>
</para>
<bridgehead renderas="sect4">Optional input plugins</bridgehead>
<para role="optional">
<xref linkend="libdv"/>,
<xref linkend="libdvdcss"/>,
<xref linkend="libdvdread"/>,
<xref linkend="libdvdnav"/>,
<xref linkend="samba"/>,
<ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
<ulink url="http://sourceforge.net/projects/libdc1394/">libdc1394</ulink>,
<ulink url="http://sourceforge.net/projects/libcddb/">libcddb</ulink>,
<ulink url="http://code.google.com/p/libproxy/">libproxy</ulink>,
<ulink url="http://www.live555.com/">Live555</ulink>,
<ulink url="http://sourceforge.net/projects/opencvlibrary/">OpenCV</ulink>,
<ulink url="http://linuxtv.org/downloads/v4l-utils/">Video4Linux</ulink>, and
<ulink url="http://www.gnu.org/software/vcdimager/">VCDImager</ulink>
(requires <ulink url="http://www.gnu.org/software/libcdio/">libcdio</ulink>)
</para>
<bridgehead renderas="sect4">Optional mux/demux plugins</bridgehead>
<para role="optional">
<xref linkend="libogg"/>,
<ulink url="http://code.google.com/p/game-music-emu/">Game Music Emu</ulink>,
<ulink url="http://www.videolan.org/developers/libdvbpsi.html">libdvbpsi</ulink>,
<ulink url="http://downloads.xiph.org/releases/libshout/">libshout</ulink>,
<ulink url="http://dl.matroska.org/downloads/libmatroska/">libmatroska</ulink>
(requires <ulink url="http://dl.matroska.org/downloads/libebml/">libebml</ulink>),
<ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
<ulink url="http://www.musepack.net/">Musepack</ulink>, and
<ulink url="http://sourceforge.net/projects/sidplay2/">sidplay-libs</ulink>,
</para>
<bridgehead renderas="sect4">Optional codec plugins</bridgehead>
<para role="optional">
<xref linkend="faad2"/>,
<xref linkend="flac"/>,
<xref linkend="libass"/>,
<xref linkend="libmpeg2"/>,
<xref linkend="libpng"/>,
<xref linkend="libtheora"/>,
<xref linkend="libva"/>,
<xref linkend="libvorbis"/>,
<xref linkend="opus"/>,
<xref linkend="speex"/>,
<xref linkend="x264"/>,
<ulink url="http://diracvideo.org/download/dirac-research/">Dirac</ulink>,
<ulink url="http://sourceforge.net/projects/fluidsynth/">FluidSynth</ulink>,
<ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
<ulink url="http://code.google.com/p/libkate/">libkate</ulink>,
<ulink url="http://code.google.com/p/libtiger/">libtiger</ulink>,
<ulink url="http://www.khronos.org/openmax/">OpenMAX</ulink>,
<ulink url="http://diracvideo.org/download/schroedinger/">Schroedinger</ulink>,
<ulink url="http://wiki.xiph.org/Tremor">Tremor</ulink>,
<ulink url="http://www.twolame.org/">Twolame</ulink>, and
<ulink url="http://sourceforge.net/projects/zapping/">Zapping VBI</ulink>
</para>
<bridgehead renderas="sect4">Optional video plugins</bridgehead>
<para role="optional">
<xref linkend="aalib"/>,
<xref linkend="fontconfig"/>,
<xref linkend="freetype2"/>,
<xref linkend="fribidi"/>,
<xref linkend="librsvg"/>,
<xref linkend="libvdpau"/>,
<xref linkend="sdl"/>
(with <ulink url="http://www.libsdl.org/projects/SDL_image/">SDL_image</ulink>), and
<ulink url="http://caca.zoy.org/">libcaca</ulink>
</para>
<bridgehead renderas="sect4">Optional audio plugins</bridgehead>
<para role="optional">
<xref linkend="pulseaudio"/>,
<xref linkend="libsamplerate"/>, and
<ulink url="http://jackaudio.org/">JACK</ulink>
</para>
<bridgehead renderas="sect4">Optional interface plugins</bridgehead>
<para role="optional">
<xref linkend="qt4"/> (required for the graphical user interface),
<ulink url="http://pkgbuild.com/~giovanni/libtar/">libtar</ulink>, and
<ulink url="http://www.lirc.org/">LIRC</ulink>
<!--<ulink url="http://www.feep.net/libtar/">libtar</ulink>-->
</para>
<bridgehead renderas="sect4">Optional visualisations and video filter plugins</bridgehead>
<para role="optional">
<ulink url="http://sourceforge.net/projects/goom/">Goom</ulink> and
<ulink url="http://sourceforge.net/projects/projectm/">projectM</ulink>
</para>
<bridgehead renderas="sect4">Optional service discovery plugins</bridgehead>
<para role="optional">
<xref linkend="avahi"/>,
<ulink url="http://sourceforge.net/projects/libmtp/">libmtp</ulink> and
<ulink url="http://sourceforge.net/projects/pupnp/">libupnp</ulink>
</para>
<bridgehead renderas="sect4">Miscellaneous options</bridgehead>
<para role="optional">
<xref linkend="gnutls"/>,
<xref linkend="libnotify"/>,
<xref linkend="libxml2"/>,
<xref linkend="taglib"/>, and
<xref linkend="xdg-utils"/> (runtime)
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/vlc"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of VLC</title>
<para>
Install <application>VLC</application> by running the following commands:
</para>
<screen><userinput>sed -i 's:libsmbclient.h:samba-4.0/&amp;:' modules/access/smb.c &amp;&amp;
./bootstrap &amp;&amp;
sed "s:&lt; 56:&lt; 57:g" -i configure &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<note>
<para>
If the XORG_PREFIX is not /usr, make sure the LIBRARY_PATH
environment variable is set properly when doing the install, For example:
<command>sudo make LIBRARY_PATH=$XORG_PREFIX/lib ... install</command>.
</para>
</note>
<screen role="root"><userinput>make docdir=/usr/share/doc/vlc-&vlc-version; install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/update-icons-and-desktop.xml"/>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>sed -i ...</command>: This sed fixes compilation with
<application>Samba</application> 4.
</para>
<para>
<command>./bootstrap</command>: This command calls autoreconf to generate
m4 macros and prepare Makefiles.
</para>
<para>
<command>sed ... configure</command>: This sed fixes compilation with
<application>ffmpeg</application> 2.4.
</para>
<para>
<option>--disable-lua</option>: Use this switch if you don't have
<application>Lua</application> installed.
</para>
<para>
<option>--disable-mad</option>: Use this switch if you don't
have <application>libmad</application> installed.
</para>
<para>
<option>--disable-avcodec --disable-swscale</option>: Use these switches
if you don't have <application>FFmpeg</application> installed.
</para>
<para>
<option>--disable-a52</option>: Use this switch if you don't have
<application>liba52</application> installed.
</para>
<para>
<option>--disable-xcb</option>: Use this switch if you don't have
<application>X Window System</application> installed.
</para>
<para>
<option>--disable-alsa</option>: Use this switch if you don't have
<application>ALSA</application> installed.
</para>
<para>
<option>--disable-libgcrypt</option>: Use this switch if you don't
have <application>libgcrypt</application> installed.
</para>
<!--
<para>
<option>- -enable-shine</option>: Use this option if you wish to build the
<application>Shine</application> plugin.
</para>
<para>
<option>- -enable-tremor</option>: Use this option if you have
<application>Tremor</application> installed and wish to build the
<application>Tremor</application> plugin.
</para>
<para>
<option>- -enable-aa</option>: Use this option if you have
<application>AAlib</application> installed and wish to build the
<application>AAlib</application> plugin.
</para>
-->
<note>
<para>
There are many options to <application>VLC</application>'s
<command>configure</command> command. Check the
<command>configure --help</command> output for a complete list.
</para>
</note>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
cvlc, nvlc, qvlc, rvlc, svlc, vlc and vlc-wrapper
</seg>
<seg>
libvlccore.so, libvlc.so and several plugins in
/usr/lib/vlc/plugins
</seg>
<seg>
/usr/include/vlc,
/usr/lib/vlc,
/usr/share/vlc and
/usr/share/doc/vlc-&vlc-version;
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="cvlc">
<term><command>cvlc</command></term>
<listitem>
<para>
is a script to run VLC with the dummy interface.
</para>
<indexterm zone="vlc cvlc">
<primary sortas="b-cvlc">cvlc</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="nvlc">
<term><command>nvlc</command></term>
<listitem>
<para>
is a script to run VLC with the ncurses interface.
</para>
<indexterm zone="vlc nvlc">
<primary sortas="b-nvlc">nvlc</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="qvlc">
<term><command>qvlc</command></term>
<listitem>
<para>
is a script to run <application>VLC</application> with the
<application>Qt</application> interface.
</para>
<indexterm zone="vlc qvlc">
<primary sortas="b-qvlc">qvlc</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="rvlc">
<term><command>rvlc</command></term>
<listitem>
<para>
is a script to run <application>VLC</application> with a command
line interface.
</para>
<indexterm zone="vlc rvlc">
<primary sortas="b-rvlc">rvlc</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="svlc">
<term><command>svlc</command></term>
<listitem>
<para>
is a script to run <application>VLC</application> with the skins
interface.
</para>
<indexterm zone="vlc svlc">
<primary sortas="b-svlc">svlc</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="vlc-prog">
<term><command>vlc</command></term>
<listitem>
<para>
is the <application>VLC</application> media player.
</para>
<indexterm zone="vlc vlc-prog">
<primary sortas="b-vlc">vlc</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="vlc-wrapper">
<term><command>vlc-wrapper</command></term>
<listitem>
<para>
is a wrapper to drop privileges with <application>VLC</application>.
</para>
<indexterm zone="vlc vlc-wrapper">
<primary sortas="b-vlc-wrapper">vlc-wrapper</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>