source: multimedia/videoutils/vlc.xml@ ba84b99

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ba84b99 was ae5a7024, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • Lua-5.3.2 and VLC-2.2.2 need to be compiled with Lua compat 5.1

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

  • Property mode set to 100644
File size: 16.6 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
[44ccd75]7 <!ENTITY vlc-download-http "http://download.videolan.org/vlc/&vlc-version;/vlc-&vlc-version;.tar.xz">
8 <!ENTITY vlc-download-ftp " ">
9<!-- <!ENTITY vlc-download-ftp "ftp://ftp.videolan.org/pub/videolan/vlc/&vlc-version;/vlc-&vlc-version;.tar.xz">-->
[f6d40b7d]10 <!ENTITY vlc-md5sum "f98d60f0f59ef72b6e3407f2ff09bda6">
11 <!ENTITY vlc-size "22 MB">
12 <!ENTITY vlc-buildsize "679 MB (with tests)">
13 <!ENTITY vlc-time "4.4 SBU (with tests)">
[9681d3f]14]>
15
[09adf3d]16<sect1 id="vlc" xreflabel="VLC-&vlc-version;">
[9681d3f]17 <?dbhtml filename="vlc.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>VLC-&vlc-version;</title>
25
26 <indexterm zone="vlc">
27 <primary sortas="a-VLC">VLC</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to VLC</title>
32
[09b87984]33 <para>
34 <application>VLC</application> is a media player, streamer, and encoder.
[8b9ad6e]35 It can play from many inputs, such as files, network streams, capture
[c607f16]36 devices, desktops, or DVD, SVCD, VCD, and audio CD. It can use most audio
[8b9ad6e]37 and video codecs (MPEG 1/2/4, H264, VC-1, DivX, WMV, Vorbis, AC3, AAC,
38 etc.), and it can also convert to different formats and/or send streams
[c607f16]39 through the network.
[09b87984]40 </para>
[9681d3f]41
[388cba2]42 &lfs78_checked;
[54c019b]43
[9681d3f]44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
[09b87984]47 <para>
48 Download (HTTP): <ulink url="&vlc-download-http;"/>
49 </para>
[9681d3f]50 </listitem>
51 <listitem>
[09b87984]52 <para>
53 Download (FTP): <ulink url="&vlc-download-ftp;"/>
54 </para>
[9681d3f]55 </listitem>
56 <listitem>
[09b87984]57 <para>
58 Download MD5 sum: &vlc-md5sum;
59 </para>
[9681d3f]60 </listitem>
61 <listitem>
[09b87984]62 <para>
63 Download size: &vlc-size;
64 </para>
[9681d3f]65 </listitem>
66 <listitem>
[09b87984]67 <para>
68 Estimated disk space required: &vlc-buildsize;
69 </para>
[9681d3f]70 </listitem>
71 <listitem>
[09b87984]72 <para>
73 Estimated build time: &vlc-time;
74 </para>
[9681d3f]75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">VLC Dependencies</bridgehead>
79
[54c019b]80 <bridgehead renderas="sect4">Recommended</bridgehead>
[7c3af4bb]81 <para role="recommended">
[b9edd3d5]82 <xref linkend="alsa-lib"/>,
[09b87984]83 <xref linkend="ffmpeg"/>,
[ef9000a]84 <xref linkend="liba52"/>,
[6537ed7e]85 <xref linkend="libgcrypt"/>
[b9edd3d5]86 <xref linkend="libmad"/>,
87 <xref linkend="lua"/>, and
88 <xref linkend="x-window-system"/>,
[09b87984]89 </para>
90
[54666831]91 <bridgehead renderas="sect4">Optional features and packages</bridgehead>
92 <para role="optional">
93 <xref linkend="dbus"/>
94 </para>
95
[6537ed7e]96 <bridgehead renderas="sect4">Optional input plugins</bridgehead>
[9681d3f]97 <para role="optional">
[b9edd3d5]98
[09b87984]99 <xref linkend="libdv"/>,
[e6142956]100 <xref linkend="libdvdcss"/>,
[09b87984]101 <xref linkend="libdvdread"/>,
102 <xref linkend="libdvdnav"/>,
[d42f02c6]103 <xref linkend="opencv"/>,
[b9edd3d5]104 <xref linkend="samba"/>,
[80dbc4c8]105 <xref linkend="v4l-utils"/>,
[09b87984]106 <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
[b9edd3d5]107 <ulink url="http://sourceforge.net/projects/libdc1394/">libdc1394</ulink>,
108 <ulink url="http://sourceforge.net/projects/libcddb/">libcddb</ulink>,
[f6d40b7d]109 <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>,
[d42f02c6]110 <ulink url="http://www.live555.com/">Live555</ulink>, and
[b1a0a05]111 <ulink url="http://www.gnu.org/software/vcdimager/">VCDImager</ulink>
[f90448e]112 (requires <xref linkend="libcdio"/>)
[09b87984]113 </para>
[54c019b]114
115 <bridgehead renderas="sect4">Optional mux/demux plugins</bridgehead>
[9681d3f]116 <para role="optional">
[09b87984]117 <xref linkend="libogg"/>,
[f6d40b7d]118 <ulink url="https://github.com/kode54/Game_Music_Emu">Game Music Emu</ulink>,
[b9edd3d5]119 <ulink url="http://www.videolan.org/developers/libdvbpsi.html">libdvbpsi</ulink>,
[5059efc]120 <ulink url="http://downloads.xiph.org/releases/libshout/">libshout</ulink>,
121 <ulink url="http://dl.matroska.org/downloads/libmatroska/">libmatroska</ulink>
122 (requires <ulink url="http://dl.matroska.org/downloads/libebml/">libebml</ulink>),
[b9edd3d5]123 <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
124 <ulink url="http://www.musepack.net/">Musepack</ulink>, and
[f6d40b7d]125 <ulink url="http://sourceforge.net/projects/sidplay2/">sidplay-libs</ulink>
[09b87984]126 </para>
[9681d3f]127
128 <bridgehead renderas="sect4">Optional codec plugins</bridgehead>
129 <para role="optional">
[09b87984]130 <xref linkend="faad2"/>,
131 <xref linkend="flac"/>,
[b9edd3d5]132 <xref linkend="libass"/>,
[09b87984]133 <xref linkend="libmpeg2"/>,
[b9edd3d5]134 <xref linkend="libpng"/>,
135 <xref linkend="libtheora"/>,
136 <xref linkend="libva"/>,
[09b87984]137 <xref linkend="libvorbis"/>,
[1379348]138 <xref linkend="opus"/>,
[b9edd3d5]139 <xref linkend="speex"/>,
[7f2dfa0]140 <xref linkend="x264"/>,
[f6d40b7d]141 <ulink url="http://sourceforge.net/projects/dirac/">Dirac</ulink>,
[5059efc]142 <ulink url="http://sourceforge.net/projects/fluidsynth/">FluidSynth</ulink>,
[b9edd3d5]143 <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
144 <ulink url="http://code.google.com/p/libkate/">libkate</ulink>,
[f6d40b7d]145 <!--<ulink url="http://code.google.com/p/libtiger/">libtiger</ulink>,-->
[b9edd3d5]146 <ulink url="http://www.khronos.org/openmax/">OpenMAX</ulink>,
[f6d40b7d]147 <ulink url="http://sourceforge.net/projects/schrodinger/">Schroedinger</ulink>,
[b9edd3d5]148 <ulink url="http://wiki.xiph.org/Tremor">Tremor</ulink>,
149 <ulink url="http://www.twolame.org/">Twolame</ulink>, and
150 <ulink url="http://sourceforge.net/projects/zapping/">Zapping VBI</ulink>
[09b87984]151 </para>
[54c019b]152
[9681d3f]153 <bridgehead renderas="sect4">Optional video plugins</bridgehead>
154 <para role="optional">
[b9edd3d5]155 <xref linkend="aalib"/>,
[09b87984]156 <xref linkend="fontconfig"/>,
[b9edd3d5]157 <xref linkend="freetype2"/>,
[b1a0a05]158 <xref linkend="fribidi"/>,
159 <xref linkend="librsvg"/>,
[b9edd3d5]160 <xref linkend="libvdpau"/>,
161 <xref linkend="sdl"/>
162 (with <ulink url="http://www.libsdl.org/projects/SDL_image/">SDL_image</ulink>), and
[e7fad06]163 <ulink url="http://caca.zoy.org/">libcaca</ulink>
[09b87984]164 </para>
[54c019b]165
[9681d3f]166 <bridgehead renderas="sect4">Optional audio plugins</bridgehead>
167 <para role="optional">
[09b87984]168 <xref linkend="pulseaudio"/>,
[b9edd3d5]169 <xref linkend="libsamplerate"/>, and
170 <ulink url="http://jackaudio.org/">JACK</ulink>
[09b87984]171 </para>
[54c019b]172
[9681d3f]173 <bridgehead renderas="sect4">Optional interface plugins</bridgehead>
[09b87984]174 <para role="optional">
[6537ed7e]175 <xref linkend="qt4"/> (required for the graphical user interface),
[f6d40b7d]176 <xref linkend="qt5"/> (for some plugins, but currently broken with
177 Qt-5.5),
[b9edd3d5]178 <ulink url="http://pkgbuild.com/~giovanni/libtar/">libtar</ulink>, and
179 <ulink url="http://www.lirc.org/">LIRC</ulink>
[0455ea7]180 <!--<ulink url="http://www.feep.net/libtar/">libtar</ulink>-->
[09b87984]181 </para>
[54c019b]182
[6537ed7e]183 <bridgehead renderas="sect4">Optional visualisations and video filter plugins</bridgehead>
[9681d3f]184 <para role="optional">
[09b87984]185 <ulink url="http://sourceforge.net/projects/goom/">Goom</ulink> and
[5059efc]186 <ulink url="http://sourceforge.net/projects/projectm/">projectM</ulink>
[09b87984]187 </para>
[54c019b]188
[9681d3f]189 <bridgehead renderas="sect4">Optional service discovery plugins</bridgehead>
190 <para role="optional">
[b1a0a05]191 <xref linkend="avahi"/>,
[5059efc]192 <ulink url="http://sourceforge.net/projects/libmtp/">libmtp</ulink> and
193 <ulink url="http://sourceforge.net/projects/pupnp/">libupnp</ulink>
[09b87984]194 </para>
[54c019b]195
[df30bbc3]196 <bridgehead renderas="sect4">Miscellaneous options</bridgehead>
[9681d3f]197 <para role="optional">
[6537ed7e]198 <xref linkend="gnutls"/>,
[b9edd3d5]199 <xref linkend="libnotify"/>,
[b1a0a05]200 <xref linkend="libxml2"/>,
[b9edd3d5]201 <xref linkend="taglib"/>, and
[e351dd1]202 <xref linkend="xdg-utils"/> (runtime)
[09b87984]203 </para>
204
205 <para condition="html" role="usernotes">
206 User Notes: <ulink url="&blfs-wiki;/vlc"/>
207 </para>
[9681d3f]208 </sect2>
209
210 <sect2 role="installation">
211 <title>Installation of VLC</title>
212
[f6d40b7d]213 <para>
214 If both Qt4 and Qt5 are installed, Qt5 has to be hidden from
215 <envar>PKG_CONFIG_PATH</envar>, due to a bug. Temporarily do it, issuing:
216 </para>
217
218<screen><userinput>SAVEPATH=$PKG_CONFIG_PATH &amp;&amp;
219PKG_CONFIG_PATH="\
220`echo $PKG_CONFIG_PATH | sed 's@:/opt/qt5/lib/pkgconfig@@'`"</userinput></screen>
221
[ae5a7024]222 <para>
223 If you wish to avoid thousands of annoying warnings, issue:
224 </para>
225
226<screen><userinput>sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac</userinput></screen>
227
[09b87984]228 <para>
229 Install <application>VLC</application> by running the following commands:
230 </para>
[9681d3f]231
[8b9ad6e]232<screen><userinput>sed -e 's:libsmbclient.h:samba-4.0/&amp;:' \
233 -i modules/access/smb.c &amp;&amp;
[646a42e]234
[d42f02c6]235sed -e '/LUA_C/ i #define LUA_COMPAT_APIINTCASTS' \
236 -i modules/lua/vlc.h &amp;&amp;
237
[d45a8367]238sed -e '/core.h/ {
239 a #include &lt;opencv2/imgproc/imgproc_c.h&gt;
240 a #include &lt;opencv2/imgproc/imgproc.hpp&gt;
241 }' \
242 -i modules/video_filter/opencv_example.cpp &amp;&amp;
243
[68d5b0e]244./bootstrap &amp;&amp;
[8b9ad6e]245
[d45a8367]246OPENCV_LIBS="-L/usr/share/OpenCV" \
247./configure --prefix=/usr &amp;&amp;
[8b9ad6e]248
[d42f02c6]249sed -e '/seems to be moved/s/^/#/' \
[ae5a7024]250 -i autotools/ltmain.sh libtool &amp;&amp;</userinput></screen>
251
252 <para>
253 In order to build with Lua 5.1 compatiblity, issue:
254 </para>
[646a42e]255
[ae5a7024]256<screen><userinput>CFLAGS='-fPIC -O2 -Wall -Wextra -DLUA_COMPAT_5_1' make </userinput></screen>
[9681d3f]257
[09b87984]258 <para>
[f6d40b7d]259 Again, if both Qt4 and 5 are installed, restore
260 <envar>PKG_CONFIG_PATH</envar>:
261 </para>
262
263<screen><userinput>PKG_CONFIG_PATH=$SAVEPATH &amp;&amp;
264unset SAVEPATH</userinput></screen>
265
266 <para>
267 To test the results, issue: <command>make -k check</command>. Tests must be
268 run from an active X session. One test fails for unknown reasons.
[09b87984]269 </para>
[9681d3f]270
[09b87984]271 <para>
272 Now, as the <systemitem class="username">root</systemitem> user:
273 </para>
[9681d3f]274
[10030e39]275 <note>
276 <para>
277 If the XORG_PREFIX is not /usr, make sure the LIBRARY_PATH
278 environment variable is set properly when doing the install, For example:
279 <command>sudo make LIBRARY_PATH=$XORG_PREFIX/lib ... install</command>.
280 </para>
281 </note>
282
[b1a0a05]283<screen role="root"><userinput>make docdir=/usr/share/doc/vlc-&vlc-version; install</userinput></screen>
284
285 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
286 href="../../xincludes/update-icons-and-desktop.xml"/>
[03886fd]287
[9681d3f]288 </sect2>
289
290 <sect2 role="commands">
291 <title>Command Explanations</title>
292
[58cd150]293 <para>
[03886fd]294 <command>sed -i ...</command>: This sed fixes compilation with
[6537ed7e]295 <application>Samba</application> 4.
[58cd150]296 </para>
297
[d42f02c6]298 <para>
299 <command>sed -e ... -i modules/lua/vlc.h</command> This sed fixes
300 compilation with <application>lua</application> 5.3.
301 </para>
302
[d45a8367]303 <para>
304 <command>sed -e ... -i modules/video_filter/opencv_example.cpp</command>
305 This sed partially fixes compilation with
306 <application>OpenCV</application> 3.
307 </para>
308
309 <para>
310 <envar>OPENCV_LIBS="-L/usr/share/OpenCV"</envar> This environment variable
311 helps the linker to find <filename>libippicv.a</filename> installed by
312 <application>OpenCV</application> 3.
313 </para>
314
[b1a0a05]315 <para>
[6537ed7e]316 <command>./bootstrap</command>: This command calls autoreconf to generate
317 m4 macros and prepare Makefiles.
[b1a0a05]318 </para>
319
[646a42e]320 <para>
[d42f02c6]321 <command>sed -e ... -i.orig autotools/ltmain.sh libtool</command>: This
322 optional sed removes a lot of invalid build warnings.
323 If desired, remove it.
[646a42e]324 </para>
325
326 <para>
[d45a8367]327 <option>--enable-opencv=no</option>: This switch disables
328 <application>OpenCV</application> suport.
[646a42e]329 </para>
330
[09b87984]331 <para>
[8e8f919c]332 <option>--disable-lua</option>: Use this switch if you don't have
333 <application>Lua</application> installed.
[09b87984]334 </para>
335
[7ccf37f]336 <para>
[6537ed7e]337 <option>--disable-mad</option>: Use this switch if you don't
338 have <application>libmad</application> installed.
[7ccf37f]339 </para>
340
[09b87984]341 <para>
[6537ed7e]342 <option>--disable-avcodec --disable-swscale</option>: Use these switches
343 if you don't have <application>FFmpeg</application> installed.
[09b87984]344 </para>
345
346 <para>
[b1a0a05]347 <option>--disable-a52</option>: Use this switch if you don't have
[ef9000a]348 <application>liba52</application> installed.
[09b87984]349 </para>
350
351 <para>
[6537ed7e]352 <option>--disable-xcb</option>: Use this switch if you don't have
353 <application>X Window System</application> installed.
[ef9000a]354 </para>
355
356 <para>
[6537ed7e]357 <option>--disable-alsa</option>: Use this switch if you don't have
358 <application>ALSA</application> installed.
[09b87984]359 </para>
[ef9000a]360
[b1a0a05]361 <para>
[6537ed7e]362 <option>--disable-libgcrypt</option>: Use this switch if you don't
363 have <application>libgcrypt</application> installed.
[b1a0a05]364 </para>
365
[6537ed7e]366<!--
[b1a0a05]367 <para>
[6537ed7e]368 <option>- -enable-shine</option>: Use this option if you wish to build the
369 <application>Shine</application> plugin.
[b1a0a05]370 </para>
371
372 <para>
[6537ed7e]373 <option>- -enable-tremor</option>: Use this option if you have
[b1a0a05]374 <application>Tremor</application> installed and wish to build the
375 <application>Tremor</application> plugin.
376 </para>
377
378 <para>
[6537ed7e]379 <option>- -enable-aa</option>: Use this option if you have
[b1a0a05]380 <application>AAlib</application> installed and wish to build the
381 <application>AAlib</application> plugin.
382 </para>
[6537ed7e]383-->
384
385 <note>
386 <para>
387 There are many options to <application>VLC</application>'s
388 <command>configure</command> command. Check the
389 <command>configure --help</command> output for a complete list.
390 </para>
391 </note>
[b1a0a05]392
[9681d3f]393 </sect2>
394
395 <sect2 role="content">
396 <title>Contents</title>
397
398 <segmentedlist>
399 <segtitle>Installed Programs</segtitle>
400 <segtitle>Installed Libraries</segtitle>
401 <segtitle>Installed Directories</segtitle>
402
403 <seglistitem>
[bfa83aee]404 <seg>
[6537ed7e]405 cvlc, nvlc, qvlc, rvlc, svlc, vlc and vlc-wrapper
[bfa83aee]406 </seg>
407 <seg>
[f0c8209a]408 libvlccore.so, libvlc.so and several plugins in
[bfa83aee]409 /usr/lib/vlc/plugins
410 </seg>
411 <seg>
[f6d40b7d]412 /usr/{include,lib,share}/vlc and
[b1a0a05]413 /usr/share/doc/vlc-&vlc-version;
[bfa83aee]414 </seg>
[9681d3f]415 </seglistitem>
416 </segmentedlist>
417
418 <variablelist>
419 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
420 <?dbfo list-presentation="list"?>
421 <?dbhtml list-presentation="table"?>
422
423 <varlistentry id="cvlc">
424 <term><command>cvlc</command></term>
425 <listitem>
[09b87984]426 <para>
427 is a script to run VLC with the dummy interface.
428 </para>
[9681d3f]429 <indexterm zone="vlc cvlc">
430 <primary sortas="b-cvlc">cvlc</primary>
431 </indexterm>
[6537ed7e]432 </listitem>
433 </varlistentry>
434
435 <varlistentry id="nvlc">
436 <term><command>nvlc</command></term>
437 <listitem>
438 <para>
439 is a script to run VLC with the ncurses interface.
440 </para>
441 <indexterm zone="vlc nvlc">
442 <primary sortas="b-nvlc">nvlc</primary>
443 </indexterm>
[9681d3f]444 </listitem>
445 </varlistentry>
446
447 <varlistentry id="qvlc">
448 <term><command>qvlc</command></term>
449 <listitem>
[09b87984]450 <para>
451 is a script to run <application>VLC</application> with the
[d99d728]452 <application>Qt</application> interface.
[09b87984]453 </para>
[9681d3f]454 <indexterm zone="vlc qvlc">
455 <primary sortas="b-qvlc">qvlc</primary>
456 </indexterm>
457 </listitem>
458 </varlistentry>
459
460 <varlistentry id="rvlc">
461 <term><command>rvlc</command></term>
462 <listitem>
[09b87984]463 <para>
464 is a script to run <application>VLC</application> with a command
465 line interface.
466 </para>
[9681d3f]467 <indexterm zone="vlc rvlc">
468 <primary sortas="b-rvlc">rvlc</primary>
469 </indexterm>
470 </listitem>
471 </varlistentry>
472
473 <varlistentry id="svlc">
474 <term><command>svlc</command></term>
475 <listitem>
[09b87984]476 <para>
477 is a script to run <application>VLC</application> with the skins
478 interface.
479 </para>
[9681d3f]480 <indexterm zone="vlc svlc">
481 <primary sortas="b-svlc">svlc</primary>
482 </indexterm>
483 </listitem>
484 </varlistentry>
485
486 <varlistentry id="vlc-prog">
487 <term><command>vlc</command></term>
488 <listitem>
[09b87984]489 <para>
490 is the <application>VLC</application> media player.
491 </para>
[9681d3f]492 <indexterm zone="vlc vlc-prog">
493 <primary sortas="b-vlc">vlc</primary>
494 </indexterm>
495 </listitem>
496 </varlistentry>
497
498 <varlistentry id="vlc-wrapper">
499 <term><command>vlc-wrapper</command></term>
500 <listitem>
[09b87984]501 <para>
[bfa83aee]502 is a wrapper to drop privileges with <application>VLC</application>.
[09b87984]503 </para>
[9681d3f]504 <indexterm zone="vlc vlc-wrapper">
505 <primary sortas="b-vlc-wrapper">vlc-wrapper</primary>
506 </indexterm>
507 </listitem>
508 </varlistentry>
[bfa83aee]509
[9681d3f]510 </variablelist>
[bfa83aee]511
[9681d3f]512 </sect2>
[bfa83aee]513
[9681d3f]514</sect1>
Note: See TracBrowser for help on using the repository browser.