The libvdpau package contains a library which implements the VDPAU library.
VDPAU (Video Decode and Presentation API for Unix) is an open source library (libvdpau) and API originally designed by Nvidia for its GeForce 8 series and later GPU hardware targeted at the X Window System. This VDPAU API allows video programs to offload portions of the video decoding process and video post-processing to the GPU video-hardware.
Currently, the portions capable of being offloaded by VDPAU onto the GPU are motion compensation (mo comp), inverse discrete cosine transform (iDCT), VLD (variable-length decoding) and deblocking for MPEG-1, MPEG-2, MPEG-4 ASP (MPEG-4 Part 2), H.264/MPEG-4 AVC and VC-1, WMV3/WMV9 encoded videos. Which specific codecs of these that can be offloaded to the GPU depends on the version of the GPU hardware; specifically, to also decode MPEG-4 ASP (MPEG-4 Part 2), Xvid/OpenDivX (DivX 4), and DivX 5 formats, a GeForce 200M (2xxM) Series (the eleventh generation of Nvidia's GeForce graphics processing units) or newer GPU hardware is required.
This package is known to build and work properly using an LFS 12.1 platform.
Download (HTTP): https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/1.5/libvdpau-1.5.tar.bz2
Download MD5 sum: 148a192110e7a49d62c0bf9ef916c099
Download size: 140 KB
Estimated disk space required: 4.6 MB (with tests)
Estimated build time: less than 0.1 SBU (with tests)
The VDPAU driver suitable for the hardware in your system:
libvdpau-va-gl-0.4.2 (for Intel GPUs)
and Mesa-24.0.1 (providing the r600
, radeonsi
, and
nouveau
VDPAU drivers, for the ATI/AMD
Radeon HD 2xxx GPUs and later, and supported
NVIDIA GPUs; Mesa must be built after this package for these
drivers)
Doxygen-1.10.0, Graphviz-10.0.1, and texlive-20230313 or install-tl-unx
Install libvdpau by running the following commands:
mkdir build && cd build && meson setup --prefix=$XORG_PREFIX .. && ninja
To test the results, issue: ninja test. There is only one test for this package, dlclose, and it is known to fail on some systems.
Now, as the root
user:
ninja install
If doxygen is present at build
time place the documentation in a versioned directory as the
root
user:
[ -e $XORG_PREFIX/share/doc/libvdpau ] && mv -v $XORG_PREFIX/share/doc/libvdpau{,1.5}