source: multimedia/videoutils/vlc.xml@ b397566e

12.1 ken/TL2024 lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since b397566e was b397566e, checked in by Douglas R. Reno <renodr@…>, 7 months ago

Disable using libplacebo in VLC.

VLC is incompatible with the latest versions of libplacebo. Upstream has
fixed it for VLC 4. Arch has a patch, but it only works with a version
of libplacebo from July.

  • 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 " ">
[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
[6e7b9fd]37 &lfs120_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
73 <bridgehead renderas="sect3">VLC Dependencies</bridgehead>
74
[54c019b]75 <bridgehead renderas="sect4">Recommended</bridgehead>
[7c3af4bb]76 <para role="recommended">
[b9edd3d5]77 <xref linkend="alsa-lib"/>,
[28fb6fd]78 <xref linkend="desktop-file-utils"/>,
[09b87984]79 <xref linkend="ffmpeg"/>,
[ef9000a]80 <xref linkend="liba52"/>,
[6537ed7e]81 <xref linkend="libgcrypt"/>
[b9edd3d5]82 <xref linkend="libmad"/>,
[3eafe37]83 <xref linkend="lua52"/>, and
[f9a4671]84 <xref linkend="x-window-system"/>
[09b87984]85 </para>
86
[54666831]87 <bridgehead renderas="sect4">Optional features and packages</bridgehead>
88 <para role="optional">
[28fb6fd]89 <xref linkend="dbus"/>,
90 <xref linkend="libidn"/>, and
[5909a5ed]91 <xref linkend="libssh2"/>
[54666831]92 </para>
93
[6537ed7e]94 <bridgehead renderas="sect4">Optional input plugins</bridgehead>
[9681d3f]95 <para role="optional">
[28fb6fd]96 <xref linkend="libarchive"/>,
[63d9d4f]97 <xref linkend="libcddb"/>,
[09b87984]98 <xref linkend="libdv"/>,
[e6142956]99 <xref linkend="libdvdcss"/>,
[09b87984]100 <xref linkend="libdvdread"/>,
101 <xref linkend="libdvdnav"/>,
[1b533771]102 <xref linkend="opencv"/>,
[b9edd3d5]103 <xref linkend="samba"/>,
[80dbc4c8]104 <xref linkend="v4l-utils"/>,
[75b1a338]105 <ulink url="https://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
[c6b192c]106 <ulink url="https://sourceforge.net/projects/libdc1394/">libdc1394</ulink>,
[28fb6fd]107 <ulink url="https://github.com/sahlberg/libnfs">libnfs</ulink>,
[f6d40b7d]108 <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>,
[28fb6fd]109 <ulink url="https://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
[d42f02c6]110 <ulink url="http://www.live555.com/">Live555</ulink>, and
[579bdb04]111 <ulink url="https://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>,
[75b1a338]119 <ulink url="https://www.videolan.org/developers/libdvbpsi.html">libdvbpsi</ulink>,
120 <ulink url="https://downloads.xiph.org/releases/libshout/">libshout</ulink>,
121 <ulink url="https://dl.matroska.org/downloads/libmatroska/">libmatroska</ulink>
122 (requires <ulink url="https://dl.matroska.org/downloads/libebml/">libebml</ulink>),
[c6b192c]123 <ulink url="https://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
[75b1a338]124 <ulink url="https://www.musepack.net/">Musepack</ulink>, and
[c6b192c]125 <ulink url="https://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"/>,
[f6503c73]132 <xref linkend="libaom"/>,
[b9edd3d5]133 <xref linkend="libass"/>,
[09b87984]134 <xref linkend="libmpeg2"/>,
[b9edd3d5]135 <xref linkend="libpng"/>,
136 <xref linkend="libtheora"/>,
137 <xref linkend="libva"/>,
[09b87984]138 <xref linkend="libvorbis"/>,
[1379348]139 <xref linkend="opus"/>,
[b9edd3d5]140 <xref linkend="speex"/>,
[1b533771]141 <xref linkend="libvpx"/>,
[7f2dfa0]142 <xref linkend="x264"/>,
[f6503c73]143 <!--<ulink url="https://aomedia.googlesource.com/aom/">aom</ulink>,-->
[28fb6fd]144 <ulink url="https://github.com/nkoriyama/aribb24">aribb24</ulink>,
[5909a5ed]145 <ulink url="https://code.videolan.org/videolan/dav1d">dav1d</ulink>,
[c6b192c]146 <ulink url="https://sourceforge.net/projects/dirac/">Dirac</ulink>,
[28fb6fd]147 <ulink url="https://github.com/divideconcept/FluidLite">FluidLite</ulink>,
[c6b192c]148 <ulink url="https://sourceforge.net/projects/fluidsynth/">FluidSynth</ulink>,
[75b1a338]149 <ulink url="https://www.videolan.org/developers/libdca.html">libdca</ulink>,
[e0013c4]150 <ulink url="https://wiki.xiph.org/index.php/OggKate">libkate</ulink>,
[75b1a338]151 <ulink url="https://www.khronos.org/openmax/">OpenMAX</ulink>,
[c6b192c]152 <ulink url="https://sourceforge.net/projects/schrodinger/">Schroedinger</ulink>,
[28fb6fd]153 <ulink url="https://github.com/toots/shine">Shine</ulink>,
[5909a5ed]154 <ulink url="https://sourceforge.net/p/soxr/wiki/Home/">SoX</ulink>,
[75b1a338]155 <ulink url="https://wiki.xiph.org/Tremor">Tremor</ulink>,
156 <ulink url="https://www.twolame.org/">Twolame</ulink>, and
[c6b192c]157 <ulink url="https://sourceforge.net/projects/zapping/">Zapping VBI</ulink>
[09b87984]158 </para>
[54c019b]159
[9681d3f]160 <bridgehead renderas="sect4">Optional video plugins</bridgehead>
161 <para role="optional">
[b9edd3d5]162 <xref linkend="aalib"/>,
[09b87984]163 <xref linkend="fontconfig"/>,
[b9edd3d5]164 <xref linkend="freetype2"/>,
[b1a0a05]165 <xref linkend="fribidi"/>,
[b397566e]166 <!-- Using libplacebo is broken due to many API changes. The patch Arch
167 has for this only works on a version of libplacebo from July. VLC has
168 fixed this problem, but only for the upcoming VLC4.
169 https://code.videolan.org/videolan/vlc/-/merge_requests/2233#top -->
170 <xref linkend="libplacebo"/> (currently broken),
[b1a0a05]171 <xref linkend="librsvg"/>,
[b9edd3d5]172 <xref linkend="libvdpau"/>,
[a12730f]173 <xref linkend="sdl"/>,
[978886d8]174 <ulink url="https://github.com/cacalabs/libcaca">libcaca</ulink>,
[b397566e]175 <!--<ulink url="http://libplacebo.org/">libplacebo</ulink>, and-->
[28fb6fd]176 <ulink url="https://github.com/Intel-Media-SDK/MediaSDK">libmfx</ulink>
[09b87984]177 </para>
[54c019b]178
[9681d3f]179 <bridgehead renderas="sect4">Optional audio plugins</bridgehead>
180 <para role="optional">
[09b87984]181 <xref linkend="pulseaudio"/>,
[28fb6fd]182 <xref linkend="libsamplerate"/>,
183 <ulink url="https://github.com/videolabs/libspatialaudio">spatialaudio</ulink>, and
[75b1a338]184 <ulink url="https://jackaudio.org/">JACK</ulink>
[09b87984]185 </para>
[54c019b]186
[9681d3f]187 <bridgehead renderas="sect4">Optional interface plugins</bridgehead>
[09b87984]188 <para role="optional">
[b3867c5]189 &qt5-deps; (required for the graphical user interface),
[28fb6fd]190 <ulink url="https://repo.or.cz/w/libtar.git/">libtar</ulink>,
[8558044]191 <ulink url="https://libvnc.github.io/">libvncclient</ulink>,
[75b1a338]192 <ulink url="https://www.lirc.org/">LIRC</ulink>, and
193 <ulink url="https://www.freerdp.com/">freerdp</ulink>
[09b87984]194 </para>
[54c019b]195
[6537ed7e]196 <bridgehead renderas="sect4">Optional visualisations and video filter plugins</bridgehead>
[9681d3f]197 <para role="optional">
[c6b192c]198 <ulink url="https://sourceforge.net/projects/goom/">Goom</ulink>,
[a146cb1]199 <ulink url="https://www.vsxu.com">libvsxu</ulink>, and
[c6b192c]200 <ulink url="https://sourceforge.net/projects/projectm/">projectM</ulink>
[09b87984]201 </para>
[54c019b]202
[9681d3f]203 <bridgehead renderas="sect4">Optional service discovery plugins</bridgehead>
204 <para role="optional">
[b1a0a05]205 <xref linkend="avahi"/>,
[c6b192c]206 <ulink url="https://sourceforge.net/projects/libmtp/">libmtp</ulink> and
207 <ulink url="https://sourceforge.net/projects/pupnp/">libupnp</ulink>
[09b87984]208 </para>
[54c019b]209
[df30bbc3]210 <bridgehead renderas="sect4">Miscellaneous options</bridgehead>
[9681d3f]211 <para role="optional">
[6537ed7e]212 <xref linkend="gnutls"/>,
[b9edd3d5]213 <xref linkend="libnotify"/>,
[b1a0a05]214 <xref linkend="libxml2"/>,
[8558044]215 <xref linkend="taglib"/>,
[28fb6fd]216 <xref role="runtime" linkend="xdg-utils"/> (runtime),
217 <ulink url="https://www.team-mediaportal.com/extensions/mp2-plugins/atmolight">AtmoLight</ulink>,
218 <ulink url="https://github.com/videolabs/libmicrodns">libmicrodns</ulink>,
219 <ulink url="https://developers.google.com/protocol-buffers/">protobuf</ulink>, and
[586ae9d]220 <ulink url="https://github.com/Haivision/srt">Srt</ulink>
[09b87984]221 </para>
222
[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>
[8514a50]231<!--
[1b533771]232<screen><userinput>export LUAC=/usr/bin/luac5.2 &amp;&amp;
[8514a50]233export LUA_LIBS="$(pkg-config - -libs lua52)" &amp;&amp;
234export CPPFLAGS="$(pkg-config - -cflags lua52)" &amp;&amp;
235-->
[b397566e]236<screen><userinput>BUILDCC=gcc ./configure --prefix=/usr --disable-libplacebo &amp;&amp;
[01e86d88]237make</userinput></screen>
[9681d3f]238
[09b87984]239 <para>
[94b42903]240 To test the results, issue: <command>make check</command>.
[09b87984]241 </para>
[9681d3f]242
[09b87984]243 <para>
244 Now, as the <systemitem class="username">root</systemitem> user:
245 </para>
[dab2444]246
[b1a0a05]247<screen role="root"><userinput>make docdir=/usr/share/doc/vlc-&vlc-version; install</userinput></screen>
248
249 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
250 href="../../xincludes/update-icons-and-desktop.xml"/>
[03886fd]251
[9681d3f]252 </sect2>
253
254 <sect2 role="commands">
255 <title>Command Explanations</title>
[4ca51d4]256 <!-- The export commands have been commented out
[58cd150]257 <para>
[3eafe37]258 <command>export ...</command>: These commands ensure building with
259 <xref linkend="lua52"/>. Upstream does not support lua 5.4 yet.
[4ca51d4]260 </para>-->
[8514a50]261<!-- Using this causes problems. Builds and works fine without this parameter.
[f2b4c82]262 <para>
[8514a50]263 <parameter>- -disable-libva</parameter>: This switch is required to disable
[f2b4c82]264 video acceleration in VLC since it is incompatible with ffmpeg-5, and
265 upstream has no plans to port it due to complexity.
266 </para>
[8514a50]267-->
[b397566e]268 <para>
269 <parameter>--disable-libplacebo</parameter>: This switch is required to
270 disable support for using libplacebo as a rendering pipeling because VLC
271 is incompatible with the latest version of libplacebo.
272 </para>
273
[7d4be40]274 <para>
[1b533771]275 <option>--disable-vpx</option>: Use this switch to disable
[54d58907]276 <application>libvpx</application>.
[7d4be40]277 </para>
278
[1b533771]279 <!--<para>
280 <option>- -disable-lua</option>: Use this switch if you don't have
[8e8f919c]281 <application>Lua</application> installed.
[1b533771]282 </para>-->
[09b87984]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
[5909a5ed]314 <para>
315 <option>--disable-sftp</option>: The default is to build the sftp
316 module if <xref linkend="libssh2"/> is installed. Use this switch
317 if you do not want to build this module.
318 </para>
319
[6537ed7e]320 <note>
321 <para>
322 There are many options to <application>VLC</application>'s
323 <command>configure</command> command. Check the
324 <command>configure --help</command> output for a complete list.
325 </para>
326 </note>
[b1a0a05]327
[9681d3f]328 </sect2>
329
330 <sect2 role="content">
331 <title>Contents</title>
332
333 <segmentedlist>
334 <segtitle>Installed Programs</segtitle>
335 <segtitle>Installed Libraries</segtitle>
336 <segtitle>Installed Directories</segtitle>
337
338 <seglistitem>
[bfa83aee]339 <seg>
[6537ed7e]340 cvlc, nvlc, qvlc, rvlc, svlc, vlc and vlc-wrapper
[bfa83aee]341 </seg>
342 <seg>
[01e86d88]343 libvlccore.so, libvlc.so, and many plugins in
[bfa83aee]344 /usr/lib/vlc/plugins
345 </seg>
346 <seg>
[28fb6fd]347 /usr/{include,lib,share}/vlc,
348 /usr/share/kde4, and
[b1a0a05]349 /usr/share/doc/vlc-&vlc-version;
[bfa83aee]350 </seg>
[9681d3f]351 </seglistitem>
352 </segmentedlist>
353
354 <variablelist>
355 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
356 <?dbfo list-presentation="list"?>
357 <?dbhtml list-presentation="table"?>
358
359 <varlistentry id="cvlc">
360 <term><command>cvlc</command></term>
361 <listitem>
[09b87984]362 <para>
[4c24eb0a]363 is a script to run VLC with the dummy interface
[09b87984]364 </para>
[9681d3f]365 <indexterm zone="vlc cvlc">
366 <primary sortas="b-cvlc">cvlc</primary>
367 </indexterm>
[6537ed7e]368 </listitem>
369 </varlistentry>
370
371 <varlistentry id="nvlc">
372 <term><command>nvlc</command></term>
373 <listitem>
374 <para>
[4c24eb0a]375 is a script to run VLC with the ncurses interface
[6537ed7e]376 </para>
377 <indexterm zone="vlc nvlc">
378 <primary sortas="b-nvlc">nvlc</primary>
379 </indexterm>
[9681d3f]380 </listitem>
381 </varlistentry>
382
383 <varlistentry id="qvlc">
384 <term><command>qvlc</command></term>
385 <listitem>
[09b87984]386 <para>
387 is a script to run <application>VLC</application> with the
[4c24eb0a]388 <application>Qt</application> interface
[09b87984]389 </para>
[9681d3f]390 <indexterm zone="vlc qvlc">
391 <primary sortas="b-qvlc">qvlc</primary>
392 </indexterm>
393 </listitem>
394 </varlistentry>
395
396 <varlistentry id="rvlc">
397 <term><command>rvlc</command></term>
398 <listitem>
[09b87984]399 <para>
400 is a script to run <application>VLC</application> with a command
[4c24eb0a]401 line interface
[09b87984]402 </para>
[9681d3f]403 <indexterm zone="vlc rvlc">
404 <primary sortas="b-rvlc">rvlc</primary>
405 </indexterm>
406 </listitem>
407 </varlistentry>
408
409 <varlistentry id="svlc">
410 <term><command>svlc</command></term>
411 <listitem>
[09b87984]412 <para>
413 is a script to run <application>VLC</application> with the skins
[4c24eb0a]414 interface
[09b87984]415 </para>
[9681d3f]416 <indexterm zone="vlc svlc">
417 <primary sortas="b-svlc">svlc</primary>
418 </indexterm>
419 </listitem>
420 </varlistentry>
421
422 <varlistentry id="vlc-prog">
423 <term><command>vlc</command></term>
424 <listitem>
[09b87984]425 <para>
[4c24eb0a]426 is the <application>VLC</application> media player
[09b87984]427 </para>
[9681d3f]428 <indexterm zone="vlc vlc-prog">
429 <primary sortas="b-vlc">vlc</primary>
430 </indexterm>
431 </listitem>
432 </varlistentry>
433
434 <varlistentry id="vlc-wrapper">
435 <term><command>vlc-wrapper</command></term>
436 <listitem>
[09b87984]437 <para>
[4c24eb0a]438 is a wrapper to drop privileges with <application>VLC</application>
[09b87984]439 </para>
[9681d3f]440 <indexterm zone="vlc vlc-wrapper">
441 <primary sortas="b-vlc-wrapper">vlc-wrapper</primary>
442 </indexterm>
443 </listitem>
444 </varlistentry>
[bfa83aee]445
[9681d3f]446 </variablelist>
[bfa83aee]447
[9681d3f]448 </sect2>
[bfa83aee]449
[9681d3f]450</sect1>
Note: See TracBrowser for help on using the repository browser.