source: multimedia/videoutils/vlc.xml@ 646a42e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym 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 646a42e was 646a42e, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

Update to lua-5.3.0 and required fixes of other packages.

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

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