VideoLAN Releases dav2d: An Open-Source Decoder for the Next-Generation AV2 Codec
Introduction
The Alliance for Open Media (AOM) has set its sights on finalizing the AV2 video codec specification by the end of 2025, but as of now, the standard remains in draft form. Despite this, VideoLAN—the organization behind the widely used VLC media player—has taken a proactive step by publishing dav2d, an open-source decoder for AV2. This move mirrors their earlier success with dav1d, the high-performance AV1 decoder, and signals a strong commitment to supporting next-generation video compression technologies. In this article, we explore the current state of AV2, the capabilities of dav2d, and what this development means for the future of open video standards.
The Current State of AV2 Development
AV2 is the successor to AV1, a royalty-free video codec designed to deliver superior compression efficiency. The AOM originally targeted a final AV2 specification by late 2025, but development challenges have kept the standard in draft status. This is not unusual for complex video coding standards, which undergo extensive testing and refinement before ratification. The draft specification includes experimental features such as advanced motion compensation, improved intra-prediction, and more efficient entropy coding, all aimed at achieving up to 30% bitrate savings compared to AV1. VideoLAN’s early work on dav2d demonstrates their confidence that the draft will evolve into a stable standard without major architectural changes.
Introducing dav2d: A Fast, Open-Source AV2 Decoder
VideoLAN developers have been quietly working on dav2d for several months, and the code was made public on a weekend release. The decoder is built from the ground up with performance and portability in mind, leveraging lessons learned from dav1d. Like its predecessor, dav2d is written in C and assembly language to maximize speed on a wide range of hardware, from low-power mobile devices to high-end desktop CPUs.
Key Features of dav2d
- High performance: Optimized for multi-threading, SIMD instructions, and cache-friendly algorithms to deliver real-time decoding even on modest hardware.
- Open-source license: Released under the permissive BSD 2-clause license, allowing both open-source projects and commercial products to integrate it freely.
- Compatibility with draft AV2: Currently targets the latest draft specification, with plans to track revisions and final ratification.
- Extensive testing framework: A test suite ensures correctness and helps catch regressions as the specification evolves.
- Integration with FFmpeg and VLC: VideoLAN intends to bake dav2d into its own ecosystem, making it easy for users to play AV2 content once the codec gains traction.
The release of dav2d is not just a technical milestone; it also carries strategic importance. By providing a working decoder before the specification is finalized, VideoLAN encourages early adoption and feedback from the community. This approach was successful with dav1d, which became the gold standard for AV1 decoding and is now used in major browsers, media frameworks, and operating systems.
Implications for Open Video Standards
The availability of dav2d could accelerate the adoption of AV2 in several ways. First, it lowers the barrier for developers who want to experiment with the new codec. Second, it provides a reference implementation that can be used to validate the draft specification. Third, it demonstrates that the open-source community is ready to support AV2, which may encourage hardware vendors to include AV2 decoding capabilities in future chips.
However, challenges remain. The AV2 draft is still evolving, and significant changes could require substantial rework of dav2d. Additionally, the encoder side of AV2 is less mature; without a robust encoder, practical deployment is limited. VideoLAN’s decision to focus on decoding first is prudent, as decoders are typically the first component needed for playback and testing.
For end users, the impact of dav2d will not be immediate. AV2 content is virtually nonexistent today, and widespread adoption of the codec will depend on encoder availability, hardware support, and industry consensus. Nonetheless, dav2d represents a critical infrastructure piece that will be ready when the AV2 ecosystem matures.
Conclusion
VideoLAN’s publication of dav2d is a forward-thinking move that underscores the organization’s commitment to open video standards. While the AV2 specification is still a work in progress, dav2d provides a functional, high-performance decoder that can be used for development, testing, and early deployment. As the AOM works toward finalizing AV2 by 2025, tools like dav2d will be essential in bridging the gap between specification and real-world use. The open-source community now has a solid foundation upon which to build the next generation of video playback.