Av1

5 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.

discordOriginal article

Discord Update: September 25, 2025 Changelog (opens in new tab)

Discord’s September 2025 update focuses on enhancing user expression and scaling server infrastructure to unprecedented levels. By introducing massive server capacity increases and highly customizable interface features, the platform aims to better support its largest communities and most active power users. Ultimately, these changes provide a more dynamic social experience through improved profile visibility, expanded pin limits, and flexible multitasking tools. ### Enhanced User Profiles and Multitasking - Desktop profiles now feature a refreshed layout designed to showcase a user's current activities and history more clearly. - Multiple concurrent activities, such as playing a game while listening to music in a voice channel, are now displayed as a "stack of cards" on the profile. - Activities can be moved into a pop-out floating window, allowing users to participate in shared experiences like "Watch Together" while navigating other servers or DMs. - A new audio cue now plays whenever a user turns their camera on to provide immediate feedback that their video stream is live. ### Massive Scaling and Embed Improvements - The default server member cap has been increased to 25 million, supported by engineering optimizations to member list loading speeds for "super-super-large" communities. - The channel pin limit has been expanded fivefold, moving from a 50-message cap to 250 messages per channel. - Native support for AV1 video attachments and embeds was integrated to improve video quality and loading performance. - Tumblr link embeds have been overhauled to include detailed descriptions and metadata for hashtags used in the original post. ### Custom Themes and Aesthetic Upgrades - Nitro users can now create custom gradient themes using up to five different colors, a feature that synchronizes across both desktop and mobile clients. - Two new Server Tag badge packs—the Pet pack and the Flex pack—introduce new iconography for server roles, including animal icons and royalty-themed badges. - Visual updates were made to Group DM icons, which the development team refers to as "facepiles," to better represent groups of friends in the chat list. Users should explore the new custom gradient settings in their Nitro preferences to personalize their workspace and take advantage of the expanded pin limits to better manage information in high-traffic channels.

discord3 min readCurated summary

Discord Patch Notes: July 7, 2025

Discord’s July 7, 2025 patch focuses on scalability, responsiveness, media support, and bug fixes across desktop, web, iOS, and Android. Major improvements include raising the default server member cap to 2.5 million, reducing Push to Talk latency, adding AV1 attachments and embeds, and fixing a long-standing mobile voice communication issue. The release also contains numerous usability, localization, accessibility, and interface fixes. ## Large-Server Improvements - Increased the default member cap from 500,000 to 2.5 million. - Improved member-list loading for large servers. - Strengthened monitoring and automatic scaling to detect and resolve server-specific performance problems. ## Voice and Input Enhancements - Added the “Voice Activity Priority” hotkey for users with the appropriate permissions. - Priority speakers reduce the volume of non-priority speakers while talking. - Reduced desktop Push to Talk activation latency. - Fixed a long-standing mobile voice-channel issue caused by specific network-provider conditions, where other participants could no longer hear the user. ## Media and Performance - Added AV1 video attachment and embed support across all platforms. - Improved AVIF processing speed and flexibility. - Fixed a message-sending bug where failed image uploads could block all later image sends until the app restarted. ## Interface and Usability Fixes - Channel names now preserve complex Unicode emoji sequences such as `👩🏻‍🔬` and `❤️`. - Added an interactive empty Voice Channel animation on desktop and web. - Prevented repeated Gift Nitro overlays on Android. - Restored the behavior where pressing Escape marks channels as read. - Improved Nameplate preview updates while editing display names. - Added a copy-link option to Forum post context menus. - Made the Events “More Options” button easier to click. - Prevented the Channel Settings “Add Role” interface from shifting during scrolling. - Fixed hidden Overlay widgets blocking interaction with the space they occupied. - Corrected shop-logo alignment, profile modal borders, event overflow behavior, and several tooltip and label issues. ## Mobile and Platform-Specific Fixes - Fixed blank keyboards when opening chat with an app. - Resolved iOS notification-swipe behavior that could open notifications instead of dismissing them. - Fixed iOS Server Discovery links incorrectly redirecting to profiles. - Restored mobile profile-banner animations. - Fixed Android Nitro gift-button overlays that could not be dismissed. - Corrected QR-code login errors when camera permission had not yet been granted. - Fixed light-mode styling for the “Remove Phone Number” modal. ## Search, Profiles, Events, and Moderation - Search suggestions no longer appear behind tabs. - Refreshing Forum searches no longer inserts the search text into the New Topic interface. - Fixed text truncation involving Custom Status and Rich Presence displays. - Corrected event text that incorrectly said “Starting on Tomorrow.” - Fixed AutoMod rules not disappearing immediately after deletion. - Prevented removing another user’s linked role from accidentally removing the role from oneself. - Fixed Server Template edits that deleted characters but could not be saved. - Updated Mod View title text and removed redundant Quest tooltips. - Corrected clickable bio-link font sizing and several profile rendering issues. ## Localization and Accessibility - Added Polish localization for the “Current Obsession” status. - Fixed Forum call-to-action text clipping in some languages. - Improved light-theme hover colors and other visual consistency issues. - Made various controls easier to use through larger click areas and smoother animations. The patch is aimed at making Discord more reliable at large scale while reducing friction in voice communication, media sharing, and everyday navigation. Users may receive the fixes progressively as they roll out across platforms.

Read original(opens in new tab)
discord3 min readCurated summary

Discord Patch Notes: March 11, 2025

Discord’s March 11, 2025 patch focuses on reliability, media processing, sharing, and broad bug fixes across desktop and mobile. Major improvements include safer API deployments, more accurate HDR-to-SDR conversion, faster and more reliable Spotify embeds, a redesigned Android sharing flow, and an Electron upgrade. The release also addresses numerous issues affecting chat, profiles, search, notifications, emoji pickers, and mobile rendering. ## Reliability and Platform Improvements - Discord changed its API deployment strategy to isolate critical services and reduce the impact of reliability incidents. - Desktop clients were upgraded from Electron 33.0.0 to 33.4.0. - HDR-to-SDR tone mapping was improved for more accurate colors in HDR images and videos converted for SDR display. - Spotify embeds now have approximately: - 83% lower p95 latency - 88% fewer failures - Android’s share interface was redesigned to resemble Discord’s message-forwarding experience. - Fixes may continue rolling out across platforms after the patch’s publication. ## General Interface and Account Fixes - Fixed Soundboard previews that could loop indefinitely after an upload was canceled. - Improved iOS performance when opening search and collapsing long channel topics. - Restored functionality for favorited GIFs and corrected poll avatars to use server-specific profiles. - Fixed iOS animation rendering failures and inconsistent Rich Presence display in member lists. - Improved mobile modal, emoji picker, GIF picker, and keyboard behavior. - Corrected several profile, server profile, custom status, pop-out, and profile preview issues. - Fixed server creation, friend request notifications, invite-link dropdowns, and Add Friends interface problems. - Improved desktop User Management sizing, Server Settings search, and member-search placeholder text. - Corrected mobile and desktop alignment, padding, hover states, button sizing, and masked channel-topic links. - Fixed duplicate known-device entries during two-factor authentication setup. - Message reaction notifications should now respect Do Not Disturb on mobile. ## Chat and Messaging - Empty Group DMs no longer display undefined users. - Fixed Server Guide popups that could obscure message editing. - Improved truncation and reliability for typing indicators. - Fixed iOS reply views where message text or input could become hidden. - Android users can now rename Group DMs. - Corrected Android reply themes and Emoji Confetti menu rendering. - Closing an unread DM on mobile no longer leaves an empty unread space in the server list. - Deleted messages can once again be acknowledged, preventing stale notification indicators. - Corrected Android permission interactions between sending messages and creating threads. - Fixed 24px chat font sizing, mobile DM alignment, and missing “Mark as Read” or “Reply” notification actions. ## Activities and Apps - The patch also begins addressing Activity behavior on iOS, including an issue involving Activity open and close sounds; the supplied post ends before the full Activities and Apps section is provided.

Read original(opens in new tab)