source: multimedia/videoutils/vlc.xml@ da283f39

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 da283f39 was da283f39, checked in by Ken Moffat <ken@…>, 6 years ago

Fix vlc for the API changes in QT-5.11.

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

  • Property mode set to 100644
File size: 14.3 KB
Line 
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
7 <!ENTITY vlc-download-http "https://download.videolan.org/vlc/&vlc-version;/vlc-&vlc-version;.tar.xz">
8 <!ENTITY vlc-download-ftp " ">
9 <!ENTITY vlc-md5sum "bdca57018d772fd270b4243eab46f978">
10 <!ENTITY vlc-size "25 MB">
11 <!ENTITY vlc-buildsize "558 MB (add 6 MB for tests)">
12 <!ENTITY vlc-time "2.0 SBU (using parallelism=4; add 0.3 SBU for tests)">
13]>
14
15<sect1 id="vlc" xreflabel="VLC-&vlc-version;">
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
32 <para>
33 <application>VLC</application> is a media player, streamer, and encoder.
34 It can play from many inputs, such as files, network streams, capture
35 devices, desktops, or DVD, SVCD, VCD, and audio CD. It can use most audio
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
38 through the network.
39 </para>
40
41 &lfs82_checked;
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>
47 Download (HTTP): <ulink url="&vlc-download-http;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download (FTP): <ulink url="&vlc-download-ftp;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download MD5 sum: &vlc-md5sum;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download size: &vlc-size;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated disk space required: &vlc-buildsize;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated build time: &vlc-time;
73 </para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">VLC Dependencies</bridgehead>
78
79 <bridgehead renderas="sect4">Recommended</bridgehead>
80 <para role="recommended">
81 <xref linkend="alsa-lib"/>,
82 <xref linkend="ffmpeg"/>,
83 <xref linkend="liba52"/>,
84 <xref linkend="libgcrypt"/>
85 <xref linkend="libmad"/>,
86 <xref linkend="lua"/>, and
87 <xref linkend="x-window-system"/>,
88 </para>
89
90 <bridgehead renderas="sect4">Optional features and packages</bridgehead>
91 <para role="optional">
92 <xref linkend="dbus"/>
93 </para>
94
95 <bridgehead renderas="sect4">Optional input plugins</bridgehead>
96 <para role="optional">
97
98 <xref linkend="libcddb"/>,
99 <xref linkend="libdv"/>,
100 <xref linkend="libdvdcss"/>,
101 <xref linkend="libdvdread"/>,
102 <xref linkend="libdvdnav"/>,
103 <xref linkend="opencv"/> (currently broken),
104 <xref linkend="samba"/>,
105 <xref linkend="v4l-utils"/>,
106 <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
107 <ulink url="http://sourceforge.net/projects/libdc1394/">libdc1394</ulink>,
108 <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>,
109 <ulink url="http://www.live555.com/">Live555</ulink>, and
110 <ulink url="http://www.gnu.org/software/vcdimager/">VCDImager</ulink>
111 (requires <xref linkend="libcdio"/>)
112 </para>
113
114 <bridgehead renderas="sect4">Optional mux/demux plugins</bridgehead>
115 <para role="optional">
116 <xref linkend="libogg"/>,
117 <ulink url="https://github.com/kode54/Game_Music_Emu">Game Music Emu</ulink>,
118 <ulink url="http://www.videolan.org/developers/libdvbpsi.html">libdvbpsi</ulink>,
119 <ulink url="http://downloads.xiph.org/releases/libshout/">libshout</ulink>,
120 <ulink url="http://dl.matroska.org/downloads/libmatroska/">libmatroska</ulink>
121 (requires <ulink url="http://dl.matroska.org/downloads/libebml/">libebml</ulink>),
122 <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
123 <ulink url="http://www.musepack.net/">Musepack</ulink>, and
124 <ulink url="http://sourceforge.net/projects/sidplay2/">sidplay-libs</ulink>
125 </para>
126
127 <bridgehead renderas="sect4">Optional codec plugins</bridgehead>
128 <para role="optional">
129 <xref linkend="faad2"/>,
130 <xref linkend="flac"/>,
131 <xref linkend="libass"/>,
132 <xref linkend="libmpeg2"/>,
133 <xref linkend="libpng"/>,
134 <xref linkend="libtheora"/>,
135 <xref linkend="libva"/>,
136 <xref linkend="libvorbis"/>,
137 <xref linkend="opus"/>,
138 <xref linkend="speex"/>,
139 <xref linkend="x264"/>,
140 <ulink url="http://sourceforge.net/projects/dirac/">Dirac</ulink>,
141 <ulink url="http://sourceforge.net/projects/fluidsynth/">FluidSynth</ulink>,
142 <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
143 <ulink url="http://code.google.com/p/libkate/">libkate</ulink>,
144 <ulink url="http://www.khronos.org/openmax/">OpenMAX</ulink>,
145 <ulink url="http://sourceforge.net/projects/schrodinger/">Schroedinger</ulink>,
146 <ulink url="http://wiki.xiph.org/Tremor">Tremor</ulink>,
147 <ulink url="http://www.twolame.org/">Twolame</ulink>, and
148 <ulink url="http://sourceforge.net/projects/zapping/">Zapping VBI</ulink>
149 </para>
150
151 <bridgehead renderas="sect4">Optional video plugins</bridgehead>
152 <para role="optional">
153 <xref linkend="aalib"/>,
154 <xref linkend="fontconfig"/>,
155 <xref linkend="freetype2"/>,
156 <xref linkend="fribidi"/>,
157 <xref linkend="librsvg"/>,
158 <xref linkend="libvdpau"/>,
159 <xref linkend="sdl"/>
160 (with <ulink url="http://www.libsdl.org/projects/SDL_image/">SDL_image</ulink>), and
161 <ulink url="http://caca.zoy.org/">libcaca</ulink>
162 </para>
163
164 <bridgehead renderas="sect4">Optional audio plugins</bridgehead>
165 <para role="optional">
166 <xref linkend="pulseaudio"/>,
167 <xref linkend="libsamplerate"/>, and
168 <ulink url="http://jackaudio.org/">JACK</ulink>
169 </para>
170
171 <bridgehead renderas="sect4">Optional interface plugins</bridgehead>
172 <para role="optional">
173 <xref linkend="qt5"/> (required for the graphical user interface),
174 <ulink url="http://pkgbuild.com/~giovanni/libtar/">libtar</ulink>, and
175 <ulink url="http://www.lirc.org/">LIRC</ulink>
176 </para>
177
178 <bridgehead renderas="sect4">Optional visualisations and video filter plugins</bridgehead>
179 <para role="optional">
180 <ulink url="http://sourceforge.net/projects/goom/">Goom</ulink> and
181 <ulink url="http://sourceforge.net/projects/projectm/">projectM</ulink>
182 </para>
183
184 <bridgehead renderas="sect4">Optional service discovery plugins</bridgehead>
185 <para role="optional">
186 <xref linkend="avahi"/>,
187 <ulink url="http://sourceforge.net/projects/libmtp/">libmtp</ulink> and
188 <ulink url="http://sourceforge.net/projects/pupnp/">libupnp</ulink>
189 </para>
190
191 <bridgehead renderas="sect4">Miscellaneous options</bridgehead>
192 <para role="optional">
193 <xref linkend="gnutls"/>,
194 <xref linkend="libnotify"/>,
195 <xref linkend="libxml2"/>,
196 <xref linkend="taglib"/>,
197 <xref role="runtime" linkend="xdg-utils"/> (runtime), and
198 <ulink url="http://www.ambilight4pc.com/atmolight.html">AtmoLight</ulink>
199 </para>
200
201 <para condition="html" role="usernotes">
202 User Notes: <ulink url="&blfs-wiki;/vlc"/>
203 </para>
204 </sect2>
205
206 <sect2 role="installation">
207 <title>Installation of VLC</title>
208
209 <para>
210 Install <application>VLC</application> by running the following commands:
211 </para>
212
213 <screen><userinput>sed -i '/vlc_demux.h/a #define LUA_COMPAT_APIINTCASTS' modules/lua/vlc.h &amp;&amp;
214sed -i '/DEPRECATED/s:^://:' modules/text_renderer/freetype/text_layout.c &amp;&amp;
215sed -i '/#include &lt;QString&gt;/i#include &lt;QButtonGroup&gt;' \
216 modules/gui/qt/components/simple_preferences.cpp &amp;&amp;
217
218BUILDCC=gcc ./configure --prefix=/usr --disable-opencv &amp;&amp;
219
220make</userinput></screen>
221
222 <para>
223 To test the results, issue: <command>make check</command>.
224 </para>
225
226 <para>
227 Now, as the <systemitem class="username">root</systemitem> user:
228 </para>
229<!--
230 <note>
231 <para>
232 If the XORG_PREFIX is not /usr, make sure the LIBRARY_PATH
233 environment variable is set properly for the root user when
234 doing the install, For example:
235 <command>sudo make LIBRARY_PATH=$XORG_PREFIX/lib ... install</command>.
236 </para>
237 </note>
238-->
239<screen role="root"><userinput>make docdir=/usr/share/doc/vlc-&vlc-version; install</userinput></screen>
240
241 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
242 href="../../xincludes/update-icons-and-desktop.xml"/>
243
244 </sect2>
245
246 <sect2 role="commands">
247 <title>Command Explanations</title>
248
249 <para>
250 <command>sed ... modules/lua/...</command>: This command allows
251 building with the current version of <xref linkend="lua"/>.
252 </para>
253
254 <para>
255 <command>sed ... text_layout.c</command>: This command allows
256 building with the current version of <xref linkend="freetype2"/>.
257 </para>
258
259 <para>
260 <command>sed -i '/#include &lt;QString&gt;/ ...</command> This
261 command allows building with the current version of
262 <xref linkend="qt5"/>.
263 </para>
264
265 <para>
266 <option>--disable-opencv</option>: This switch is required to disable
267 <application>opencv</application> which is not compatible with this
268 version of <application>vlc</application>.
269 </para>
270
271 <para>
272 <option>--disable-lua</option>: Use this switch if you don't have
273 <application>Lua</application> installed.
274 </para>
275
276 <para>
277 <option>--disable-mad</option>: Use this switch if you don't
278 have <application>libmad</application> installed.
279 </para>
280
281 <para>
282 <option>--disable-avcodec --disable-swscale</option>: Use these switches
283 if you don't have <application>FFmpeg</application> installed.
284 </para>
285
286 <para>
287 <option>--disable-a52</option>: Use this switch if you don't have
288 <application>liba52</application> installed.
289 </para>
290
291 <para>
292 <option>--disable-xcb</option>: Use this switch if you don't have
293 <application>X Window System</application> installed.
294 </para>
295
296 <para>
297 <option>--disable-alsa</option>: Use this switch if you don't have
298 <application>ALSA</application> installed.
299 </para>
300
301 <para>
302 <option>--disable-libgcrypt</option>: Use this switch if you don't
303 have <application>libgcrypt</application> installed.
304 </para>
305
306 <note>
307 <para>
308 There are many options to <application>VLC</application>'s
309 <command>configure</command> command. Check the
310 <command>configure --help</command> output for a complete list.
311 </para>
312 </note>
313
314 </sect2>
315
316 <sect2 role="content">
317 <title>Contents</title>
318
319 <segmentedlist>
320 <segtitle>Installed Programs</segtitle>
321 <segtitle>Installed Libraries</segtitle>
322 <segtitle>Installed Directories</segtitle>
323
324 <seglistitem>
325 <seg>
326 cvlc, nvlc, qvlc, rvlc, svlc, vlc and vlc-wrapper
327 </seg>
328 <seg>
329 libvlccore.so, libvlc.so, and many plugins in
330 /usr/lib/vlc/plugins
331 </seg>
332 <seg>
333 /usr/{include,lib,share}/vlc and
334 /usr/share/doc/vlc-&vlc-version;
335 </seg>
336 </seglistitem>
337 </segmentedlist>
338
339 <variablelist>
340 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
341 <?dbfo list-presentation="list"?>
342 <?dbhtml list-presentation="table"?>
343
344 <varlistentry id="cvlc">
345 <term><command>cvlc</command></term>
346 <listitem>
347 <para>
348 is a script to run VLC with the dummy interface.
349 </para>
350 <indexterm zone="vlc cvlc">
351 <primary sortas="b-cvlc">cvlc</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
356 <varlistentry id="nvlc">
357 <term><command>nvlc</command></term>
358 <listitem>
359 <para>
360 is a script to run VLC with the ncurses interface.
361 </para>
362 <indexterm zone="vlc nvlc">
363 <primary sortas="b-nvlc">nvlc</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
368 <varlistentry id="qvlc">
369 <term><command>qvlc</command></term>
370 <listitem>
371 <para>
372 is a script to run <application>VLC</application> with the
373 <application>Qt</application> interface.
374 </para>
375 <indexterm zone="vlc qvlc">
376 <primary sortas="b-qvlc">qvlc</primary>
377 </indexterm>
378 </listitem>
379 </varlistentry>
380
381 <varlistentry id="rvlc">
382 <term><command>rvlc</command></term>
383 <listitem>
384 <para>
385 is a script to run <application>VLC</application> with a command
386 line interface.
387 </para>
388 <indexterm zone="vlc rvlc">
389 <primary sortas="b-rvlc">rvlc</primary>
390 </indexterm>
391 </listitem>
392 </varlistentry>
393
394 <varlistentry id="svlc">
395 <term><command>svlc</command></term>
396 <listitem>
397 <para>
398 is a script to run <application>VLC</application> with the skins
399 interface.
400 </para>
401 <indexterm zone="vlc svlc">
402 <primary sortas="b-svlc">svlc</primary>
403 </indexterm>
404 </listitem>
405 </varlistentry>
406
407 <varlistentry id="vlc-prog">
408 <term><command>vlc</command></term>
409 <listitem>
410 <para>
411 is the <application>VLC</application> media player.
412 </para>
413 <indexterm zone="vlc vlc-prog">
414 <primary sortas="b-vlc">vlc</primary>
415 </indexterm>
416 </listitem>
417 </varlistentry>
418
419 <varlistentry id="vlc-wrapper">
420 <term><command>vlc-wrapper</command></term>
421 <listitem>
422 <para>
423 is a wrapper to drop privileges with <application>VLC</application>.
424 </para>
425 <indexterm zone="vlc vlc-wrapper">
426 <primary sortas="b-vlc-wrapper">vlc-wrapper</primary>
427 </indexterm>
428 </listitem>
429 </varlistentry>
430
431 </variablelist>
432
433 </sect2>
434
435</sect1>
Note: See TracBrowser for help on using the repository browser.