source: multimedia/videoutils/vlc.xml@ 110272ed

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 110272ed was 110272ed, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Tag most of kf5 dependencies

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

  • Property mode set to 100644
File size: 14.3 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 " ">
[0ca1d21]9 <!ENTITY vlc-md5sum "031d1bbef7737d44d18d78d6761ed26e">
[271c4dd]10 <!ENTITY vlc-size "21 MB">
[0ca1d21]11 <!ENTITY vlc-buildsize "490 MB (add 1 MB for tests)">
[110272ed]12 <!ENTITY vlc-time "1.5 SBU (using parallism=4; add 0.1 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
[110272ed]41 &lfs81_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
[271c4dd]77 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
78 <itemizedlist spacing="compact">
79 <listitem>
80 <para>
81 Required patch:
82 <ulink
83 url="&patch-root;/vlc-&vlc-version;-ffmpeg3-1.patch"/>
84 </para>
85 </listitem>
86 </itemizedlist>
87
[9681d3f]88 <bridgehead renderas="sect3">VLC Dependencies</bridgehead>
89
[54c019b]90 <bridgehead renderas="sect4">Recommended</bridgehead>
[7c3af4bb]91 <para role="recommended">
[b9edd3d]92 <xref linkend="alsa-lib"/>,
[09b87984]93 <xref linkend="ffmpeg"/>,
[ef9000a]94 <xref linkend="liba52"/>,
[6537ed7e]95 <xref linkend="libgcrypt"/>
[b9edd3d]96 <xref linkend="libmad"/>,
97 <xref linkend="lua"/>, and
98 <xref linkend="x-window-system"/>,
[09b87984]99 </para>
100
[54666831]101 <bridgehead renderas="sect4">Optional features and packages</bridgehead>
102 <para role="optional">
103 <xref linkend="dbus"/>
104 </para>
105
[6537ed7e]106 <bridgehead renderas="sect4">Optional input plugins</bridgehead>
[9681d3f]107 <para role="optional">
[b9edd3d]108
[09b87984]109 <xref linkend="libdv"/>,
[e6142956]110 <xref linkend="libdvdcss"/>,
[09b87984]111 <xref linkend="libdvdread"/>,
112 <xref linkend="libdvdnav"/>,
[d42f02c6]113 <xref linkend="opencv"/>,
[b9edd3d]114 <xref linkend="samba"/>,
[80dbc4c8]115 <xref linkend="v4l-utils"/>,
[09b87984]116 <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
[b9edd3d]117 <ulink url="http://sourceforge.net/projects/libdc1394/">libdc1394</ulink>,
118 <ulink url="http://sourceforge.net/projects/libcddb/">libcddb</ulink>,
[f6d40b7d]119 <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>,
[d42f02c6]120 <ulink url="http://www.live555.com/">Live555</ulink>, and
[b1a0a05]121 <ulink url="http://www.gnu.org/software/vcdimager/">VCDImager</ulink>
[f90448e]122 (requires <xref linkend="libcdio"/>)
[09b87984]123 </para>
[54c019b]124
125 <bridgehead renderas="sect4">Optional mux/demux plugins</bridgehead>
[9681d3f]126 <para role="optional">
[09b87984]127 <xref linkend="libogg"/>,
[f6d40b7d]128 <ulink url="https://github.com/kode54/Game_Music_Emu">Game Music Emu</ulink>,
[b9edd3d]129 <ulink url="http://www.videolan.org/developers/libdvbpsi.html">libdvbpsi</ulink>,
[5059efc]130 <ulink url="http://downloads.xiph.org/releases/libshout/">libshout</ulink>,
131 <ulink url="http://dl.matroska.org/downloads/libmatroska/">libmatroska</ulink>
132 (requires <ulink url="http://dl.matroska.org/downloads/libebml/">libebml</ulink>),
[b9edd3d]133 <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
134 <ulink url="http://www.musepack.net/">Musepack</ulink>, and
[f6d40b7d]135 <ulink url="http://sourceforge.net/projects/sidplay2/">sidplay-libs</ulink>
[09b87984]136 </para>
[9681d3f]137
138 <bridgehead renderas="sect4">Optional codec plugins</bridgehead>
139 <para role="optional">
[09b87984]140 <xref linkend="faad2"/>,
141 <xref linkend="flac"/>,
[b9edd3d]142 <xref linkend="libass"/>,
[09b87984]143 <xref linkend="libmpeg2"/>,
[b9edd3d]144 <xref linkend="libpng"/>,
145 <xref linkend="libtheora"/>,
146 <xref linkend="libva"/>,
[09b87984]147 <xref linkend="libvorbis"/>,
[1379348]148 <xref linkend="opus"/>,
[b9edd3d]149 <xref linkend="speex"/>,
[7f2dfa0]150 <xref linkend="x264"/>,
[f6d40b7d]151 <ulink url="http://sourceforge.net/projects/dirac/">Dirac</ulink>,
[5059efc]152 <ulink url="http://sourceforge.net/projects/fluidsynth/">FluidSynth</ulink>,
[b9edd3d]153 <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
154 <ulink url="http://code.google.com/p/libkate/">libkate</ulink>,
155 <ulink url="http://www.khronos.org/openmax/">OpenMAX</ulink>,
[f6d40b7d]156 <ulink url="http://sourceforge.net/projects/schrodinger/">Schroedinger</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"/>
171 (with <ulink url="http://www.libsdl.org/projects/SDL_image/">SDL_image</ulink>), and
[e7fad06]172 <ulink url="http://caca.zoy.org/">libcaca</ulink>
[09b87984]173 </para>
[54c019b]174
[9681d3f]175 <bridgehead renderas="sect4">Optional audio plugins</bridgehead>
176 <para role="optional">
[09b87984]177 <xref linkend="pulseaudio"/>,
[b9edd3d]178 <xref linkend="libsamplerate"/>, and
179 <ulink url="http://jackaudio.org/">JACK</ulink>
[09b87984]180 </para>
[54c019b]181
[9681d3f]182 <bridgehead renderas="sect4">Optional interface plugins</bridgehead>
[09b87984]183 <para role="optional">
[e4d2b8d]184 <xref linkend="qt5"/> (required for the graphical user interface),
[b9edd3d]185 <ulink url="http://pkgbuild.com/~giovanni/libtar/">libtar</ulink>, and
186 <ulink url="http://www.lirc.org/">LIRC</ulink>
[09b87984]187 </para>
[54c019b]188
[6537ed7e]189 <bridgehead renderas="sect4">Optional visualisations and video filter plugins</bridgehead>
[9681d3f]190 <para role="optional">
[09b87984]191 <ulink url="http://sourceforge.net/projects/goom/">Goom</ulink> and
[5059efc]192 <ulink url="http://sourceforge.net/projects/projectm/">projectM</ulink>
[09b87984]193 </para>
[54c019b]194
[9681d3f]195 <bridgehead renderas="sect4">Optional service discovery plugins</bridgehead>
196 <para role="optional">
[b1a0a05]197 <xref linkend="avahi"/>,
[5059efc]198 <ulink url="http://sourceforge.net/projects/libmtp/">libmtp</ulink> and
199 <ulink url="http://sourceforge.net/projects/pupnp/">libupnp</ulink>
[09b87984]200 </para>
[54c019b]201
[df30bbc3]202 <bridgehead renderas="sect4">Miscellaneous options</bridgehead>
[9681d3f]203 <para role="optional">
[6537ed7e]204 <xref linkend="gnutls"/>,
[b9edd3d]205 <xref linkend="libnotify"/>,
[b1a0a05]206 <xref linkend="libxml2"/>,
[271c4dd]207 <xref linkend="taglib"/>,
208 <xref linkend="xdg-utils"/> (runtime), and
209 <ulink url="http://www.ambilight4pc.com/atmolight.html">AtmoLight</ulink>
[09b87984]210 </para>
211
212 <para condition="html" role="usernotes">
213 User Notes: <ulink url="&blfs-wiki;/vlc"/>
214 </para>
[9681d3f]215 </sect2>
216
217 <sect2 role="installation">
218 <title>Installation of VLC</title>
219
[09b87984]220 <para>
221 Install <application>VLC</application> by running the following commands:
222 </para>
[9681d3f]223
[271c4dd]224<screen><userinput>patch -Np1 -i ../vlc-&vlc-version;-ffmpeg3-1.patch &amp;&amp;
[5be5fc08]225sed -i 's/error-implicit-function-declaration//' configure &amp;&amp;
[271c4dd]226
227CFLAGS="-DLUA_COMPAT_5_1" \
228./configure --prefix=/usr --disable-atmo &amp;&amp;
[8b9ad6e]229
[01e86d88]230make</userinput></screen>
[9681d3f]231
[09b87984]232 <para>
[e4d2b8d]233 To test the results, issue: <command>make -k check</command>.
[09b87984]234 </para>
[9681d3f]235
[09b87984]236 <para>
237 Now, as the <systemitem class="username">root</systemitem> user:
238 </para>
[9681d3f]239
[10030e39]240 <note>
241 <para>
242 If the XORG_PREFIX is not /usr, make sure the LIBRARY_PATH
[5be5fc08]243 environment variable is set properly for the root user when
244 doing the install, For example:
[10030e39]245 <command>sudo make LIBRARY_PATH=$XORG_PREFIX/lib ... install</command>.
246 </para>
247 </note>
248
[b1a0a05]249<screen role="root"><userinput>make docdir=/usr/share/doc/vlc-&vlc-version; install</userinput></screen>
250
251 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
252 href="../../xincludes/update-icons-and-desktop.xml"/>
[03886fd]253
[9681d3f]254 </sect2>
255
256 <sect2 role="commands">
257 <title>Command Explanations</title>
258
[58cd150]259 <para>
[5be5fc08]260 <command>sed ... configure</command>: This command removes
261 a gcc option that treats a warning as an error.
262 </para>
263
264 <para>
265 <envar>CFLAGS="-DLUA_COMPAT_5_1"</envar>: This environment variable
[271c4dd]266 ensures the use of the correct variation of <xref linkend='lua'/>.
[58cd150]267 </para>
268
[d42f02c6]269 <para>
[1a518e97]270 <parameter>--disable-atmo</parameter>: This switch disables
[271c4dd]271 trying to build AtmoLight (homemade Philips Ambilight clone).
[d45a8367]272 </para>
273
[646a42e]274 <para>
[d45a8367]275 <option>--enable-opencv=no</option>: This switch disables
276 <application>OpenCV</application> suport.
[646a42e]277 </para>
278
[09b87984]279 <para>
[8e8f919c]280 <option>--disable-lua</option>: Use this switch if you don't have
281 <application>Lua</application> installed.
[09b87984]282 </para>
283
[7ccf37f]284 <para>
[6537ed7e]285 <option>--disable-mad</option>: Use this switch if you don't
286 have <application>libmad</application> installed.
[7ccf37f]287 </para>
288
[09b87984]289 <para>
[6537ed7e]290 <option>--disable-avcodec --disable-swscale</option>: Use these switches
291 if you don't have <application>FFmpeg</application> installed.
[09b87984]292 </para>
293
294 <para>
[b1a0a05]295 <option>--disable-a52</option>: Use this switch if you don't have
[ef9000a]296 <application>liba52</application> installed.
[09b87984]297 </para>
298
299 <para>
[6537ed7e]300 <option>--disable-xcb</option>: Use this switch if you don't have
301 <application>X Window System</application> installed.
[ef9000a]302 </para>
303
304 <para>
[6537ed7e]305 <option>--disable-alsa</option>: Use this switch if you don't have
306 <application>ALSA</application> installed.
[09b87984]307 </para>
[ef9000a]308
[b1a0a05]309 <para>
[6537ed7e]310 <option>--disable-libgcrypt</option>: Use this switch if you don't
311 have <application>libgcrypt</application> installed.
[b1a0a05]312 </para>
313
[6537ed7e]314 <note>
315 <para>
316 There are many options to <application>VLC</application>'s
317 <command>configure</command> command. Check the
318 <command>configure --help</command> output for a complete list.
319 </para>
320 </note>
[b1a0a05]321
[9681d3f]322 </sect2>
323
324 <sect2 role="content">
325 <title>Contents</title>
326
327 <segmentedlist>
328 <segtitle>Installed Programs</segtitle>
329 <segtitle>Installed Libraries</segtitle>
330 <segtitle>Installed Directories</segtitle>
331
332 <seglistitem>
[bfa83aee]333 <seg>
[6537ed7e]334 cvlc, nvlc, qvlc, rvlc, svlc, vlc and vlc-wrapper
[bfa83aee]335 </seg>
336 <seg>
[01e86d88]337 libvlccore.so, libvlc.so, and many plugins in
[bfa83aee]338 /usr/lib/vlc/plugins
339 </seg>
340 <seg>
[f6d40b7d]341 /usr/{include,lib,share}/vlc and
[b1a0a05]342 /usr/share/doc/vlc-&vlc-version;
[bfa83aee]343 </seg>
[9681d3f]344 </seglistitem>
345 </segmentedlist>
346
347 <variablelist>
348 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
349 <?dbfo list-presentation="list"?>
350 <?dbhtml list-presentation="table"?>
351
352 <varlistentry id="cvlc">
353 <term><command>cvlc</command></term>
354 <listitem>
[09b87984]355 <para>
356 is a script to run VLC with the dummy interface.
357 </para>
[9681d3f]358 <indexterm zone="vlc cvlc">
359 <primary sortas="b-cvlc">cvlc</primary>
360 </indexterm>
[6537ed7e]361 </listitem>
362 </varlistentry>
363
364 <varlistentry id="nvlc">
365 <term><command>nvlc</command></term>
366 <listitem>
367 <para>
368 is a script to run VLC with the ncurses interface.
369 </para>
370 <indexterm zone="vlc nvlc">
371 <primary sortas="b-nvlc">nvlc</primary>
372 </indexterm>
[9681d3f]373 </listitem>
374 </varlistentry>
375
376 <varlistentry id="qvlc">
377 <term><command>qvlc</command></term>
378 <listitem>
[09b87984]379 <para>
380 is a script to run <application>VLC</application> with the
[d99d728]381 <application>Qt</application> interface.
[09b87984]382 </para>
[9681d3f]383 <indexterm zone="vlc qvlc">
384 <primary sortas="b-qvlc">qvlc</primary>
385 </indexterm>
386 </listitem>
387 </varlistentry>
388
389 <varlistentry id="rvlc">
390 <term><command>rvlc</command></term>
391 <listitem>
[09b87984]392 <para>
393 is a script to run <application>VLC</application> with a command
394 line interface.
395 </para>
[9681d3f]396 <indexterm zone="vlc rvlc">
397 <primary sortas="b-rvlc">rvlc</primary>
398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 <varlistentry id="svlc">
403 <term><command>svlc</command></term>
404 <listitem>
[09b87984]405 <para>
406 is a script to run <application>VLC</application> with the skins
407 interface.
408 </para>
[9681d3f]409 <indexterm zone="vlc svlc">
410 <primary sortas="b-svlc">svlc</primary>
411 </indexterm>
412 </listitem>
413 </varlistentry>
414
415 <varlistentry id="vlc-prog">
416 <term><command>vlc</command></term>
417 <listitem>
[09b87984]418 <para>
419 is the <application>VLC</application> media player.
420 </para>
[9681d3f]421 <indexterm zone="vlc vlc-prog">
422 <primary sortas="b-vlc">vlc</primary>
423 </indexterm>
424 </listitem>
425 </varlistentry>
426
427 <varlistentry id="vlc-wrapper">
428 <term><command>vlc-wrapper</command></term>
429 <listitem>
[09b87984]430 <para>
[bfa83aee]431 is a wrapper to drop privileges with <application>VLC</application>.
[09b87984]432 </para>
[9681d3f]433 <indexterm zone="vlc vlc-wrapper">
434 <primary sortas="b-vlc-wrapper">vlc-wrapper</primary>
435 </indexterm>
436 </listitem>
437 </varlistentry>
[bfa83aee]438
[9681d3f]439 </variablelist>
[bfa83aee]440
[9681d3f]441 </sect2>
[bfa83aee]442
[9681d3f]443</sect1>
Note: See TracBrowser for help on using the repository browser.