|
|
The dav1d AV1 decoder uses the [Meson build system][meson]. To compile dav1d, **Meson 0.47 or higher** and [Ninja][ninja] are required.
|
|
|
|
|
|
## Basic compilation
|
|
|
|
|
|
Check out the source code using git:
|
|
|
|
|
|
```
|
|
|
git clone https://code.videolan.org/videolan/dav1d.git
|
|
|
```
|
|
|
|
|
|
Change to the dav1d directory and configure the build with meson:
|
|
|
|
|
|
```
|
|
|
cd dav1d
|
|
|
meson build --buildtype release
|
|
|
```
|
|
|
|
|
|
To compile it, change to the `build` directory and run ninja:
|
|
|
|
|
|
```
|
|
|
cd build
|
|
|
ninja
|
|
|
```
|
|
|
|
|
|
[meson]: https://mesonbuild.com
|
|
|
[ninja]: https://ninja-build.org |
|
|
\ No newline at end of file |