source: multimedia/videoutils/vlc.xml@ 32d4980

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 32d4980 was 32d4980, checked in by Igor Živković <igor@…>, 11 years ago

Downgraded Lua to version 5.1.5 as too many packages in the book and outside don't support 5.2

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11447 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 14.5 KB
RevLine 
[9681d3f]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY vlc-download-http
[bc6e56d]8 "http://download.videolan.org/pub/videolan/vlc/&vlc-version;/vlc-&vlc-version;.tar.xz">
[9681d3f]9 <!ENTITY vlc-download-ftp
[bc6e56d]10 "ftp://ftp.videolan.org/pub/videolan/vlc/&vlc-version;/vlc-&vlc-version;.tar.xz">
[af1093d]11 <!ENTITY vlc-md5sum "b45be633c71dca04ca7d6c3d64dd728b">
[bc6e56d]12 <!ENTITY vlc-size "18 MB">
[af1093d]13 <!ENTITY vlc-buildsize "as much as 600 MB, but likely around 500 MB">
[bc6e56d]14 <!ENTITY vlc-time "4.0 SBU">
[9681d3f]15]>
16
[09adf3d]17<sect1 id="vlc" xreflabel="VLC-&vlc-version;">
[9681d3f]18 <?dbhtml filename="vlc.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>VLC-&vlc-version;</title>
26
27 <indexterm zone="vlc">
28 <primary sortas="a-VLC">VLC</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to VLC</title>
33
[09b87984]34 <para>
35 <application>VLC</application> is a media player, streamer, and encoder.
36 It can play from many inputs like files, network streams, capture device,
37 desktops, or DVD, SVCD, VCD, and audio CD. It can play most audio and
38 video codecs (MPEG 1/2/4, H264, VC-1, DivX, WMV, Vorbis, AC3, AAC, etc.),
39 but can also convert to different formats and/or send streams through the
40 network.
41 </para>
[9681d3f]42
[6a9e822]43 &lfs73_checked;
[54c019b]44
[9681d3f]45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
[09b87984]48 <para>
49 Download (HTTP): <ulink url="&vlc-download-http;"/>
50 </para>
[9681d3f]51 </listitem>
52 <listitem>
[09b87984]53 <para>
54 Download (FTP): <ulink url="&vlc-download-ftp;"/>
55 </para>
[9681d3f]56 </listitem>
57 <listitem>
[09b87984]58 <para>
59 Download MD5 sum: &vlc-md5sum;
60 </para>
[9681d3f]61 </listitem>
62 <listitem>
[09b87984]63 <para>
64 Download size: &vlc-size;
65 </para>
[9681d3f]66 </listitem>
67 <listitem>
[09b87984]68 <para>
69 Estimated disk space required: &vlc-buildsize;
70 </para>
[9681d3f]71 </listitem>
72 <listitem>
[09b87984]73 <para>
74 Estimated build time: &vlc-time;
75 </para>
[9681d3f]76 </listitem>
77 </itemizedlist>
78
[b1a0a05]79 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
80 <itemizedlist spacing="compact">
81 <listitem>
82 <para>
83 Required patch:
84 <ulink url="&patch-root;/vlc-&vlc-version;-opencv_fixes-1.patch"/>
85 </para>
86 </listitem>
87 </itemizedlist>
88
[9681d3f]89 <bridgehead renderas="sect3">VLC Dependencies</bridgehead>
90
[54c019b]91 <bridgehead renderas="sect4">Recommended</bridgehead>
[7c3af4bb]92 <para role="recommended">
[09b87984]93 <xref linkend="alsa-lib"/>,
[7ccf37f]94 <xref linkend="dbus"/>,
[09b87984]95 <xref linkend="ffmpeg"/>,
[ef9000a]96 <xref linkend="gnutls"/>,
97 <xref linkend="liba52"/>,
98 <xref linkend="libgcrypt"/>,
99 <xref linkend="libmad"/> and
[7af92fe5]100 <xref linkend="qt4"/> (<application>Qt</application> is required for the
[b1a0a05]101 graphical user interface; without <application>Qt</application> you will
102 only be able to use the command line or <application>ncurses</application>
103 interface)
[09b87984]104 </para>
105
106 <bridgehead renderas="sect4">Optional input drivers and libraries</bridgehead>
[9681d3f]107 <para role="optional">
[5059efc]108 <ulink url="http://code.google.com/p/libproxy/">libproxy</ulink>,
[09b87984]109 <ulink url="http://www.live555.com/">Live555</ulink>,
[5059efc]110 <ulink url="http://sourceforge.net/projects/libdc1394/">libdc1394</ulink>,
[09b87984]111 <xref linkend="libdv"/>,
112 <xref linkend="libdvdread"/>,
113 <xref linkend="libdvdnav"/>,
114 <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
115 <ulink url="http://opencv.willowgarage.com/wiki/">OpenCV</ulink>,
116 <xref linkend="samba3"/>,
[b1a0a05]117 <ulink url="http://linuxtv.org/downloads/v4l-utils/">Video4Linux</ulink>,
118 <ulink url="http://www.gnu.org/software/vcdimager/">VCDImager</ulink>
119 (requires <ulink url="http://www.gnu.org/software/libcdio/">libcdio</ulink>)
[5059efc]120 and <ulink url="http://sourceforge.net/projects/libcddb/">libcddb</ulink>
[09b87984]121 </para>
[54c019b]122
123 <bridgehead renderas="sect4">Optional mux/demux plugins</bridgehead>
[9681d3f]124 <para role="optional">
[b1a0a05]125 <ulink url="http://www.videolan.org/developers/libdvbpsi.html">libdvbpsi</ulink>,
[09b87984]126 <ulink url="http://code.google.com/p/game-music-emu/">Game Music Emu</ulink>,
[5059efc]127 <ulink url="http://sourceforge.net/projects/sidplay2/">sidplay-libs</ulink>,
[09b87984]128 <xref linkend="libogg"/>,
[5059efc]129 <ulink url="http://downloads.xiph.org/releases/libshout/">libshout</ulink>,
130 <ulink url="http://dl.matroska.org/downloads/libmatroska/">libmatroska</ulink>
131 (requires <ulink url="http://dl.matroska.org/downloads/libebml/">libebml</ulink>),
132 <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink> and
133 <ulink url="http://www.musepack.net/">Musepack</ulink>
[09b87984]134 </para>
[9681d3f]135
136 <bridgehead renderas="sect4">Optional codec plugins</bridgehead>
137 <para role="optional">
[d02331f]138 <ulink url="http://www.freedesktop.org/wiki/Software/vaapi">libva</ulink>,
[b1a0a05]139 <ulink url="http://www.khronos.org/openmax/">OpenMAX</ulink>,
[09b87984]140 <xref linkend="faad2"/>,
141 <ulink url="http://www.twolame.org/">Twolame</ulink>,
142 <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
143 <xref linkend="flac"/>,
144 <xref linkend="libmpeg2"/>,
145 <xref linkend="libvorbis"/>,
[b1a0a05]146 <ulink url="http://wiki.xiph.org/Tremor">Tremor</ulink>,
[09b87984]147 <xref linkend="speex"/>,
[5059efc]148 <ulink url="http://downloads.xiph.org/releases/opus/">Opus</ulink>,
[09b87984]149 <xref linkend="libtheora"/>,
150 <ulink url="http://diracvideo.org/download/dirac-research/">Dirac</ulink>,
151 <ulink url="http://diracvideo.org/download/schroedinger/">Schroedinger</ulink>,
152 <xref linkend="libpng"/>,
153 <ulink url="http://www.videolan.org/developers/x264.html">libx264</ulink>,
[5059efc]154 <ulink url="http://sourceforge.net/projects/fluidsynth/">FluidSynth</ulink>,
155 <ulink url="http://sourceforge.net/projects/zapping/">Zapping VBI</ulink>,
[09b87984]156 <ulink url="http://code.google.com/p/libass/">libass</ulink>,
157 <ulink url="http://code.google.com/p/libkate/">libkate</ulink> and
[e7fad06]158 <ulink url="http://code.google.com/p/libtiger/">libtiger</ulink>
[09b87984]159 </para>
[54c019b]160
[9681d3f]161 <bridgehead renderas="sect4">Optional video plugins</bridgehead>
162 <para role="optional">
[b1a0a05]163 <xref linkend="sdl"/>
164 (with <ulink url="http://www.libsdl.org/projects/SDL_image/">SDL_image</ulink>),
[09b87984]165 <xref linkend="freetype2"/>,
166 <xref linkend="fontconfig"/>,
[b1a0a05]167 <xref linkend="fribidi"/>,
168 <xref linkend="librsvg"/>,
[09b87984]169 <xref linkend="aalib"/> and
[e7fad06]170 <ulink url="http://caca.zoy.org/">libcaca</ulink>
[09b87984]171 </para>
[54c019b]172
[9681d3f]173 <bridgehead renderas="sect4">Optional audio plugins</bridgehead>
174 <para role="optional">
[09b87984]175 <xref linkend="pulseaudio"/>,
176 <ulink url="http://www.portaudio.com/">PortAudio</ulink>,
177 <ulink url="http://jackaudio.org/">JACK</ulink> and
[5059efc]178 <xref linkend="libsamplerate"/>
[09b87984]179 </para>
[54c019b]180
[9681d3f]181 <bridgehead renderas="sect4">Optional interface plugins</bridgehead>
[09b87984]182 <para role="optional">
[5059efc]183 <xref linkend="xcb-util-keysyms"/>,
[09b87984]184 <ulink url="http://www.lirc.org/">LIRC</ulink> and
[e7fad06]185 <ulink url="http://www.feep.net/libtar/">libtar</ulink>
[09b87984]186 </para>
[54c019b]187
[9681d3f]188 <bridgehead renderas="sect4">Optional visualization plugins</bridgehead>
189 <para role="optional">
[09b87984]190 <ulink url="http://sourceforge.net/projects/goom/">Goom</ulink> and
[5059efc]191 <ulink url="http://sourceforge.net/projects/projectm/">projectM</ulink>
[09b87984]192 </para>
[54c019b]193
[9681d3f]194 <bridgehead renderas="sect4">Optional service discovery plugins</bridgehead>
195 <para role="optional">
[b1a0a05]196 <xref linkend="avahi"/>,
[5059efc]197 <ulink url="http://sourceforge.net/projects/libmtp/">libmtp</ulink> and
198 <ulink url="http://sourceforge.net/projects/pupnp/">libupnp</ulink>
[09b87984]199 </para>
[54c019b]200
[09b87984]201 <bridgehead renderas="sect4">Optional miscellaneous dependencies</bridgehead>
[9681d3f]202 <para role="optional">
[b1a0a05]203 <xref linkend="libxml2"/>,
[0d7900a]204 <xref linkend="taglib"/>,
[b1a0a05]205 <xref linkend="libnotify"/>,
[5059efc]206 <ulink url="http://sourceforge.net/projects/medialibrary/">MediaLibrary</ulink>
[b1a0a05]207 (requires <xref linkend="sqlite"/>) and
[32d4980]208 <xref linkend="lua"/>
[09b87984]209 </para>
210
211 <para condition="html" role="usernotes">
212 User Notes: <ulink url="&blfs-wiki;/vlc"/>
213 </para>
[9681d3f]214 </sect2>
215
216 <sect2 role="installation">
217 <title>Installation of VLC</title>
218
[09b87984]219 <para>
220 Install <application>VLC</application> by running the following commands:
221 </para>
[9681d3f]222
[b1a0a05]223<screen><userinput>patch -Np1 -i ../vlc-&vlc-version;-opencv_fixes-1.patch &amp;&amp;
[58cd150]224sed -i '/#include/s:stream_:FLAC/&amp;:' modules/codec/flac.c &amp;&amp;
[b1a0a05]225./bootstrap &amp;&amp;
226
227./configure --prefix=/usr --disable-lua &amp;&amp;
[9681d3f]228make</userinput></screen>
229
[09b87984]230 <para>
[af1093d]231 To test the results, issue: <command>make check</command>.
[09b87984]232 </para>
[9681d3f]233
[09b87984]234 <para>
235 Now, as the <systemitem class="username">root</systemitem> user:
236 </para>
[9681d3f]237
[b1a0a05]238<screen role="root"><userinput>make docdir=/usr/share/doc/vlc-&vlc-version; install</userinput></screen>
239
240 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
241 href="../../xincludes/update-icons-and-desktop.xml"/>
[9681d3f]242 </sect2>
243
244 <sect2 role="commands">
245 <title>Command Explanations</title>
246
[58cd150]247 <para>
248 <command>sed -i ...</command>: This command fixes compilation with
249 <xref linkend="flac"/>.
250 </para>
251
[b1a0a05]252 <para>
253 <command>./bootstrap</command>: This command is required because the patch
254 modifies <application>Autotools</application> files and
255 <application>VLC</application> uses a custom reconfiguration system.
256 </para>
257
[09b87984]258 <para>
259 <parameter>--disable-lua</parameter>: The package fails to install if
260 <application>Lua</application> is missing. Omit this option if you have
261 installed <application>Lua</application>.
262 </para>
263
[7ccf37f]264 <para>
[c1a0390]265 <option>--disable-dbus</option>: The package fails to install if
[7ccf37f]266 <application>D-Bus</application> is missing. Use this switch if you don't
267 have <application>D-Bus</application> installed.
268 </para>
269
[09b87984]270 <para>
[0d7900a]271 <option>--disable-avcodec</option>: Use this switch if you don't
[09b87984]272 have <application>FFmpeg</application> installed.
273 </para>
274
275 <para>
[b1a0a05]276 <option>--disable-a52</option>: Use this switch if you don't have
[ef9000a]277 <application>liba52</application> installed.
[09b87984]278 </para>
279
280 <para>
[b1a0a05]281 <option>--disable-libgcrypt</option>: Use this switch if you don't
[ef9000a]282 have <application>libgcrypt</application> installed.
283 </para>
284
285 <para>
[0d7900a]286 <option>--disable-mad</option>: Use this switch if you don't
[ef9000a]287 have <application>libmad</application> installed.
[09b87984]288 </para>
[ef9000a]289
[b1a0a05]290 <para>
291 <option>--enable-shine</option>: Use this option if you wish to build the
292 <application>Shine</application> plugin.
293 </para>
294
295 <para>
296 <option>--enable-faad</option>: Use this option if you have
297 <application>FAAD</application> installed and wish to build the
298 <application>FAAD</application> plugin.
299 </para>
300
301 <para>
302 <option>--enable-tremor</option>: Use this option if you have
303 <application>Tremor</application> installed and wish to build the
304 <application>Tremor</application> plugin.
305 </para>
306
307 <para>
308 <option>--enable-aa</option>: Use this option if you have
309 <application>AAlib</application> installed and wish to build the
310 <application>AAlib</application> plugin.
311 </para>
312
[9681d3f]313 </sect2>
314
315 <sect2 role="content">
316 <title>Contents</title>
317
318 <segmentedlist>
319 <segtitle>Installed Programs</segtitle>
320 <segtitle>Installed Libraries</segtitle>
321 <segtitle>Installed Directories</segtitle>
322
323 <seglistitem>
[bfa83aee]324 <seg>
325 cvlc, qvlc, rvlc, svlc, vlc and vlc-wrapper
326 </seg>
327 <seg>
328 libvlccore.so, libvlc.so and several libraries in
329 /usr/lib/vlc/plugins
330 </seg>
331 <seg>
332 /usr/include/vlc,
[b1a0a05]333 /usr/lib/vlc,
[bfa83aee]334 /usr/share/vlc and
[b1a0a05]335 /usr/share/doc/vlc-&vlc-version;
[bfa83aee]336 </seg>
[9681d3f]337 </seglistitem>
338 </segmentedlist>
339
340 <variablelist>
341 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
342 <?dbfo list-presentation="list"?>
343 <?dbhtml list-presentation="table"?>
344
345 <varlistentry id="cvlc">
346 <term><command>cvlc</command></term>
347 <listitem>
[09b87984]348 <para>
349 is a script to run VLC with the dummy interface.
350 </para>
[9681d3f]351 <indexterm zone="vlc cvlc">
352 <primary sortas="b-cvlc">cvlc</primary>
353 </indexterm>
354 </listitem>
355 </varlistentry>
356
357 <varlistentry id="qvlc">
358 <term><command>qvlc</command></term>
359 <listitem>
[09b87984]360 <para>
361 is a script to run <application>VLC</application> with the
[d99d728]362 <application>Qt</application> interface.
[09b87984]363 </para>
[9681d3f]364 <indexterm zone="vlc qvlc">
365 <primary sortas="b-qvlc">qvlc</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
369
370 <varlistentry id="rvlc">
371 <term><command>rvlc</command></term>
372 <listitem>
[09b87984]373 <para>
374 is a script to run <application>VLC</application> with a command
375 line interface.
376 </para>
[9681d3f]377 <indexterm zone="vlc rvlc">
378 <primary sortas="b-rvlc">rvlc</primary>
379 </indexterm>
380 </listitem>
381 </varlistentry>
382
383 <varlistentry id="svlc">
384 <term><command>svlc</command></term>
385 <listitem>
[09b87984]386 <para>
387 is a script to run <application>VLC</application> with the skins
388 interface.
389 </para>
[9681d3f]390 <indexterm zone="vlc svlc">
391 <primary sortas="b-svlc">svlc</primary>
392 </indexterm>
393 </listitem>
394 </varlistentry>
395
396 <varlistentry id="vlc-prog">
397 <term><command>vlc</command></term>
398 <listitem>
[09b87984]399 <para>
400 is the <application>VLC</application> media player.
401 </para>
[9681d3f]402 <indexterm zone="vlc vlc-prog">
403 <primary sortas="b-vlc">vlc</primary>
404 </indexterm>
405 </listitem>
406 </varlistentry>
407
408 <varlistentry id="vlc-wrapper">
409 <term><command>vlc-wrapper</command></term>
410 <listitem>
[09b87984]411 <para>
[bfa83aee]412 is a wrapper to drop privileges with <application>VLC</application>.
[09b87984]413 </para>
[9681d3f]414 <indexterm zone="vlc vlc-wrapper">
415 <primary sortas="b-vlc-wrapper">vlc-wrapper</primary>
416 </indexterm>
417 </listitem>
418 </varlistentry>
[bfa83aee]419
[9681d3f]420 </variablelist>
[bfa83aee]421
[9681d3f]422 </sect2>
[bfa83aee]423
[9681d3f]424</sect1>
Note: See TracBrowser for help on using the repository browser.