source: multimedia/videoutils/vlc.xml@ 204c6385

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 204c6385 was 204c6385, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Remove an unneeded sed in vlc instructions

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

  • Property mode set to 100644
File size: 15.8 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
[8dfc5c3]7 <!ENTITY vlc-download-http "https://download.videolan.org/vlc/&vlc-version;/vlc-&vlc-version;.tar.xz">
[b5e1815e]8 <!ENTITY vlc-download-ftp " ">
[471904e]9 <!ENTITY vlc-md5sum "f797dc97305639f6270df619fe1c5962">
[2bc3253]10 <!ENTITY vlc-size "25 MB">
[471904e]11 <!ENTITY vlc-buildsize "724 MB (add 13 MB for tests)">
12 <!ENTITY vlc-time "1.9 SBU (using parallelism=4; add 0.2 SBU for tests)">
[9681d3f]13]>
14
[09adf3d]15<sect1 id="vlc" xreflabel="VLC-&vlc-version;">
[9681d3f]16 <?dbhtml filename="vlc.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>VLC-&vlc-version;</title>
24
25 <indexterm zone="vlc">
26 <primary sortas="a-VLC">VLC</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to VLC</title>
31
[09b87984]32 <para>
33 <application>VLC</application> is a media player, streamer, and encoder.
[8b9ad6e]34 It can play from many inputs, such as files, network streams, capture
[c607f16]35 devices, desktops, or DVD, SVCD, VCD, and audio CD. It can use most audio
[8b9ad6e]36 and video codecs (MPEG 1/2/4, H264, VC-1, DivX, WMV, Vorbis, AC3, AAC,
37 etc.), and it can also convert to different formats and/or send streams
[c607f16]38 through the network.
[09b87984]39 </para>
[9681d3f]40
[d9907c9]41 &lfs91_checked;
[54c019b]42
[9681d3f]43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
[09b87984]46 <para>
47 Download (HTTP): <ulink url="&vlc-download-http;"/>
48 </para>
[9681d3f]49 </listitem>
50 <listitem>
[09b87984]51 <para>
52 Download (FTP): <ulink url="&vlc-download-ftp;"/>
53 </para>
[9681d3f]54 </listitem>
55 <listitem>
[09b87984]56 <para>
57 Download MD5 sum: &vlc-md5sum;
58 </para>
[9681d3f]59 </listitem>
60 <listitem>
[09b87984]61 <para>
62 Download size: &vlc-size;
63 </para>
[9681d3f]64 </listitem>
65 <listitem>
[09b87984]66 <para>
67 Estimated disk space required: &vlc-buildsize;
68 </para>
[9681d3f]69 </listitem>
70 <listitem>
[09b87984]71 <para>
72 Estimated build time: &vlc-time;
73 </para>
[9681d3f]74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">VLC Dependencies</bridgehead>
78
[54c019b]79 <bridgehead renderas="sect4">Recommended</bridgehead>
[7c3af4bb]80 <para role="recommended">
[b9edd3d]81 <xref linkend="alsa-lib"/>,
[28fb6fd]82 <xref linkend="desktop-file-utils"/>,
[09b87984]83 <xref linkend="ffmpeg"/>,
[ef9000a]84 <xref linkend="liba52"/>,
[6537ed7e]85 <xref linkend="libgcrypt"/>
[b9edd3d]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">
[28fb6fd]93 <xref linkend="dbus"/>,
94 <xref linkend="libidn"/>, and
[5909a5ed]95 <xref linkend="libssh2"/>
[54666831]96 </para>
97
[6537ed7e]98 <bridgehead renderas="sect4">Optional input plugins</bridgehead>
[9681d3f]99 <para role="optional">
[28fb6fd]100 <xref linkend="libarchive"/>,
[63d9d4f]101 <xref linkend="libcddb"/>,
[09b87984]102 <xref linkend="libdv"/>,
[e6142956]103 <xref linkend="libdvdcss"/>,
[09b87984]104 <xref linkend="libdvdread"/>,
105 <xref linkend="libdvdnav"/>,
[8630358e]106 <xref linkend="opencv"/> (currently broken),
[b9edd3d]107 <xref linkend="samba"/>,
[80dbc4c8]108 <xref linkend="v4l-utils"/>,
[09b87984]109 <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
[b9edd3d]110 <ulink url="http://sourceforge.net/projects/libdc1394/">libdc1394</ulink>,
[28fb6fd]111 <ulink url="https://github.com/sahlberg/libnfs">libnfs</ulink>,
[f6d40b7d]112 <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>,
[28fb6fd]113 <ulink url="https://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
[d42f02c6]114 <ulink url="http://www.live555.com/">Live555</ulink>, and
[b1a0a05]115 <ulink url="http://www.gnu.org/software/vcdimager/">VCDImager</ulink>
[f90448e]116 (requires <xref linkend="libcdio"/>)
[09b87984]117 </para>
[54c019b]118
119 <bridgehead renderas="sect4">Optional mux/demux plugins</bridgehead>
[9681d3f]120 <para role="optional">
[09b87984]121 <xref linkend="libogg"/>,
[f6d40b7d]122 <ulink url="https://github.com/kode54/Game_Music_Emu">Game Music Emu</ulink>,
[b9edd3d]123 <ulink url="http://www.videolan.org/developers/libdvbpsi.html">libdvbpsi</ulink>,
[5059efc]124 <ulink url="http://downloads.xiph.org/releases/libshout/">libshout</ulink>,
125 <ulink url="http://dl.matroska.org/downloads/libmatroska/">libmatroska</ulink>
126 (requires <ulink url="http://dl.matroska.org/downloads/libebml/">libebml</ulink>),
[b9edd3d]127 <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
128 <ulink url="http://www.musepack.net/">Musepack</ulink>, and
[f6d40b7d]129 <ulink url="http://sourceforge.net/projects/sidplay2/">sidplay-libs</ulink>
[09b87984]130 </para>
[9681d3f]131
132 <bridgehead renderas="sect4">Optional codec plugins</bridgehead>
133 <para role="optional">
[09b87984]134 <xref linkend="faad2"/>,
135 <xref linkend="flac"/>,
[b9edd3d]136 <xref linkend="libass"/>,
[09b87984]137 <xref linkend="libmpeg2"/>,
[b9edd3d]138 <xref linkend="libpng"/>,
139 <xref linkend="libtheora"/>,
140 <xref linkend="libva"/>,
[09b87984]141 <xref linkend="libvorbis"/>,
[1379348]142 <xref linkend="opus"/>,
[b9edd3d]143 <xref linkend="speex"/>,
[7f2dfa0]144 <xref linkend="x264"/>,
[5909a5ed]145 <ulink url="https://aomedia.googlesource.com/aom/">aom</ulink>,
[28fb6fd]146 <ulink url="https://github.com/nkoriyama/aribb24">aribb24</ulink>,
[5909a5ed]147 <ulink url="https://code.videolan.org/videolan/dav1d">dav1d</ulink>,
[f6d40b7d]148 <ulink url="http://sourceforge.net/projects/dirac/">Dirac</ulink>,
[28fb6fd]149 <ulink url="https://github.com/divideconcept/FluidLite">FluidLite</ulink>,
[5059efc]150 <ulink url="http://sourceforge.net/projects/fluidsynth/">FluidSynth</ulink>,
[b9edd3d]151 <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
[e0013c4]152 <ulink url="https://wiki.xiph.org/index.php/OggKate">libkate</ulink>,
[b9edd3d]153 <ulink url="http://www.khronos.org/openmax/">OpenMAX</ulink>,
[f6d40b7d]154 <ulink url="http://sourceforge.net/projects/schrodinger/">Schroedinger</ulink>,
[28fb6fd]155 <ulink url="https://github.com/toots/shine">Shine</ulink>,
[5909a5ed]156 <ulink url="https://sourceforge.net/p/soxr/wiki/Home/">SoX</ulink>,
[b9edd3d]157 <ulink url="http://wiki.xiph.org/Tremor">Tremor</ulink>,
158 <ulink url="http://www.twolame.org/">Twolame</ulink>, and
159 <ulink url="http://sourceforge.net/projects/zapping/">Zapping VBI</ulink>
[09b87984]160 </para>
[54c019b]161
[9681d3f]162 <bridgehead renderas="sect4">Optional video plugins</bridgehead>
163 <para role="optional">
[b9edd3d]164 <xref linkend="aalib"/>,
[09b87984]165 <xref linkend="fontconfig"/>,
[b9edd3d]166 <xref linkend="freetype2"/>,
[b1a0a05]167 <xref linkend="fribidi"/>,
168 <xref linkend="librsvg"/>,
[b9edd3d]169 <xref linkend="libvdpau"/>,
170 <xref linkend="sdl"/>
[28fb6fd]171 (with <ulink url="http://www.libsdl.org/projects/SDL_image/release-1.2.html">SDL_image</ulink>),
172 <ulink url="http://caca.zoy.org/">libcaca</ulink>, and
173 <ulink url="https://github.com/Intel-Media-SDK/MediaSDK">libmfx</ulink>
[09b87984]174 </para>
[54c019b]175
[9681d3f]176 <bridgehead renderas="sect4">Optional audio plugins</bridgehead>
177 <para role="optional">
[09b87984]178 <xref linkend="pulseaudio"/>,
[28fb6fd]179 <xref linkend="libsamplerate"/>,
180 <ulink url="https://github.com/videolabs/libspatialaudio">spatialaudio</ulink>, and
[b9edd3d]181 <ulink url="http://jackaudio.org/">JACK</ulink>
[09b87984]182 </para>
[54c019b]183
[9681d3f]184 <bridgehead renderas="sect4">Optional interface plugins</bridgehead>
[09b87984]185 <para role="optional">
[e4d2b8d]186 <xref linkend="qt5"/> (required for the graphical user interface),
[28fb6fd]187 <ulink url="https://repo.or.cz/w/libtar.git/">libtar</ulink>,
188 <ulink url="https://libvnc.github.io/">libvncclient</ulink>,
189 <ulink url="http://www.lirc.org/">LIRC</ulink>, and
[a146cb1]190 <ulink url="http://www.freerdp.com/">freerdp</ulink>
[09b87984]191 </para>
[54c019b]192
[6537ed7e]193 <bridgehead renderas="sect4">Optional visualisations and video filter plugins</bridgehead>
[9681d3f]194 <para role="optional">
[28fb6fd]195 <ulink url="http://sourceforge.net/projects/goom/">Goom</ulink>,
[a146cb1]196 <ulink url="https://www.vsxu.com">libvsxu</ulink>, and
[5059efc]197 <ulink url="http://sourceforge.net/projects/projectm/">projectM</ulink>
[09b87984]198 </para>
[54c019b]199
[9681d3f]200 <bridgehead renderas="sect4">Optional service discovery plugins</bridgehead>
201 <para role="optional">
[b1a0a05]202 <xref linkend="avahi"/>,
[5059efc]203 <ulink url="http://sourceforge.net/projects/libmtp/">libmtp</ulink> and
204 <ulink url="http://sourceforge.net/projects/pupnp/">libupnp</ulink>
[09b87984]205 </para>
[54c019b]206
[df30bbc3]207 <bridgehead renderas="sect4">Miscellaneous options</bridgehead>
[9681d3f]208 <para role="optional">
[6537ed7e]209 <xref linkend="gnutls"/>,
[b9edd3d]210 <xref linkend="libnotify"/>,
[b1a0a05]211 <xref linkend="libxml2"/>,
[271c4dd]212 <xref linkend="taglib"/>,
[28fb6fd]213 <xref role="runtime" linkend="xdg-utils"/> (runtime),
214 <ulink url="https://www.team-mediaportal.com/extensions/mp2-plugins/atmolight">AtmoLight</ulink>,
215 <ulink url="https://github.com/videolabs/libmicrodns">libmicrodns</ulink>,
216 <ulink url="https://developers.google.com/protocol-buffers/">protobuf</ulink>, and
217 <ulink url="https://www.srtalliance.org/">srt</ulink>
[09b87984]218 </para>
219
220 <para condition="html" role="usernotes">
221 User Notes: <ulink url="&blfs-wiki;/vlc"/>
222 </para>
[9681d3f]223 </sect2>
224
225 <sect2 role="installation">
226 <title>Installation of VLC</title>
227
[09b87984]228 <para>
229 Install <application>VLC</application> by running the following commands:
230 </para>
[9681d3f]231
[8630358e]232 <screen><userinput>sed -i '/vlc_demux.h/a #define LUA_COMPAT_APIINTCASTS' modules/lua/vlc.h &amp;&amp;
[50182be]233sed -i '/#include &lt;QWidget&gt;/a\#include &lt;QPainterPath&gt;/' \
234 modules/gui/qt/util/timetooltip.hpp &amp;&amp;
[209ca23]235sed -i '/#include &lt;QPainter&gt;/a\#include &lt;QPainterPath&gt;/' \
[50182be]236 modules/gui/qt/components/playlist/views.cpp \
237 modules/gui/qt/dialogs/plugins.cpp &amp;&amp;
[271c4dd]238
[7d4be40]239BUILDCC=gcc ./configure --prefix=/usr \
240 --disable-opencv \
241 --disable-vpx &amp;&amp;
[8b9ad6e]242
[01e86d88]243make</userinput></screen>
[9681d3f]244
[09b87984]245 <para>
[94b42903]246 To test the results, issue: <command>make check</command>.
[09b87984]247 </para>
[9681d3f]248
[09b87984]249 <para>
250 Now, as the <systemitem class="username">root</systemitem> user:
251 </para>
[dab2444]252
[b1a0a05]253<screen role="root"><userinput>make docdir=/usr/share/doc/vlc-&vlc-version; install</userinput></screen>
254
255 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
256 href="../../xincludes/update-icons-and-desktop.xml"/>
[03886fd]257
[9681d3f]258 </sect2>
259
260 <sect2 role="commands">
261 <title>Command Explanations</title>
262
[58cd150]263 <para>
[94b42903]264 <command>sed ... modules/lua/...</command>: This command allows
265 building with the current version of <xref linkend="lua"/>.
[d45a8367]266 </para>
267
[50182be]268 <para>
269 <command>sed ... a\#include &lt;QPainterPath&gt;/ ...</command>: These two
270 sed commands fix building with Qt-5.15.0.
271
272 </para>
273
[5909a5ed]274 <para>
275 <parameter>--disable-opencv</parameter>: This switch is required to disable
[8630358e]276 <application>opencv</application> which is not compatible with this
277 version of <application>vlc</application>.
278 </para>
279
[7d4be40]280 <para>
[5909a5ed]281 <parameter>--disable-vpx</parameter>: This switch is required to disable
[7d4be40]282 <application>libvpx</application>. The latest version is not compatible
283 with this version of <application>vlc</application>.
284 </para>
285
[09b87984]286 <para>
[8e8f919c]287 <option>--disable-lua</option>: Use this switch if you don't have
288 <application>Lua</application> installed.
[09b87984]289 </para>
290
[7ccf37f]291 <para>
[6537ed7e]292 <option>--disable-mad</option>: Use this switch if you don't
293 have <application>libmad</application> installed.
[7ccf37f]294 </para>
295
[09b87984]296 <para>
[6537ed7e]297 <option>--disable-avcodec --disable-swscale</option>: Use these switches
298 if you don't have <application>FFmpeg</application> installed.
[09b87984]299 </para>
300
301 <para>
[b1a0a05]302 <option>--disable-a52</option>: Use this switch if you don't have
[ef9000a]303 <application>liba52</application> installed.
[09b87984]304 </para>
305
306 <para>
[6537ed7e]307 <option>--disable-xcb</option>: Use this switch if you don't have
308 <application>X Window System</application> installed.
[ef9000a]309 </para>
310
311 <para>
[6537ed7e]312 <option>--disable-alsa</option>: Use this switch if you don't have
313 <application>ALSA</application> installed.
[09b87984]314 </para>
[ef9000a]315
[b1a0a05]316 <para>
[6537ed7e]317 <option>--disable-libgcrypt</option>: Use this switch if you don't
318 have <application>libgcrypt</application> installed.
[b1a0a05]319 </para>
320
[5909a5ed]321 <para>
322 <option>--disable-sftp</option>: The default is to build the sftp
323 module if <xref linkend="libssh2"/> is installed. Use this switch
324 if you do not want to build this module.
325 </para>
326
[6537ed7e]327 <note>
328 <para>
329 There are many options to <application>VLC</application>'s
330 <command>configure</command> command. Check the
331 <command>configure --help</command> output for a complete list.
332 </para>
333 </note>
[b1a0a05]334
[9681d3f]335 </sect2>
336
337 <sect2 role="content">
338 <title>Contents</title>
339
340 <segmentedlist>
341 <segtitle>Installed Programs</segtitle>
342 <segtitle>Installed Libraries</segtitle>
343 <segtitle>Installed Directories</segtitle>
344
345 <seglistitem>
[bfa83aee]346 <seg>
[6537ed7e]347 cvlc, nvlc, qvlc, rvlc, svlc, vlc and vlc-wrapper
[bfa83aee]348 </seg>
349 <seg>
[01e86d88]350 libvlccore.so, libvlc.so, and many plugins in
[bfa83aee]351 /usr/lib/vlc/plugins
352 </seg>
353 <seg>
[28fb6fd]354 /usr/{include,lib,share}/vlc,
355 /usr/share/kde4, and
[b1a0a05]356 /usr/share/doc/vlc-&vlc-version;
[bfa83aee]357 </seg>
[9681d3f]358 </seglistitem>
359 </segmentedlist>
360
361 <variablelist>
362 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
363 <?dbfo list-presentation="list"?>
364 <?dbhtml list-presentation="table"?>
365
366 <varlistentry id="cvlc">
367 <term><command>cvlc</command></term>
368 <listitem>
[09b87984]369 <para>
370 is a script to run VLC with the dummy interface.
371 </para>
[9681d3f]372 <indexterm zone="vlc cvlc">
373 <primary sortas="b-cvlc">cvlc</primary>
374 </indexterm>
[6537ed7e]375 </listitem>
376 </varlistentry>
377
378 <varlistentry id="nvlc">
379 <term><command>nvlc</command></term>
380 <listitem>
381 <para>
382 is a script to run VLC with the ncurses interface.
383 </para>
384 <indexterm zone="vlc nvlc">
385 <primary sortas="b-nvlc">nvlc</primary>
386 </indexterm>
[9681d3f]387 </listitem>
388 </varlistentry>
389
390 <varlistentry id="qvlc">
391 <term><command>qvlc</command></term>
392 <listitem>
[09b87984]393 <para>
394 is a script to run <application>VLC</application> with the
[d99d728]395 <application>Qt</application> interface.
[09b87984]396 </para>
[9681d3f]397 <indexterm zone="vlc qvlc">
398 <primary sortas="b-qvlc">qvlc</primary>
399 </indexterm>
400 </listitem>
401 </varlistentry>
402
403 <varlistentry id="rvlc">
404 <term><command>rvlc</command></term>
405 <listitem>
[09b87984]406 <para>
407 is a script to run <application>VLC</application> with a command
408 line interface.
409 </para>
[9681d3f]410 <indexterm zone="vlc rvlc">
411 <primary sortas="b-rvlc">rvlc</primary>
412 </indexterm>
413 </listitem>
414 </varlistentry>
415
416 <varlistentry id="svlc">
417 <term><command>svlc</command></term>
418 <listitem>
[09b87984]419 <para>
420 is a script to run <application>VLC</application> with the skins
421 interface.
422 </para>
[9681d3f]423 <indexterm zone="vlc svlc">
424 <primary sortas="b-svlc">svlc</primary>
425 </indexterm>
426 </listitem>
427 </varlistentry>
428
429 <varlistentry id="vlc-prog">
430 <term><command>vlc</command></term>
431 <listitem>
[09b87984]432 <para>
433 is the <application>VLC</application> media player.
434 </para>
[9681d3f]435 <indexterm zone="vlc vlc-prog">
436 <primary sortas="b-vlc">vlc</primary>
437 </indexterm>
438 </listitem>
439 </varlistentry>
440
441 <varlistentry id="vlc-wrapper">
442 <term><command>vlc-wrapper</command></term>
443 <listitem>
[09b87984]444 <para>
[bfa83aee]445 is a wrapper to drop privileges with <application>VLC</application>.
[09b87984]446 </para>
[9681d3f]447 <indexterm zone="vlc vlc-wrapper">
448 <primary sortas="b-vlc-wrapper">vlc-wrapper</primary>
449 </indexterm>
450 </listitem>
451 </varlistentry>
[bfa83aee]452
[9681d3f]453 </variablelist>
[bfa83aee]454
[9681d3f]455 </sect2>
[bfa83aee]456
[9681d3f]457</sect1>
Note: See TracBrowser for help on using the repository browser.