source: multimedia/videoutils/vlc.xml@ 5a88db56

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 5a88db56 was 5a94000c, checked in by Krejzi <krejzi@…>, 11 years ago

vlc update and fixes, mplayer samba fix.

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

  • Property mode set to 100644
File size: 14.5 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 "3b0e465b0990097b65abaf3e25589957">
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 &lfs73_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 </itemizedlist>
88
89 <bridgehead renderas="sect3">VLC Dependencies</bridgehead>
90
91 <bridgehead renderas="sect4">Recommended</bridgehead>
92 <para role="recommended">
93 <xref linkend="alsa-lib"/>,
94 <xref linkend="dbus"/>,
95 <xref linkend="ffmpeg"/>,
96 <xref linkend="gnutls"/>,
97 <xref linkend="liba52"/>,
98 <xref linkend="libgcrypt"/>,
99 <xref linkend="libmad"/>,
100 <xref linkend="lua"/> and
101 <xref linkend="qt4"/> (<application>Qt</application> is required for the
102 graphical user interface; without <application>Qt</application> you will
103 only be able to use the command line or <application>ncurses</application>
104 interface)
105 </para>
106
107 <bridgehead renderas="sect4">Optional input drivers and libraries</bridgehead>
108 <para role="optional">
109 <ulink url="http://code.google.com/p/libproxy/">libproxy</ulink>,
110 <ulink url="http://www.live555.com/">Live555</ulink>,
111 <ulink url="http://sourceforge.net/projects/libdc1394/">libdc1394</ulink>,
112 <xref linkend="libdv"/>,
113 <xref linkend="libdvdread"/>,
114 <xref linkend="libdvdnav"/>,
115 <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
116 <ulink url="http://opencv.willowgarage.com/wiki/">OpenCV</ulink>,
117 <xref linkend="samba"/>,
118 <ulink url="http://linuxtv.org/downloads/v4l-utils/">Video4Linux</ulink>,
119 <ulink url="http://www.gnu.org/software/vcdimager/">VCDImager</ulink>
120 (requires <ulink url="http://www.gnu.org/software/libcdio/">libcdio</ulink>)
121 and <ulink url="http://sourceforge.net/projects/libcddb/">libcddb</ulink>
122 </para>
123
124 <bridgehead renderas="sect4">Optional mux/demux plugins</bridgehead>
125 <para role="optional">
126 <ulink url="http://www.videolan.org/developers/libdvbpsi.html">libdvbpsi</ulink>,
127 <ulink url="http://code.google.com/p/game-music-emu/">Game Music Emu</ulink>,
128 <ulink url="http://sourceforge.net/projects/sidplay2/">sidplay-libs</ulink>,
129 <xref linkend="libogg"/>,
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>),
133 <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink> and
134 <ulink url="http://www.musepack.net/">Musepack</ulink>
135 </para>
136
137 <bridgehead renderas="sect4">Optional codec plugins</bridgehead>
138 <para role="optional">
139 <ulink url="http://www.freedesktop.org/wiki/Software/vaapi">libva</ulink>,
140 <ulink url="http://www.khronos.org/openmax/">OpenMAX</ulink>,
141 <xref linkend="faad2"/>,
142 <ulink url="http://www.twolame.org/">Twolame</ulink>,
143 <ulink url="http://www.videolan.org/developers/libdca.html">libdca</ulink>,
144 <xref linkend="flac"/>,
145 <xref linkend="libmpeg2"/>,
146 <xref linkend="libvorbis"/>,
147 <ulink url="http://wiki.xiph.org/Tremor">Tremor</ulink>,
148 <xref linkend="speex"/>,
149 <ulink url="http://downloads.xiph.org/releases/opus/">Opus</ulink>,
150 <xref linkend="libtheora"/>,
151 <ulink url="http://diracvideo.org/download/dirac-research/">Dirac</ulink>,
152 <ulink url="http://diracvideo.org/download/schroedinger/">Schroedinger</ulink>,
153 <xref linkend="libpng"/>,
154 <ulink url="http://www.videolan.org/developers/x264.html">libx264</ulink>,
155 <ulink url="http://sourceforge.net/projects/fluidsynth/">FluidSynth</ulink>,
156 <ulink url="http://sourceforge.net/projects/zapping/">Zapping VBI</ulink>,
157 <ulink url="http://code.google.com/p/libass/">libass</ulink>,
158 <ulink url="http://code.google.com/p/libkate/">libkate</ulink> and
159 <ulink url="http://code.google.com/p/libtiger/">libtiger</ulink>
160 </para>
161
162 <bridgehead renderas="sect4">Optional video plugins</bridgehead>
163 <para role="optional">
164 <xref linkend="sdl"/>
165 (with <ulink url="http://www.libsdl.org/projects/SDL_image/">SDL_image</ulink>),
166 <xref linkend="freetype2"/>,
167 <xref linkend="fontconfig"/>,
168 <xref linkend="fribidi"/>,
169 <xref linkend="librsvg"/>,
170 <xref linkend="aalib"/> and
171 <ulink url="http://caca.zoy.org/">libcaca</ulink>
172 </para>
173
174 <bridgehead renderas="sect4">Optional audio plugins</bridgehead>
175 <para role="optional">
176 <xref linkend="pulseaudio"/>,
177 <ulink url="http://www.portaudio.com/">PortAudio</ulink>,
178 <ulink url="http://jackaudio.org/">JACK</ulink> and
179 <xref linkend="libsamplerate"/>
180 </para>
181
182 <bridgehead renderas="sect4">Optional interface plugins</bridgehead>
183 <para role="optional">
184 <xref linkend="xcb-util-keysyms"/>,
185 <ulink url="http://www.lirc.org/">LIRC</ulink> and
186 <ulink url="http://www.feep.net/libtar/">libtar</ulink>
187 </para>
188
189 <bridgehead renderas="sect4">Optional visualization plugins</bridgehead>
190 <para role="optional">
191 <ulink url="http://sourceforge.net/projects/goom/">Goom</ulink> and
192 <ulink url="http://sourceforge.net/projects/projectm/">projectM</ulink>
193 </para>
194
195 <bridgehead renderas="sect4">Optional service discovery plugins</bridgehead>
196 <para role="optional">
197 <xref linkend="avahi"/>,
198 <ulink url="http://sourceforge.net/projects/libmtp/">libmtp</ulink> and
199 <ulink url="http://sourceforge.net/projects/pupnp/">libupnp</ulink>
200 </para>
201
202 <bridgehead renderas="sect4">Optional miscellaneous dependencies</bridgehead>
203 <para role="optional">
204 <xref linkend="libxml2"/>,
205 <xref linkend="taglib"/>,
206 <xref linkend="libnotify"/> and
207 <ulink url="http://sourceforge.net/projects/medialibrary/">MediaLibrary</ulink>
208 (requires <xref linkend="sqlite"/>)
209 </para>
210
211 <para condition="html" role="usernotes">
212 User Notes: <ulink url="&blfs-wiki;/vlc"/>
213 </para>
214 </sect2>
215
216 <sect2 role="installation">
217 <title>Installation of VLC</title>
218
219 <para>
220 Install <application>VLC</application> by running the following commands:
221 </para>
222
223<screen><userinput>patch -Np1 -i ../vlc-&vlc-version;-opencv_fixes-1.patch &amp;&amp;
224sed -i '/#include/s:stream_:FLAC/&amp;:' modules/codec/flac.c &amp;&amp;
225sed -i 's:libsmbclient.h:samba-4.0/&amp;:' configure.ac modules/access/smb.c &amp;&amp;
226sed -i 's:va_x11.h&gt;:&amp;\n#include &lt;va/va_compat.h&gt;:' modules/codec/avcodec/vaapi.c &amp;&amp;
227./bootstrap &amp;&amp;
228
229./configure --prefix=/usr &amp;&amp;
230make</userinput></screen>
231
232 <para>
233 To test the results, issue: <command>make check</command>.
234 </para>
235
236 <para>
237 Now, as the <systemitem class="username">root</systemitem> user:
238 </para>
239
240<screen role="root"><userinput>make docdir=/usr/share/doc/vlc-&vlc-version; install</userinput></screen>
241
242 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
243 href="../../xincludes/update-icons-and-desktop.xml"/>
244 </sect2>
245
246 <sect2 role="commands">
247 <title>Command Explanations</title>
248
249 <para>
250 <command>sed -i ...</command>: This command fixes compilation with
251 <xref linkend="flac"/>.
252 </para>
253
254 <para>
255 <command>./bootstrap</command>: This command is required because the patch
256 modifies <application>Autotools</application> files and
257 <application>VLC</application> uses a custom reconfiguration system.
258 </para>
259
260 <para>
261 <option>--disable-lua</option>: Use this switch if you don't have
262 <application>Lua</application> installed.
263 </para>
264
265 <para>
266 <option>--disable-dbus</option>: Use this switch if you don't have
267 <application>D-Bus</application> installed.
268 </para>
269
270 <para>
271 <option>--disable-avcodec</option>: Use this switch if you don't
272 have <application>FFmpeg</application> installed.
273 </para>
274
275 <para>
276 <option>--disable-a52</option>: Use this switch if you don't have
277 <application>liba52</application> installed.
278 </para>
279
280 <para>
281 <option>--disable-libgcrypt</option>: Use this switch if you don't
282 have <application>libgcrypt</application> installed.
283 </para>
284
285 <para>
286 <option>--disable-mad</option>: Use this switch if you don't
287 have <application>libmad</application> installed.
288 </para>
289
290 <para>
291 <option>--enable-shine</option>: Use this option if you wish to build the
292 <application>Shine</application> plugin.
293 </para>
294
295 <para>
296 <option>--enable-faad</option>: Use this option if you have
297 <application>FAAD</application> installed and wish to build the
298 <application>FAAD</application> plugin.
299 </para>
300
301 <para>
302 <option>--enable-tremor</option>: Use this option if you have
303 <application>Tremor</application> installed and wish to build the
304 <application>Tremor</application> plugin.
305 </para>
306
307 <para>
308 <option>--enable-aa</option>: Use this option if you have
309 <application>AAlib</application> installed and wish to build the
310 <application>AAlib</application> plugin.
311 </para>
312
313 </sect2>
314
315 <sect2 role="content">
316 <title>Contents</title>
317
318 <segmentedlist>
319 <segtitle>Installed Programs</segtitle>
320 <segtitle>Installed Libraries</segtitle>
321 <segtitle>Installed Directories</segtitle>
322
323 <seglistitem>
324 <seg>
325 cvlc, qvlc, rvlc, svlc, vlc and vlc-wrapper
326 </seg>
327 <seg>
328 libvlccore.so, libvlc.so and several libraries in
329 /usr/lib/vlc/plugins
330 </seg>
331 <seg>
332 /usr/include/vlc,
333 /usr/lib/vlc,
334 /usr/share/vlc and
335 /usr/share/doc/vlc-&vlc-version;
336 </seg>
337 </seglistitem>
338 </segmentedlist>
339
340 <variablelist>
341 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
342 <?dbfo list-presentation="list"?>
343 <?dbhtml list-presentation="table"?>
344
345 <varlistentry id="cvlc">
346 <term><command>cvlc</command></term>
347 <listitem>
348 <para>
349 is a script to run VLC with the dummy interface.
350 </para>
351 <indexterm zone="vlc cvlc">
352 <primary sortas="b-cvlc">cvlc</primary>
353 </indexterm>
354 </listitem>
355 </varlistentry>
356
357 <varlistentry id="qvlc">
358 <term><command>qvlc</command></term>
359 <listitem>
360 <para>
361 is a script to run <application>VLC</application> with the
362 <application>Qt</application> interface.
363 </para>
364 <indexterm zone="vlc qvlc">
365 <primary sortas="b-qvlc">qvlc</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
369
370 <varlistentry id="rvlc">
371 <term><command>rvlc</command></term>
372 <listitem>
373 <para>
374 is a script to run <application>VLC</application> with a command
375 line interface.
376 </para>
377 <indexterm zone="vlc rvlc">
378 <primary sortas="b-rvlc">rvlc</primary>
379 </indexterm>
380 </listitem>
381 </varlistentry>
382
383 <varlistentry id="svlc">
384 <term><command>svlc</command></term>
385 <listitem>
386 <para>
387 is a script to run <application>VLC</application> with the skins
388 interface.
389 </para>
390 <indexterm zone="vlc svlc">
391 <primary sortas="b-svlc">svlc</primary>
392 </indexterm>
393 </listitem>
394 </varlistentry>
395
396 <varlistentry id="vlc-prog">
397 <term><command>vlc</command></term>
398 <listitem>
399 <para>
400 is the <application>VLC</application> media player.
401 </para>
402 <indexterm zone="vlc vlc-prog">
403 <primary sortas="b-vlc">vlc</primary>
404 </indexterm>
405 </listitem>
406 </varlistentry>
407
408 <varlistentry id="vlc-wrapper">
409 <term><command>vlc-wrapper</command></term>
410 <listitem>
411 <para>
412 is a wrapper to drop privileges with <application>VLC</application>.
413 </para>
414 <indexterm zone="vlc vlc-wrapper">
415 <primary sortas="b-vlc-wrapper">vlc-wrapper</primary>
416 </indexterm>
417 </listitem>
418 </varlistentry>
419
420 </variablelist>
421
422 </sect2>
423
424</sect1>
Note: See TracBrowser for help on using the repository browser.