dav1d-1.5.3

#### Gaming Linux® From Scratch - Version 13.0

### Chapter 22. GS

- Prev

  SVT-AV1-4.0.1

- Next

  libaom-3.13.1

- Up
- Home

# dav1d-1.5.3

## Introduction to dav1d

The dav1d package contains an AV1 decoder.

### Note

This may take a while to build. Feel free to do something else while this is building.

### Important

For the lib32 installation instructions, they require new Meson cross files from MLFS, as `--libdir=/usr/lib32` has been moved to the cross files and no longer appear in the instructions. Install the new cross files so that 32-bit libraries don't get installed in `/usr/lib`.

- Download: https://code.videolan.org/videolan/dav1d/-/archive/1.5.3/dav1d-1.5.3.tar.gz

### dav1d Dependencies

Recommended
NASM-3.01

## Installation of dav1d

Install dav1d by running the following commands:

    mkdir build &&
    cd    build &&

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

    ninja

Now, as the `root` user:

    ninja install

## lib32 Installation of dav1d

Install lib32-dav1d by running the following commands:

    rm -rf * &&
    meson setup --prefix=/usr       \
                --buildtype=release \
                --cross-file=lib32  \
                .. &&
    ninja

Now, as the `root` user:

    DESTDIR=$PWD/DESTDIR ninja install    &&
    cp -vR DESTDIR/usr/lib32/* /usr/lib32 &&
    rm -rf DESTDIR                        &&
    ldconfig

## Command Explanations

### Note

Inspect `meson_options.txt` or `meson.options` for a full list of options.

## Contents

Installed Programs: dav1d
Installed Libraries: libdav1d
Installed Directories: /usr/include/dav1d

### Short Descriptions

dav1d | is the dav1d decoder utility
`libdav1d` | contains functions that enable decoding AV1

- Prev

  SVT-AV1-4.0.1

- Next

  libaom-3.13.1

- Up
- Home