VLC-3.0.8

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 44. Video Utilities

- Prev

  Transcode-1.1.7

- Next

  xine-ui-0.99.10

- Up
- Home

# VLC-3.0.8

## Introduction to VLC

VLC is a media player, streamer, and encoder. It can play from many inputs, such as files, network streams, capture devices, desktops, or DVD, SVCD, VCD, and audio CD. It can use most audio and video codecs (MPEG 1/2/4, H264, VC-1, DivX, WMV, Vorbis, AC3, AAC, etc.), and it 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-9.0 platform.

### Package Information

- Download (HTTP): https://download.videolan.org/vlc/3.0.8/vlc-3.0.8.tar.xz

- Download MD5 sum: 744442ec0c145453ea1d257914c8072e

- Download size: 25 MB

- Estimated disk space required: 728 MB (add 13 MB for tests)

- Estimated build time: 2.1 SBU (using parallelism=4; add 0.2 SBU for tests)

### VLC Dependencies

#### Recommended

alsa-lib-1.1.9, FFmpeg-4.2, liba52-0.7.4, libgcrypt-1.8.5 libmad-0.15.1b, Lua-5.3.5, and X Window System,

#### Optional features and packages

dbus-1.12.16 and libssh2-1.9.0

#### Optional input plugins

libcddb-1.3.2, libdv-1.0.0, libdvdcss-1.4.2, libdvdread-6.0.1, libdvdnav-6.0.0, opencv-4.1.1 (currently broken), Samba-4.10.7, v4l-utils-1.16.6, libbluray, libdc1394, libproxy, Live555, and VCDImager (requires libcdio-2.1.0)

#### Optional mux/demux plugins

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

#### Optional codec plugins

FAAD2-2.8.8, FLAC-1.3.3, libass-0.14.0, libmpeg2-0.5.1, libpng-1.6.37, libtheora-1.1.1, libva-2.5.0, libvorbis-1.3.6, Opus-1.3.1, Speex-1.2.0, x264-20190815-2245, aom, dav1d, Dirac, FluidSynth, libdca, libkate, OpenMAX, Schroedinger, SoX, Tremor, Twolame, and Zapping VBI

#### Optional video plugins

AAlib-1.4rc5, Fontconfig-2.13.1, FreeType-2.10.1, FriBidi-1.0.5, librsvg-2.44.14, libvdpau-1.2, SDL-1.2.15 (with SDL_image), and libcaca

#### Optional audio plugins

PulseAudio-12.2, libsamplerate-0.1.9, and JACK

#### Optional interface plugins

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

#### Optional visualisations and video filter plugins

Goom and projectM

#### Optional service discovery plugins

Avahi-0.7, libmtp and libupnp

#### Miscellaneous options

GnuTLS-3.6.9, libnotify-0.7.8, libxml2-2.9.9, taglib-1.11.1, xdg-utils-1.1.3 (runtime), and AtmoLight

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/vlc

## Installation of VLC

Install VLC by running the following commands:

    sed -i '/vlc_demux.h/a #define LUA_COMPAT_APIINTCASTS' modules/lua/vlc.h   &&
    sed -i '/LIBSSH2_VERSION_NUM/s/10801/10900/' modules/access/sftp.c &&

    BUILDCC=gcc ./configure --prefix=/usr    \
                            --disable-opencv \
                            --disable-vpx    &&

    make

To test the results, issue: make check.

Now, as the `root` user:

    make docdir=/usr/share/doc/vlc-3.0.8 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.32 or GTK+-3.24.10 installed (for the icon cache) and desktop-file-utils-0.24 (for the desktop cache) and issue the following commands as the `root` user:

    gtk-update-icon-cache -qtf /usr/share/icons/hicolor &&
    update-desktop-database -q

## Command Explanations

sed ... modules/lua/...: This command allows building with the current version of Lua-5.3.5.

sed ... modules/access/sftp.c: This command fixes building with libssh2-1.9.0.

`--disable-opencv`: This switch is required to disable opencv which is not compatible with this version of vlc.

`--disable-vpx`: This switch is required to disable libvpx. The latest version is not compatible with this version of vlc.

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

`--disable-sftp`: The default is to build the sftp module if libssh2-1.9.0 is installed. Use this switch if you do not want to build this module.

### 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 many plugins in /usr/lib/vlc/plugins
Installed Directories: /usr/{include,lib,share}/vlc and /usr/share/doc/vlc-3.0.8

### 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 2019-08-20 14:44:05 -0700

- Prev

  Transcode-1.1.7

- Next

  xine-ui-0.99.10

- Up
- Home