Introduction to VLC
VLC is a media player, streamer,
and encoder. It can play from many inputs like files, network
streams, capture device, desktops, or DVD, SVCD, VCD, and audio CD.
It can play most audio and video codecs (MPEG 1/2/4, H264, VC-1,
DivX, WMV, Vorbis, AC3, AAC, etc.), but can also convert to
different formats and/or send streams through the network.
This package is known to build and work properly using an LFS-7.3
platform.
Package Information
Additional Downloads
VLC Dependencies
Required
D-Bus-1.6.10
Recommended
alsa-lib-1.0.27, FFmpeg-1.2.1, GnuTLS-3.2.0, liba52-0.7.4, libgcrypt-1.5.2, libmad-0.15.1b and
Qt-4.8.4
(Qt is required for the graphical
user interface; without Qt you
will only be able to use the command line or ncurses interface)
Optional input drivers and libraries
Minizip,
Libproxy, Live555, DC1394, libdv-1.0.0,
libdvdread-4.2.0, libdvdnav-4.2.0,
libbluray,
OpenCV, Samba-3.6.12, Video4Linux,
VCDImager (requires
libcdio) and libcddb
Optional mux/demux plugins
libdvbpsi,
Game Music Emu,
sidplay-libs
(with patches located in contrib/src/sidplay2 subdirectory),
libogg-1.3.0, libshout, libmatroska (requires
libebml),
libmodplug and Musepack
Optional codec plugins
libva,
OpenMAX, FAAD2-2.7, Twolame, libdca,
FLAC-1.2.1,
libmpeg2-0.5.1, libvorbis-1.3.3,
Tremor,
Speex-1.2rc1, Opus, libtheora-1.1.1,
Dirac,
Schroedinger,
libpng-1.6.2, libx264,
FluidSynth,
Zapping VBI,
libass, libkate and libtiger
Optional video plugins
SDL-1.2.15
(with SDL_image),
FreeType-2.4.12, Fontconfig-2.10.2, FriBidi-0.19.5, librsvg-2.36.4, AAlib-1.4rc5 and
libcaca
Optional audio plugins
PulseAudio-3.0, PortAudio, JACK and libsamplerate
Optional interface plugins
xcb-util-keysyms, LIRC and libtar
Optional visualization plugins
Goom and projectM
Optional service discovery plugins
Avahi-0.6.31, MTP and UPnP
Optional miscellaneous dependencies
libxml2-2.9.1, taglib-1.8, libnotify-0.7.5, MediaLibrary (requires
SQLite-3.7.16.2) and Lua
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/vlc
Installation of VLC
Install VLC by running the
following commands:
patch -Np1 -i ../vlc-2.0.6-opencv_fixes-1.patch &&
./bootstrap &&
./configure --prefix=/usr --disable-lua &&
make
To test the results, issue: make
check.
Now, as the root user:
make docdir=/usr/share/doc/vlc-2.0.6 install
Note
This package installes icon files into the /usr/share/icons/hicolor hierarchy and desktop
files into the /usr/share/applications hierarchy. You can
improve system performance and memory usage by updating
/usr/share/icons/hicolor/index.theme and
/usr/share/applications/mimeinfo.cache. To
perform the update you must have GTK+-2.24.17 or
GTK+-3.6.4 installed (for the icon cache) and
desktop-file-utils-0.21 (for the
desktop cache) and issue the following commands as the
root user:
gtk-update-icon-cache &&
update-desktop-database
Command Explanations
./bootstrap: This
command is required because the patch modifies Autotools files and VLC uses a custom reconfiguration system.
--disable-lua: The package
fails to install if Lua is
missing. Omit this option if you have installed Lua.
--disable-avcodec: Use this switch if
you don't have FFmpeg installed.
--disable-a52: Use this switch if you
don't have liba52 installed.
--disable-libgcrypt: Use this switch if
you don't have libgcrypt
installed.
--disable-mad: Use this switch if you
don't have libmad installed.
--enable-shine: Use this option if you
wish to build the Shine plugin.
--enable-faad: Use this option if you
have FAAD installed and wish to
build the FAAD plugin.
--enable-tremor: Use this option if you
have Tremor installed and wish to
build the Tremor plugin.
--enable-aa: Use this option if you
have AAlib installed and wish to
build the AAlib plugin.