dav1d is an AV1 decoder :) Targeted to be small and fast.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
B Krishnan Iyer 3d94fb9aff arm64: mc: NEON implementation of w_mask_444/422/420 function 2 weeks ago
doc Add dav1d logo 3 months ago
examples dav1dplay: abort if no input filename is provided 1 week ago
include Export frame ITU-T T.35 Metadata 1 week ago
snap snap: Use git describe to provide a version 5 months ago
src arm64: mc: NEON implementation of w_mask_444/422/420 function 4 days ago
tests Prefer `do {} while (0);` over `while (0);` 6 days ago
tools meson: move dav1dplay to a new examples section 1 week ago
.gitignore Add snapcraft packaging 6 months ago
.gitlab-ci.yml build: fix meson deprecation warning 1 month ago
CONTRIBUTING.md Update slightly the contribution document. 8 months ago
COPYING Update copyright years 5 months ago
NEWS dav1d 0.4.0 2 weeks ago
README.md build: fix meson deprecation warning 1 month ago
THANKS.md Update THANKS.md 3 months ago
dav1d_logo.png Add dav1d logo 3 months ago
meson.build meson: move dav1dplay to a new examples section 1 week ago
meson_options.txt meson: move dav1dplay to a new examples section 1 week ago

README.md

dav1d logo

dav1d

dav1d is a new AV1 cross-platform decoder, open-source, and focused on speed and correctness.

The canonical repository URL for this repo is https://code.videolan.org/videolan/dav1d

This project is partially funded by the Alliance for Open Media/AOM.

Goal and Features

The goal of this project is to provide a decoder for most platforms, and achieve the highest speed possible to overcome the temporary lack of AV1 hardware decoder.

It supports all features from AV1, including all subsampling and bit-depth parameters.

In the future, this project will host simple tools or simple wrappings (like, for example, an MFT transform).

License

dav1d is released under a very liberal license, a contrario from the other VideoLAN projects, so that it can be embedded anywhere, including non-open-source software; or even drivers, to allow the creation of hybrid decoders.

The reasoning behind this decision is the same as for libvorbis, see RMS on vorbis.

Roadmap

The plan is the folllowing:

Reached

  1. Complete C implementation of the decoder,
  2. Provide a usable API,
  3. Port to most platforms,
  4. Make it fast on desktop, by writing asm for AVX-2 chips.

On-going

  1. Make it fast on mobile, by writing asm for ARMv8 chips,
  2. Make it fast on older desktop, by writing asm for SSE chips.

After

  1. Improve C code base with various tweaks,
  2. Accelerate for less common architectures,
  3. Use more GPU, when possible.

Contribute

Currently, we are looking for help from:

  • C developers,
  • asm developers,
  • platform-specific developers,
  • GPGPU developers,
  • testers.

Our contributions guidelines are quite strict. We want to build a coherent codebase to simplify maintenance and achieve the highest possible speed.

Notably, the codebase is in pure C and asm.

We are on IRC, on the #dav1d channel on Freenode.

See the contributions document.

CLA

There is no CLA.

People will keep their copyright and their authorship rights, while adhering to the BSD 2-clause license.

VideoLAN will only have the collective work rights.

CoC

The VideoLAN Code of Conduct applies to this project.

Compile

  1. Install Meson (0.47 or higher), Ninja, and, for x86* targets, nasm (2.13.02 or higher)
  2. Run meson build --buildtype release
  3. Build with ninja -C build

Run tests

  1. During initial build dir setup or meson configure specify -Denable_tests=true
  2. In the build directory run meson test optionally with -v for more verbose output, especially useful for checkasm

Run testdata based tests

  1. Checkout the test data repository
   git clone https://code.videolan.org/videolan/dav1d-test-data.git tests/dav1d-test-data
  1. During initial build dir setup or meson configure specify -Denable_tests=true and -Dtestdata_tests=true
   meson .test -Denable_tests=true -Dtestdata_tests=true
  1. In the build directory run meson test optionally with -v for more verbose output

Support

This project is partially funded by the Alliance for Open Media/AOM and is supported by TwoOrioles and VideoLabs.

These companies can provide support and integration help, should you need it.

FAQ

Why do you not improve libaom rather than starting a new project?

  • We believe that libaom is a very good library. It was however developed for research purposes during AV1 design. We think that an implementation written from scratch can achieve faster decoding, in the same way that ffvp9 was faster than libvpx.

Is dav1d a recursive acronym?

  • Yes.

Can I help?

I am not a developer. Can I help?

  • Yes. We need testers, bug reporters, and documentation writers.

What about the AV1 patent license?

  • This project is an implementation of a decoder. It gives you no special rights on the AV1 patents.

Please read the AV1 patent license that applies to the AV1 specification and codec.

Will you care about ? ?

  • We do, but we don’t have either the time or the knowledge. Therefore, patches and contributions welcome.