---
title: "How Meta brought AV1 to Reels"
description: "Meta deployed AV1 encoding and delivery for Facebook and Instagram Reels, using SVT-AV1 for encoding and the dav1d software decoder on iOS and Android because most phones lack AV1 hardware decoders."
url: "https://swe.quest/articles/how-meta-brought-av1-to-reels-f3c22ae15f525134"
canonical: "https://engineering.fb.com/2023/02/21/video-engineering/av1-codec-facebook-instagram-reels/"
source: "Meta Engineering"
published: "2023-02-21"
difficulty: "medium"
kind: "Case study"
reading_minutes: 12
tags: ["video-media","mobile","performance"]
---

# How Meta brought AV1 to Reels

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2023-02-21, 12 min read, Case study. Original: [https://engineering.fb.com/2023/02/21/video-engineering/av1-codec-facebook-instagram-reels/](https://engineering.fb.com/2023/02/21/video-engineering/av1-codec-facebook-instagram-reels/)

## Summary

Meta deployed AV1 encoding and delivery for Facebook and Instagram Reels, using SVT-AV1 for encoding and the dav1d software decoder on iOS and Android because most phones lack AV1 hardware decoders. Encoding uses a two-stage hybrid ABR pipeline: a fast hardware AVC pass at upload builds a convex hull of resolution/CRF points, and videos whose projected watch time crosses a threshold get a second software encode with AVC, VP9 or AV1 at the selected points. On Android, Meta ran a small on-device benchmark to score phone capability for A/B gating, mixed hardware VP9 and software AV1 decoding for ABR lane switches, and prefetched videos to hide decoder startup latency. On iPhone, AV1 cut average Reels bit rate by 12% and raised playback FB-MOS by about 0.6 points.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Video & media](https://swe.quest/tags/video-media.md) (Domains)
- [Mobile](https://swe.quest/tags/mobile.md) (Web & mobile)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## Prerequisites

- video codec basics ([easy posts on Video & media](https://swe.quest/tags/video-media.md?difficulty=easy))
- adaptive bitrate streaming ([easy posts on Stream processing](https://swe.quest/tags/stream-processing.md?difficulty=easy))
- rate-distortion tradeoffs

## Keywords

AV1, SVT-AV1, dav1d, VP9, AVC, Facebook Reels, Instagram Reels, convex hull dynamic optimizer

## Related posts

- [Better video for mobile RTC with AV1 and HD](https://swe.quest/articles/better-video-for-mobile-rtc-with-av1-and-hd-7dfda60dab6d29eb.md): Meta Engineering · 2024-03-20 · Medium · 14 min read · Video & media, Communications, Mobile, Performance engineering
  Meta improved 1:1 mobile RTC video in Messenger, Instagram and WhatsApp by moving from H.264 to software AV1 for low-bandwidth calls (under 300 Kbps).
- [Adopting AV1 for Real-Time Communication (RTC) at Scale](https://swe.quest/articles/adopting-av1-for-real-time-communication-rtc-at-scale-c700b86b1446a111.md): Meta Engineering · 2026-06-22 · Medium · 18 min read · Video & media, Communications, Mobile, Performance engineering
  Meta now runs AV1 for real-time video calls on most mobile devices in Messenger and WhatsApp.
- [Bringing HDR video to Reels](https://swe.quest/articles/bringing-hdr-video-to-reels-29eb6ac55a3191a2.md): Meta Engineering · 2023-07-17 · Medium · 9 min read · Video & media, Mobile
  Facebook and Instagram Reels now accept HDR uploads from phone camera rolls and play them back in full HDR, which required handling HLG and PQ formats across a fragmented device landscape.
- [Why xHE-AAC is being embraced at Meta](https://swe.quest/articles/why-xhe-aac-is-being-embraced-at-meta-68fad0ef6d9037bd.md): Meta Engineering · 2023-04-11 · Medium · 4 min read · Video & media, Speech & audio, Mobile
  Meta has deployed the xHE-AAC codec across Facebook and Instagram (including Reels and Stories) for two main capabilities: client-side loudness management and seamless adaptive bitrate audio.
- [FFmpeg at Meta: Media Processing at Scale](https://swe.quest/articles/ffmpeg-at-meta-media-processing-at-scale-08e799a47d13d432.md): Meta Engineering · 2026-03-02 · Easy · 6 min read · Video & media, Open source, Performance engineering, Hardware
  Meta retired its long-diverged internal FFmpeg fork by working with FFmpeg developers, FFlabs and VideoLAN to upstream the two capabilities it depended on.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
