VLC-2.1.5

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.7 platform.

Package Information

  • Download (HTTP): http://download.videolan.org/vlc/2.1.5/vlc-2.1.5.tar.xz

  • Download MD5 sum: 3941b561f590cc95ca5e795213cba2f2

  • Download size: 19 MB

  • Estimated disk space required: 494 MB (additional 1 MB for the tests)

  • Estimated build time: 4.7 SBU (additional less than 0.1 SBU for the tests)

VLC Dependencies

Recommended

Optional features and packages

D-Bus-1.8.16

Optional input plugins

libdv-1.0.0, libdvdcss-1.3.0, libdvdread-5.0.2, libdvdnav-5.0.3, Samba-4.1.17, v4l-utils-1.6.2, libbluray, libdc1394, libcddb, libproxy, Live555, OpenCV, and VCDImager (requires libcdio)

Optional mux/demux plugins

libogg-1.3.2, Game Music Emu, libdvbpsi, libshout, libmatroska (requires libebml), libmodplug, Musepack, and sidplay-libs,

Optional codec plugins

FAAD2-2.7, FLAC-1.3.1, libass-0.12.1, libmpeg2-0.5.1, libpng-1.6.16, libtheora-1.1.1, libva-1.5.0, libvorbis-1.3.4, Opus-1.1, Speex-1.2rc2, x264-20141208-2245, Dirac, FluidSynth, libdca, libkate, libtiger, OpenMAX, Schroedinger, Tremor, Twolame, and Zapping VBI

Optional video plugins

AAlib-1.4rc5, Fontconfig-2.11.1, FreeType-2.5.5, FriBidi-0.19.6, librsvg-2.40.7, libvdpau-0.9, SDL-1.2.15 (with SDL_image), and libcaca

Optional audio plugins

PulseAudio-5.0, libsamplerate-0.1.8, and JACK

Optional interface plugins

Qt-4.8.6 (required for the graphical user interface), libtar, and LIRC

Optional visualisations and video filter plugins

Goom and projectM

Optional service discovery plugins

Avahi-0.6.31, libmtp and libupnp

Miscellaneous options

GnuTLS-3.3.12, libnotify-0.7.6, libxml2-2.9.2, taglib-1.9.1, and xdg-utils-1.1.0-rc3 (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 &&

sed "s:< 56:< 57:g" -i configure &&
./configure --prefix=/usr        &&

sed -i 's/luaL_optint/(int)&eger/'         modules/lua/libs/{net,osd,volume}.c             &&
sed -i 's/luaL_checkint(/(int)luaL_checkinteger(/' \
       modules/lua/{demux,libs/{configuration,net,osd,playlist,stream,variables,volume}}.c &&
make

To test the results, issue: make check.

Now, as the root user:

[Note]

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.5 install
[Note]

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.26 or GTK+-3.14.8 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.

sed ... configure: This sed fixes compilation with ffmpeg 2.4.

sed -i ... {net,osd,volume}.c This sed fixes compilation with lua 5.3.

sed -i ... variables,volume}}.c: This sed fixes compilation with lua 5.3.

--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]

Note

There are many options to VLC's configure command. Check the configure --help output for a complete list.

Contents

Installed Programs: cvlc, nvlc, qvlc, rvlc, svlc, vlc and vlc-wrapper
Installed Libraries: libvlccore.so, libvlc.so and several plugins in /usr/lib/vlc/plugins
Installed Directories: /usr/include/vlc, /usr/lib/vlc, /usr/share/vlc and /usr/share/doc/vlc-2.1.5

Short Descriptions

cvlc

is a script to run VLC with the dummy interface.

nvlc

is a script to run VLC with the ncurses interface.

qvlc

is a script to run VLC with the Qt interface.

rvlc

is a script to run VLC with a command line interface.

svlc

is a script to run VLC with the skins interface.

vlc

is the VLC media player.

vlc-wrapper

is a wrapper to drop privileges with VLC.

Last updated on 2015-03-04 14:39:39 -0800