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. The 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.
Download (HTTP): https://github.com/intel/libva/archive/2.22.0/libva-2.22.0.tar.gz
Xorg build environment and libdrm-2.4.123
The VA API driver suitable for the hardware in your system:
intel-vaapi-driver (for Intel GPUs provided with Haswell CPUs or
earlier), intel-media (for Intel GPUs provided with Broadwell CPUs
or later), and Mesa-24.2.7 (providing the r600
, radeonsi
, and
nouveau
VA API drivers, for the
ATI/AMD Radeon HD 2xxx GPUs and later, and supported
NVIDIA GPUs; there is a circular dependency, read the Mesa-24.2.7 page
for information on how to break it)
Install libva by running the following commands:
cd build && meson setup --prefix=/usr --buildtype=release && ninja
This package does not come with a test suite.
Now, as the root
user:
ninja install
First clean the build directory:
rm -rf *
Install lib32-libva by running the following commands:
CC="gcc -m32" CXX="g++ -m32" \ PKG_CONFIG_PATH=/usr/lib32/pkgconfig \ meson setup --prefix=/usr \ --libdir=/usr/lib32 \ --buildtype=release && ninja
Now, as the root
user:
DESTDIR=$PWD/DESTDIR ninja install && cp -vr DESTDIR/usr/lib32/* /usr/lib32 && rm -rf DESTDIR && ldconfig