Dav1d

2 posts

meta3 min readCurated summary

Adopting AV1 for Real-Time Communication (RTC) at Scale

Meta’s adoption of AV1 for real-time communication has been a multi-year effort focused on codec efficiency, device compatibility, latency, power consumption, and resilience to poor networks. AV1 can reduce bitrate by at least 20% versus H.264/AVC while preserving quality, especially below 100 kbps and for screen content. However, making it practical for mobile video calls required low-complexity encoding, careful decoder selection, and systems designed to avoid freezes caused by bitrate spikes and packet loss. ## Why Meta Adopted AV1 for RTC - AV1 delivers comparable visual quality at substantially lower bitrates than H.264/AVC. - Offline testing showed at least a 20% bitrate reduction on low-end and mid-range devices under Meta’s product settings. - Lower bitrate is especially valuable in real-time calls, where network rates may fluctuate between 10 and 400 kbps. - At a 100 kbps limit, AV1 video remained much clearer than H.264/AVC, which appeared blurry. - AV1 is also well suited to screen sharing: - **Palette mode** efficiently represents frames with a limited number of colors. - **Intra-block copy** predicts repeated patterns within the same frame. - Both tools improve the readability of text and other computer-generated content. ## Challenges of Real-Time Video - RTC requires end-to-end latency below roughly 300 milliseconds; techniques common in video-on-demand, such as multi-pass encoding and extensive buffering, can introduce unacceptable delay. - Sudden bitrate increases can cause freezes. - Network bandwidth changes may require adjustments to resolution or frame rate. - Resolution changes generally require a key frame, producing a temporary bitrate spike. - Packet loss can trigger retransmissions or additional key frames, also increasing the risk of freezes. - Mobile devices must encode and decode video simultaneously, making power efficiency essential. ## Encoder Selection and Complexity - AV1’s advanced coding tools improve compression but can significantly increase encoding complexity. - An open-source AV1 encoder consumed 14% more power than H.264/AVC on a Pixel 8 during testing. - AV1 also used more memory, contributing to application crash regressions. - Meta therefore adopted an internal low-complexity AV1 encoder with power consumption comparable to H.264 baseline. - The encoder supports multiple presets: - Higher-complexity presets prioritize quality. - An ultra-low-complexity preset offers complexity comparable to H.264/AVC. - Meta selects the encoder preset according to device capabilities, allowing AV1 deployment beyond high-end phones. ## Decoder Selection - Although decoding is generally less demanding than encoding, AV1 decoding was still challenging for low-end mobile devices. - Initial tests found real-time decoding failures, video freezes, and audio/video synchronization problems on some devices. - Meta evaluated multiple open-source decoders and selected **dav1d** based on its power efficiency and reliability. Meta’s experience shows that AV1 adoption in RTC requires more than simply enabling a new codec. A practical deployment depends on device-specific complexity controls, efficient decoding, strict latency management, and mechanisms that prevent bandwidth changes or packet loss from interrupting calls.

Read original(opens in new tab)
netflixOriginal article

AV1 — Now Powering 30% of Netflix Streaming | by Netflix Technology Blog | Dec, 2025 | Netflix TechBlog (opens in new tab)

Netflix has successfully integrated the AV1 codec into its streaming infrastructure, where it now accounts for 30% of all viewing traffic and is on track to become the platform's primary format. This transition from legacy standards like H.264/AVC is driven by AV1's superior compression efficiency, which allows for higher visual quality at significantly lower bitrates. By leveraging this open-source technology, Netflix has enhanced the user experience across a diverse range of devices while simultaneously optimizing global network bandwidth. ### Evolution of AV1 Adoption The journey to 30% adoption began with a strategic rollout across different device ecosystems, balancing software flexibility with hardware requirements. * **Mobile Origins:** The rollout started in 2020 on Android using the "dav1d" software decoder, which was specifically optimized for ARM chipsets to provide better quality for data-conscious mobile users. * **Large Screen Integration:** In 2021, Netflix expanded AV1 to Smart TVs and streaming sticks, working closely with SoC vendors to certify hardware decoders capable of handling 4K and high frame rate (HFR) content. * **Ecosystem Expansion:** Support was extended to web browsers in 2022 and eventually to the Apple ecosystem in 2023 following the introduction of hardware AV1 support in M3 and A17 Pro chips. ### Quantifiable Performance Gains The shift to AV1 has resulted in measurable improvements in video fidelity and streaming stability compared to previous standards. * **Visual Quality:** On average, AV1 streaming sessions achieve VMAF scores that are 4.3 points higher than AVC and 0.9 points higher than HEVC. * **Bandwidth Efficiency:** AV1 sessions require approximately one-third less bandwidth than both AVC and HEVC to maintain the same level of quality. * **Reliability:** The increased efficiency has led to a 45% reduction in buffering interruptions, making high-quality 4K streaming more accessible in regions with limited network infrastructure. ### Live Streaming and Spatial Video Beyond standard video-on-demand, Netflix is utilizing AV1 to power its latest innovations in live broadcasting and immersive media. * **Live Events:** For major live events, such as the Jake Paul vs. Mike Tyson fight, Netflix utilized 10-bit AV1 to provide better resilience against packet loss and lower latency compared to traditional codecs. * **Immersive Content:** AV1 serves as the backbone for spatial video on devices like the Apple Vision Pro, delivering high-bitrate HDR content necessary for a convincing "cinema-grade" experience. As AV1 continues to displace older codecs, the industry is already looking toward the next milestone with the upcoming release of AV2. For developers and hardware manufacturers, the rapid success of AV1 underscores the importance of supporting open-source media standards to meet the increasing consumer demand for high-fidelity, low-latency streaming.