Introduction to libva

The libva package contains a library which provides access to hardware accelerated video processing, using hardware to accelerate video processing in order to offload the central processing unit (CPU) to decode and encode compressed digital video. VA API video decode/encode interface is platform and window system independent targeted at Direct Rendering Infrastructure (DRI) in the X Window System however it can potentially also be used with direct framebuffer and graphics sub-systems for video output. Accelerated processing includes support for video decoding, video encoding, subpicture blending, and rendering.

This package is known to build and work properly using an LFS 7.9-systemd platform.

This package is known to build properly using the gcc-6 compiler.

Package Information

libva Dependencies








There is a circular dependency between Mesa-11.2.2 and this package. If you need the VAAPI driver provided by Mesa-11.2.2, build this package without EGL and GLX support, install MesaLib, then reinstall this package with EGL and GLX support.

Runtime Dependency

At least one of libva drivers or the driver shipped within Mesa-11.2.2 for the Radeon hardware.

User Notes:

Installation of libva

Install libva by running the following commands:

autoreconf -fi          &&
./configure --prefix=/usr --disable-static &&

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

--disable-egl --disable-glx": Use these two switches in the configure command if you would like to build without EGL and GLX support, e.g. to satisfy the circular dependency with Mesa.

autoreconf -fi: This command regenerates the configure script to prevent a mandatory test for wayland-scanner when configuring. It can be omitted if Wayland-1.11.0 has been built.


Installed Programs: avcenc, h264encode, jpegenc, loadjpeg, mpeg2vaenc, mpeg2vldemo, putsurface, putsurface_wayland and vainfo
Installed Libraries:,,,,, and
Installed Directories: /usr/include/va

Short Descriptions

contains API functions which provide access to hardware accelerated video processing.

Last updated on 2016-05-29 22:33:21 -0500