News

Presenting dav1d, a new lightweight AV1 decoder, by VideoLAN and FFmpeg

2 min read

On Monday, Jean-Baptiste Kempf, the president of VideoLAN introduced a new AV1 decoder, named dav1d. This open source decoder aims to be small, fast, maintainable, correctly threaded, and cross-platform.

What is AV1?

AV1, short for AOMedia Video 1, is a new royalty-free video coding format designed for video transmissions over the internet. It is being developed by the Alliance for Open Media (AOMedia) composed of most of the important Web companies including YouTube, Google, Facebook, Netflix, Amazon, and Microsoft, among others. Back in September, the YouTube Developers account published playlist of the first videos to receive AV1 transcodes.

Technical details of dav1d

The following are the technical details about dav1d:

  • It is written in C99 without VLAs. This facilitates portability as some compilers still haven’t implemented VLAs.
  • It has asm in NASM/GAS syntax.
  • It uses Meson/Ninja as build system. Meson and Ninja are open source build systems which are meant to be extremely fast.
  • It supports x86, x64, ARMv7, ARMv8 architectures.
  • It runs on Windows, Linux, macOS, Android, iOS making it cross-platform.
  • It is released under BSD, so that it can be embedded anywhere, including non-open-source software; or even drivers, for hybrid decoders.

Performance details of dav1d

Currently, the reference decoder (libaom) for AV1 requires a lot of improvement as it is a research codebase. That is why, the VideoLAN and FFmpeg communities have come together to work on this new decoder, sponsored by the Alliance of Open Media.

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

To show the performance improvements that dav1d comes with, the developers compared it with libaom:

  • Smaller source code: The source code of dav1d is 1/10th of lines of code compared to libaom.
  • Smaller binary size: Its weight is 1/3rd of the binary size of libaom.
  • Smaller runtime memory footprint: The memory footprint of dav1d is 1/4th of memory footprint of libaom
  • Stack usage is minimal: It uses a very limited amount of stack (about 1 KB).
  • Faster than libaom 1.0.0, slower than libaom HEAD: Depending on the threads conditions it is approximately faster than libaom 1.0.0, but slower than libaom HEAD.

You can find the source code of dav1d at VideoLAN website.

Read more about dav1d at Jean-Baptiste Kempf’s website and also watch this presentation at Video Dev Days 2018.

Read Next

YouTube starts testing AV1 video codec format, launches AV1 Beta Playlist

A new Video-to-Video Synthesis model uses Artificial Intelligence to create photorealistic videos

Facebook Watch is now available world-wide challenging video streaming rivals, YouTube, Twitch, and more

Bhagyashree R

Share
Published by
Bhagyashree R

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago