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.5
platform.
Package Information
VLC Dependencies
Recommended
Lua-5.2.3, libmad-0.15.1b, FFmpeg-2.1.3, liba52-0.7.4,
X Window
System, alsa-lib-1.0.27.2, and libgcrypt-1.6.1
Optional features and packages
D-Bus-1.8.0
Optional input plugins
libproxy, Live555, libdc1394,
libdv-1.0.0, libdvdread-4.2.1,
libdvdnav-4.2.1, libbluray,
OpenCV,
Samba-4.1.4, Video4Linux,
VCDImager (requires
libcdio) and libcddb
Optional mux/demux plugins
libdvbpsi,
Game Music Emu,
sidplay-libs,
libogg-1.3.1, libshout,
libmatroska
(requires libebml), libmodplug and
Musepack
Optional codec plugins
libva-1.2.1, OpenMAX, FAAD2-2.7, Twolame, libdca,
FLAC-1.3.0,
libmpeg2-0.5.1, libvorbis-1.3.4,
Tremor,
Speex-1.2rc1, Opus-1.1, libtheora-1.1.1,
Dirac,
Schroedinger,
libpng-1.6.9, x264-20140115-2245, FluidSynth,
Zapping VBI,
libass-0.10.2, libkate and libtiger
Optional video plugins
libvdpau-0.7, SDL-1.2.15 (with SDL_image),
FreeType-2.5.2, Fontconfig-2.11.0, FriBidi-0.19.6, librsvg-2.40.1, AAlib-1.4rc5 and
libcaca
Optional audio plugins
PulseAudio-4.0, JACK, and libsamplerate-0.1.8
Optional interface plugins
Qt-4.8.5
(required for the graphical user interface), LIRC, and libtar
Optional visualisations and video filter plugins
Goom and projectM
Optional service discovery plugins
Avahi-0.6.31, libmtp and libupnp
Miscellaneous options
GnuTLS-3.2.11, libxml2-2.9.1,
taglib-1.9.1, libnotify-0.7.6,
and xdg-utils-1.1.0-rc1 (runtime)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/vlc
Installation of VLC
Install VLC by running the
following commands:
sed -i 's:libsmbclient.h:samba-4.0/&:' modules/access/smb.c &&
./bootstrap &&
./configure --prefix=/usr &&
make
To test the results, issue: make
check.
Now, as the root
user:
Note
If the XORG_PREFIX is not /usr, make sure the LIBRARY_PATH
environment variable is set properly when doing the install, For
example: sudo make
LIBRARY_PATH=$XORG_PREFIX/lib ... install.
make docdir=/usr/share/doc/vlc-2.1.3 install
Note
This package installs 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.22 or
GTK+-3.10.7 installed (for the icon cache) and
desktop-file-utils-0.22 (for the
desktop cache) and issue the following commands as the
root
user:
gtk-update-icon-cache &&
update-desktop-database
Command Explanations
sed -i ...: This sed
fixes compilation with Samba 4.
./bootstrap: This
command calls autoreconf to generate m4 macros and prepare
Makefiles.
--disable-lua
: Use this switch if you
don't have Lua installed.
--disable-mad
: Use this switch if you
don't have libmad installed.
--disable-avcodec --disable-swscale
:
Use these switches if you don't have FFmpeg installed.
--disable-a52
: Use this switch if you
don't have liba52 installed.
--disable-xcb
: Use this switch if you
don't have X Window System
installed.
--disable-alsa
: Use this switch if you
don't have ALSA installed.
--disable-libgcrypt
: Use this switch if
you don't have libgcrypt
installed.
Note
There are many options to VLC's
configure command.
Check the configure
--help output for a complete list.