source: multimedia/videoutils/vlc.xml@ 2a37b9e

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 krejzi/svn 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 2a37b9e was 791213b, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Update to ffmpeg-2.4.1.
VLC-2.1.5 and Transcode-1.1.7: fix build with ffmpeg-2.4.1. Thanks Armin.

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

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