VLC-3.0.21

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.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

Additional Downloads

VLC Dependencies

Recommended

Optional features and packages

dbus-1.14.10, libidn-1.42, and libssh2-1.11.1

Optional input plugins

libarchive-3.7.7, libcddb-1.3.2, libdv-1.0.0, libdvdcss-1.4.3, libdvdread-6.1.3, libdvdnav-6.1.1, opencv-4.10.0, Samba-4.21.1, v4l-utils-1.28.1, libbluray, libdc1394, libnfs, libproxy, libraw1394, Live555, and VCDImager (requires libcdio-2.1.0)

Optional mux/demux plugins

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

Optional codec plugins

FAAD2-2.11.1, FLAC-1.4.3, libaom-3.9.1, libass-0.17.3, libmpeg2-0.5.1, libpng-1.6.44, libva-2.22.0, libvorbis-1.3.7, Opus-1.5.2, Speex-1.2.1, libvpx-1.14.1, x264-20240812, aribb24, dav1d, Dirac, FluidLite, FluidSynth, libdca, libkate, libtheora, OpenMAX, Schroedinger, Shine, SoX, Tremor, Twolame, and Zapping VBI

Optional video plugins

AAlib-1.4rc5, Fontconfig-2.15.0, FreeType-2.13.3, FriBidi-1.0.16, libplacebo-7.349.0 (currently broken), librsvg-2.59.1, libvdpau-1.5, sdl12-compat-1.2.68, libcaca, and libmfx

Optional audio plugins

PulseAudio-17.0, libsamplerate-0.2.2, spatialaudio, and JACK

Optional interface plugins

FreeRDP-3.8.0, libtar, libvncclient, and LIRC

Optional visualisations and video filter plugins

Goom, libvsxu, and projectM

Optional service discovery plugins

Avahi-0.8, libmtp and libupnp

Miscellaneous options

GnuTLS-3.8.7.1, libnotify-0.8.3, libxml2-2.13.4, Protobuf-28.2, taglib-2.0.2, xdg-utils-1.2.1 (runtime), AtmoLight, libmicrodns, and Srt

Installation of VLC

First, add corrections for problems of taglib-2.0 and ffmpeg-7 and later:

patch -Np1 -i ../vlc-3.0.21-taglib-1.patch         &&
patch -Np1 -i ../vlc-3.0.21-fedora_ffmpeg7-1.patch

Install VLC by running the following commands:

BUILDCC=gcc ./configure --prefix=/usr --disable-libplacebo &&
make

To test the results, issue: make check.

Now, as the root user:

make docdir=/usr/share/doc/vlc-3.0.21 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+-3.24.43 installed (for the icon cache) and desktop-file-utils-0.27 (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

--disable-libplacebo: This switch is required to disable support for using libplacebo as a rendering pipeline because VLC is incompatible with the latest version of libplacebo.

--disable-vpx: Use this switch to disable libvpx.

--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.11.1 is installed. Use this switch if you do not want to build this module.

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

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