#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  libva-2.22.0

- Next

  libvdpau-va-gl-0.4.2

- Up
- Home

# libvdpau-1.5

## Introduction to libvdpau

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.3 platform.

### Package Information

- 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)

### libvdpau Dependencies

#### Required

Xorg Libraries

#### Recommended (Runtime)

The VDPAU driver suitable for the hardware in your system: libvdpau-va-gl-0.4.2 (for Intel GPUs) and Mesa-24.3.4 (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)

#### Optional

Doxygen-1.13.2, Graphviz-12.2.1, and texlive-20240312 or install-tl-unx

## Installation of libvdpau

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}

## Contents

Installed Programs: None
Installed Library: libvdpau.so
Installed Directories: $XORG_PREFIX/{include,lib}/vdpau

## Short Descriptions

`libvdpau.so` | contains functions to offload portions of the video decoding process and video post-processing to the GPU video-hardware

- Prev

  libva-2.22.0

- Next

  libvdpau-va-gl-0.4.2

- Up
- Home