source: multimedia/videoutils/vlc.xml@ 10030e39

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 10030e39 was 10030e39, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

A few more tags and minor corrections for LFS-7.4.

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

  • Property mode set to 100644
File size: 14.8 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
8 "http://download.videolan.org/pub/videolan/vlc/&vlc-version;/vlc-&vlc-version;.tar.xz">
9 <!ENTITY vlc-download-ftp
10 "ftp://ftp.videolan.org/pub/videolan/vlc/&vlc-version;/vlc-&vlc-version;.tar.xz">
11 <!ENTITY vlc-md5sum "6445eb55aa087f30abe27423535e1ab8">
12 <!ENTITY vlc-size "18 MB">
13 <!ENTITY vlc-buildsize "as much as 600 MB, but likely around 500 MB">
14 <!ENTITY vlc-time "4.0 SBU">
15]>
16
17<sect1 id="vlc" xreflabel="VLC-&vlc-version;">
18 <?dbhtml filename="vlc.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>VLC-&vlc-version;</title>
26
27 <indexterm zone="vlc">
28 <primary sortas="a-VLC">VLC</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to VLC</title>
33
34 <para>
35 <application>VLC</application> is a media player, streamer, and encoder.
36 It can play from many inputs like files, network streams, capture device,
37 desktops, or DVD, SVCD, VCD, and audio CD. It can play most audio and
38 video codecs (MPEG 1/2/4, H264, VC-1, DivX, WMV, Vorbis, AC3, AAC, etc.),
39 but can also convert to different formats and/or send streams through the
40 network.
41 </para>
42
43 &lfs74_checked;
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>
49 Download (HTTP): <ulink url="&vlc-download-http;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download (FTP): <ulink url="&vlc-download-ftp;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download MD5 sum: &vlc-md5sum;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download size: &vlc-size;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated disk space required: &vlc-buildsize;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated build time: &vlc-time;
75 </para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
80 <itemizedlist spacing="compact">
81 <listitem>
82 <para>
83 Required patch:
84 <ulink url="&patch-root;/vlc-&vlc-version;-opencv_fixes-1.patch"/>
85 </para>
86 </listitem>
87 <listitem>
88 <para>
89 Required patch:
90 <ulink url="&patch-root;/vlc-&vlc-version;-live_fixes-1.patch"/>
91 </para>
92 </listitem>
93 </itemizedlist>
94
95 <bridgehead renderas="sect3">VLC Dependencies</bridgehead>
96
97 <bridgehead renderas="sect4">Recommended</bridgehead>
98 <para role="recommended">
99 <xref linkend="alsa-lib"/>,
100 <xref linkend="dbus"/>,
101 <xref linkend="ffmpeg"/>,
102 <xref linkend="gnutls"/>,
103 <xref linkend="liba52"/>,
104 <xref linkend="libgcrypt"/>,
105 <xref linkend="libmad"/>,
106 <xref linkend="libva"/>,
107 <xref linkend="lua"/> and
108 <xref linkend="qt4"/> (<application>Qt</application> is required for the
109 graphical user interface; without <application>Qt</application> you will
110 only be able to use the command line or <application>ncurses</application>
111 interface)
112 </para>
113
114 <bridgehead renderas="sect4">Optional input drivers and libraries</bridgehead>
115 <para role="optional">
116 <ulink url="http://code.google.com/p/libproxy/">libproxy</ulink>,
117 <ulink url="http://www.live555.com/">Live555</ulink>,
118 <ulink url="http://sourceforge.net/projects/libdc1394/">libdc1394</ulink>,
119 <xref linkend="libdv"/>,
120 <xref linkend="libdvdread"/>,
121 <xref linkend="libdvdnav"/>,
122 <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
123 <ulink url="http://opencv.willowgarage.com/wiki/">OpenCV</ulink>,
124 <xref linkend="samba"/>,
125 <ulink url="http://linuxtv.org/downloads/v4l-utils/">Video4Linux</ulink>,
126 <ulink url="http://www.gnu.org/software/vcdimager/">VCDImager</ulink>
127 (requires <ulink url="http://www.gnu.org/software/libcdio/">libcdio</ulink>)
128 and <ulink url="http://sourceforge.net/projects/libcddb/">libcddb</ulink>
129 </para>
130
131 <bridgehead renderas="sect4">Optional mux/demux plugins</bridgehead>
132 <para role="optional">
133 <ulink url="http://www.videolan.org/developers/libdvbpsi.html">libdvbpsi</ulink>,
134 <ulink url="http://code.google.com/p/game-music-emu/">Game Music Emu</ulink>,
135 <ulink url="http://sourceforge.net/projects/sidplay2/">sidplay-libs</ulink>,
136 <xref linkend="libogg"/>,
137 <ulink url="http://downloads.xiph.org/releases/libshout/">libshout</ulink>,
138 <ulink url="http://dl.matroska.org/downloads/libmatroska/">libmatroska</ulink>
139 (requires <ulink url="http://dl.matroska.org/downloads/libebml/">libebml</ulink>),
140 <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink> and
141 <ulink url="http://www.musepack.net/">Musepack</ulink>
142 </para>
143
144 <bridgehead renderas="sect4">Optional codec plugins</bridgehead>
145 <para role="optional">
146 <ulink url="http://www.khronos.org/openmax/">OpenMAX</ulink>,
147 <xref linkend="faad2"/>,
148 <ulink url="http://www.twolame.org/">Twolame</ulink>,
149 <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
150 <xref linkend="flac"/>,
151 <xref linkend="libmpeg2"/>,
152 <xref linkend="libvorbis"/>,
153 <ulink url="http://wiki.xiph.org/Tremor">Tremor</ulink>,
154 <xref linkend="speex"/>,
155 <ulink url="http://downloads.xiph.org/releases/opus/">Opus</ulink>,
156 <xref linkend="libtheora"/>,
157 <ulink url="http://diracvideo.org/download/dirac-research/">Dirac</ulink>,
158 <ulink url="http://diracvideo.org/download/schroedinger/">Schroedinger</ulink>,
159 <xref linkend="libpng"/>,
160 <ulink url="http://www.videolan.org/developers/x264.html">libx264</ulink>,
161 <ulink url="http://sourceforge.net/projects/fluidsynth/">FluidSynth</ulink>,
162 <ulink url="http://sourceforge.net/projects/zapping/">Zapping VBI</ulink>,
163 <ulink url="http://code.google.com/p/libass/">libass</ulink>,
164 <ulink url="http://code.google.com/p/libkate/">libkate</ulink> and
165 <ulink url="http://code.google.com/p/libtiger/">libtiger</ulink>
166 </para>
167
168 <bridgehead renderas="sect4">Optional video plugins</bridgehead>
169 <para role="optional">
170 <xref linkend="sdl"/>
171 (with <ulink url="http://www.libsdl.org/projects/SDL_image/">SDL_image</ulink>),
172 <xref linkend="freetype2"/>,
173 <xref linkend="fontconfig"/>,
174 <xref linkend="fribidi"/>,
175 <xref linkend="librsvg"/>,
176 <xref linkend="aalib"/> and
177 <ulink url="http://caca.zoy.org/">libcaca</ulink>
178 </para>
179
180 <bridgehead renderas="sect4">Optional audio plugins</bridgehead>
181 <para role="optional">
182 <xref linkend="pulseaudio"/>,
183 <ulink url="http://www.portaudio.com/">PortAudio</ulink>,
184 <ulink url="http://jackaudio.org/">JACK</ulink> and
185 <xref linkend="libsamplerate"/>
186 </para>
187
188 <bridgehead renderas="sect4">Optional interface plugins</bridgehead>
189 <para role="optional">
190 <xref linkend="xcb-util-keysyms"/>,
191 <ulink url="http://www.lirc.org/">LIRC</ulink> and
192 <ulink url="http://www.feep.net/libtar/">libtar</ulink>
193 </para>
194
195 <bridgehead renderas="sect4">Optional visualization plugins</bridgehead>
196 <para role="optional">
197 <ulink url="http://sourceforge.net/projects/goom/">Goom</ulink> and
198 <ulink url="http://sourceforge.net/projects/projectm/">projectM</ulink>
199 </para>
200
201 <bridgehead renderas="sect4">Optional service discovery plugins</bridgehead>
202 <para role="optional">
203 <xref linkend="avahi"/>,
204 <ulink url="http://sourceforge.net/projects/libmtp/">libmtp</ulink> and
205 <ulink url="http://sourceforge.net/projects/pupnp/">libupnp</ulink>
206 </para>
207
208 <bridgehead renderas="sect4">Optional miscellaneous dependencies</bridgehead>
209 <para role="optional">
210 <xref linkend="libxml2"/>,
211 <xref linkend="taglib"/>,
212 <xref linkend="libnotify"/> and
213 <ulink url="http://sourceforge.net/projects/medialibrary/">MediaLibrary</ulink>
214 (requires <xref linkend="sqlite"/>)
215 </para>
216
217 <para condition="html" role="usernotes">
218 User Notes: <ulink url="&blfs-wiki;/vlc"/>
219 </para>
220 </sect2>
221
222 <sect2 role="installation">
223 <title>Installation of VLC</title>
224
225 <para>
226 Install <application>VLC</application> by running the following commands:
227 </para>
228
229<screen><userinput>patch -Np1 -i ../vlc-&vlc-version;-opencv_fixes-1.patch &amp;&amp;
230patch -Np1 -i ../vlc-&vlc-version;-live_fixes-1.patch &amp;&amp;
231sed -i 's:libsmbclient.h:samba-4.0/&amp;:' configure.ac modules/access/smb.c &amp;&amp;
232./bootstrap &amp;&amp;
233
234./configure --prefix=/usr &amp;&amp;
235make</userinput></screen>
236
237 <para>
238 To test the results, issue: <command>make check</command>.
239 </para>
240
241 <para>
242 Now, as the <systemitem class="username">root</systemitem> user:
243 </para>
244
245 <note>
246 <para>
247 If the XORG_PREFIX is not /usr, make sure the LIBRARY_PATH
248 environment variable is set properly when doing the install, For example:
249 <command>sudo make LIBRARY_PATH=$XORG_PREFIX/lib ... install</command>.
250 </para>
251 </note>
252
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"/>
257
258 </sect2>
259
260 <sect2 role="commands">
261 <title>Command Explanations</title>
262
263 <para>
264 <command>sed -i ...</command>: This sed fixes compilation with
265 <application>Samba</application> 4.
266 </para>
267
268 <para>
269 <command>./bootstrap</command>: This command is required because the patch
270 modifies <application>Autotools</application> files and
271 <application>VLC</application> uses a custom reconfiguration system.
272 </para>
273
274 <para>
275 <option>--disable-lua</option>: Use this switch if you don't have
276 <application>Lua</application> installed.
277 </para>
278
279 <para>
280 <option>--disable-dbus</option>: Use this switch if you don't have
281 <application>D-Bus</application> installed.
282 </para>
283
284 <para>
285 <option>--disable-avcodec</option>: Use this switch if you don't
286 have <application>FFmpeg</application> installed.
287 </para>
288
289 <para>
290 <option>--disable-a52</option>: Use this switch if you don't have
291 <application>liba52</application> installed.
292 </para>
293
294 <para>
295 <option>--disable-libgcrypt</option>: Use this switch if you don't
296 have <application>libgcrypt</application> installed.
297 </para>
298
299 <para>
300 <option>--disable-mad</option>: Use this switch if you don't
301 have <application>libmad</application> installed.
302 </para>
303
304 <para>
305 <option>--enable-shine</option>: Use this option if you wish to build the
306 <application>Shine</application> plugin.
307 </para>
308
309 <para>
310 <option>--enable-faad</option>: Use this option if you have
311 <application>FAAD</application> installed and wish to build the
312 <application>FAAD</application> plugin.
313 </para>
314
315 <para>
316 <option>--enable-tremor</option>: Use this option if you have
317 <application>Tremor</application> installed and wish to build the
318 <application>Tremor</application> plugin.
319 </para>
320
321 <para>
322 <option>--enable-aa</option>: Use this option if you have
323 <application>AAlib</application> installed and wish to build the
324 <application>AAlib</application> plugin.
325 </para>
326
327 </sect2>
328
329 <sect2 role="content">
330 <title>Contents</title>
331
332 <segmentedlist>
333 <segtitle>Installed Programs</segtitle>
334 <segtitle>Installed Libraries</segtitle>
335 <segtitle>Installed Directories</segtitle>
336
337 <seglistitem>
338 <seg>
339 cvlc, qvlc, rvlc, svlc, vlc and vlc-wrapper
340 </seg>
341 <seg>
342 libvlccore.so, libvlc.so and several libraries in
343 /usr/lib/vlc/plugins
344 </seg>
345 <seg>
346 /usr/include/vlc,
347 /usr/lib/vlc,
348 /usr/share/vlc and
349 /usr/share/doc/vlc-&vlc-version;
350 </seg>
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>
362 <para>
363 is a script to run VLC with the dummy interface.
364 </para>
365 <indexterm zone="vlc cvlc">
366 <primary sortas="b-cvlc">cvlc</primary>
367 </indexterm>
368 </listitem>
369 </varlistentry>
370
371 <varlistentry id="qvlc">
372 <term><command>qvlc</command></term>
373 <listitem>
374 <para>
375 is a script to run <application>VLC</application> with the
376 <application>Qt</application> interface.
377 </para>
378 <indexterm zone="vlc qvlc">
379 <primary sortas="b-qvlc">qvlc</primary>
380 </indexterm>
381 </listitem>
382 </varlistentry>
383
384 <varlistentry id="rvlc">
385 <term><command>rvlc</command></term>
386 <listitem>
387 <para>
388 is a script to run <application>VLC</application> with a command
389 line interface.
390 </para>
391 <indexterm zone="vlc rvlc">
392 <primary sortas="b-rvlc">rvlc</primary>
393 </indexterm>
394 </listitem>
395 </varlistentry>
396
397 <varlistentry id="svlc">
398 <term><command>svlc</command></term>
399 <listitem>
400 <para>
401 is a script to run <application>VLC</application> with the skins
402 interface.
403 </para>
404 <indexterm zone="vlc svlc">
405 <primary sortas="b-svlc">svlc</primary>
406 </indexterm>
407 </listitem>
408 </varlistentry>
409
410 <varlistentry id="vlc-prog">
411 <term><command>vlc</command></term>
412 <listitem>
413 <para>
414 is the <application>VLC</application> media player.
415 </para>
416 <indexterm zone="vlc vlc-prog">
417 <primary sortas="b-vlc">vlc</primary>
418 </indexterm>
419 </listitem>
420 </varlistentry>
421
422 <varlistentry id="vlc-wrapper">
423 <term><command>vlc-wrapper</command></term>
424 <listitem>
425 <para>
426 is a wrapper to drop privileges with <application>VLC</application>.
427 </para>
428 <indexterm zone="vlc vlc-wrapper">
429 <primary sortas="b-vlc-wrapper">vlc-wrapper</primary>
430 </indexterm>
431 </listitem>
432 </varlistentry>
433
434 </variablelist>
435
436 </sect2>
437
438</sect1>
Note: See TracBrowser for help on using the repository browser.