source: multimedia/videoutils/vlc.xml

trunk
Last change on this file was fd51842, checked in by Douglas R. Reno <renodr@…>, 3 weeks ago

VLC: Make dependency on protobuf internal

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