Introduction to gstreamer-vaapi

The gstreamer-vaapi package contains a gstreamer plugin for hardware accelerated video decode/encode for the prevailing coding standards today (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).



On systems without hardware acceleration (notably virtual machines under qemu-8.2.1), this package may cause the X server to crash. The BLFS team recommends not to install this package in this case.

This package is known to build and work properly using an LFS 12.1 platform.

Package Information

gstreamer-vaapi Dependencies


GTK+-3.24.41, gstreamer-1.22.10, gst-plugins-base-1.22.10, gst-plugins-bad-1.22.10, and libva-2.20.0



Installation of gstreamer-vaapi

Install gstreamer-vaapi by running the following commands:

mkdir build &&
cd    build &&

meson setup ..            \
      --prefix=/usr       \
      --buildtype=release \
      -Dpackage-origin= &&

This package does not come with a working test suite.

Now, as the root user:

ninja install

Command Explanations

--buildtype=release: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.


Installed Programs: None
Installed Library: in /usr/lib/gstreamer-1.0
Installed Directory: None