glfs/multimedia/videoutils/vlc.xml
Krejzi d02331f32d fix vaapi links.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11126 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-24 16:03:50 +00:00

430 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 "4f959c0766ada8cea5a72c65fce94ebe">
<!ENTITY vlc-size "18 MB">
<!ENTITY vlc-buildsize "as much as 600 MB, but likely around 500">
<!ENTITY vlc-time "4.0 SBU">
]>
<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>
&lfs72_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">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Required patch:
<ulink url="&patch-root;/vlc-&vlc-version;-opencv_fixes-1.patch"/>
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">VLC Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="dbus"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="alsa-lib"/>,
<xref linkend="ffmpeg"/>,
<xref linkend="gnutls"/>,
<xref linkend="liba52"/>,
<xref linkend="libgcrypt"/>,
<xref linkend="libmad"/> and
<xref linkend="qt"/> (<application>Qt</application> is required for the
graphical user interface; without <application>Qt</application> you will
only be able to use the command line or <application>ncurses</application>
interface)
</para>
<bridgehead renderas="sect4">Optional input drivers and libraries</bridgehead>
<para role="optional">
<ulink url="http://www.mcmurchy.com/minizip/minizip-1.2.7.tar.gz">Minizip</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/libdc1394/">DC1394</ulink>,
<xref linkend="libdv"/>,
<xref linkend="libdvdread"/>,
<xref linkend="libdvdnav"/>,
<ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
<ulink url="http://opencv.willowgarage.com/wiki/">OpenCV</ulink>,
<xref linkend="samba3"/>,
<!-- <xref linkend="gvfs"/>, -->
<ulink url="http://linuxtv.org/downloads/v4l-utils/">Video4Linux</ulink>,
<ulink url="http://www.gnu.org/software/vcdimager/">VCDImager</ulink>
(requires <ulink url="http://www.gnu.org/software/libcdio/">libcdio</ulink>)
and <ulink url="http://libcddb.sourceforge.net/">libcddb</ulink>
</para>
<bridgehead renderas="sect4">Optional mux/demux plugins</bridgehead>
<para role="optional">
<ulink url="http://www.videolan.org/developers/libdvbpsi.html">libdvbpsi</ulink>,
<ulink url="http://code.google.com/p/game-music-emu/">Game Music Emu</ulink>,
<ulink url="http://sourceforge.net/projects/sidplay2/files/sidplay2/">sidplay-libs</ulink>
(with patches located in contrib/src/sidplay2 subdirectory),
<xref linkend="libogg"/>,
<ulink url="http://directory.fsf.org/wiki/Libshout">libshout</ulink>,
<ulink url="http://matroska.org/">libmatroska</ulink>
(requires <ulink url="http://matroska.org/">libebml</ulink>),
<ulink url="http://modplug-xmms.sourceforge.net/">libmodplug</ulink> and
<ulink url="http://www.musepack.net/index.php?pg=home">Musepack</ulink>
</para>
<bridgehead renderas="sect4">Optional codec plugins</bridgehead>
<para role="optional">
<ulink url="http://www.freedesktop.org/wiki/Software/vaapi">libva</ulink>,
<!-- <ulink url="http://sourceforge.net/projects/libshine-fxp/">Shine</ulink>, -->
<ulink url="http://www.khronos.org/openmax/">OpenMAX</ulink>,
<xref linkend="faad2"/>,
<ulink url="http://www.twolame.org/">Twolame</ulink>,
<ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
<xref linkend="flac"/>,
<xref linkend="libmpeg2"/>,
<xref linkend="libvorbis"/>,
<ulink url="http://wiki.xiph.org/Tremor">Tremor</ulink>,
<xref linkend="speex"/>,
<ulink url="http://www.opus-codec.org/">Opus</ulink>,
<xref linkend="libtheora"/>,
<ulink url="http://diracvideo.org/download/dirac-research/">Dirac</ulink>,
<ulink url="http://diracvideo.org/download/schroedinger/">Schroedinger</ulink>,
<xref linkend="libpng"/>,
<ulink url="http://www.videolan.org/developers/x264.html">libx264</ulink>,
<ulink url="http://sourceforge.net/apps/trac/fluidsynth/">FluidSynth</ulink>,
<ulink url="http://zapping.sourceforge.net/ZVBI/index.html">Zapping VBI</ulink>,
<ulink url="http://code.google.com/p/libass/">libass</ulink>,
<ulink url="http://code.google.com/p/libkate/">libkate</ulink> and
<ulink url="http://code.google.com/p/libtiger/">libtiger</ulink>
</para>
<bridgehead renderas="sect4">Optional video plugins</bridgehead>
<para role="optional">
<xref linkend="sdl"/>
(with <ulink url="http://www.libsdl.org/projects/SDL_image/">SDL_image</ulink>),
<xref linkend="freetype2"/>,
<xref linkend="fontconfig"/>,
<xref linkend="fribidi"/>,
<xref linkend="librsvg"/>,
<xref linkend="aalib"/> and
<ulink url="http://caca.zoy.org/">libcaca</ulink>
</para>
<bridgehead renderas="sect4">Optional audio plugins</bridgehead>
<para role="optional">
<xref linkend="pulseaudio"/>,
<ulink url="http://www.portaudio.com/">PortAudio</ulink>,
<ulink url="http://jackaudio.org/">JACK</ulink> and
<ulink url="http://www.mega-nerd.com/SRC/">libsamplerate</ulink>
</para>
<bridgehead renderas="sect4">Optional interface plugins</bridgehead>
<para role="optional">
<ulink url="http://xcb.freedesktop.org/dist/">xcb-util-keysyms</ulink>,
<ulink url="http://www.lirc.org/">LIRC</ulink> and
<ulink url="http://www.feep.net/libtar/">libtar</ulink>
</para>
<bridgehead renderas="sect4">Optional visualization plugins</bridgehead>
<para role="optional">
<ulink url="http://sourceforge.net/projects/goom/">Goom</ulink> and
<ulink url="http://projectm.sourceforge.net/">projectM</ulink>
</para>
<bridgehead renderas="sect4">Optional service discovery plugins</bridgehead>
<para role="optional">
<xref linkend="avahi"/>,
<ulink url="http://libmtp.sourceforge.net/">MTP</ulink> and
<ulink url="http://pupnp.sourceforge.net/">UPnP</ulink>
</para>
<bridgehead renderas="sect4">Optional miscellaneous dependencies</bridgehead>
<para role="optional">
<xref linkend="libxml2"/>,
<xref linkend="taglib"/>,
<xref linkend="libnotify"/>,
<ulink url="http://medialibrary.sourceforge.net/">MediaLibrary</ulink>
(requires <xref linkend="sqlite"/>) and
<ulink url="http://www.lua.org/">Lua</ulink>
</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>patch -Np1 -i ../vlc-&vlc-version;-opencv_fixes-1.patch &amp;&amp;
sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac &amp;&amp;
./bootstrap &amp;&amp;
sed -e "s@LDFLAGS_sid)@&amp; -L/usr/lib/sidplay/builders@g" \
-i modules/demux/Makefile.in &amp;&amp;
./configure --prefix=/usr --disable-lua &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>
<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>./bootstrap</command>: This command is required because the patch
modifies <application>Autotools</application> files and
<application>VLC</application> uses a custom reconfiguration system.
</para>
<para>
<command>sed -e ...</command>: First sed fixes building against the
<application>Sidplay2</application> and second sed fixes bootstrap
with <application>Automake</application> 1.13.
</para>
<para>
<parameter>--disable-lua</parameter>: The package fails to install if
<application>Lua</application> is missing. Omit this option if you have
installed <application>Lua</application>.
</para>
<para>
<option>--disable-avcodec</option>: Use this switch 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-libgcrypt</option>: Use this switch if you don't
have <application>libgcrypt</application> installed.
</para>
<para>
<option>--disable-mad</option>: Use this switch if you don't
have <application>libmad</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-faad</option>: Use this option if you have
<application>FAAD</application> installed and wish to build the
<application>FAAD</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>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
cvlc, qvlc, rvlc, svlc, vlc and vlc-wrapper
</seg>
<seg>
libvlccore.so, libvlc.so and several libraries 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="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>