---
title: "FFmpeg at Meta: Media Processing at Scale"
description: "Meta retired its long-diverged internal FFmpeg fork by working with FFmpeg developers, FFlabs and VideoLAN to upstream the two capabilities it depended on."
url: "https://swe.quest/articles/ffmpeg-at-meta-media-processing-at-scale-08e799a47d13d432"
canonical: "https://engineering.fb.com/2026/03/02/video-engineering/ffmpeg-at-meta-media-processing-at-scale/"
source: "Meta Engineering"
published: "2026-03-02"
difficulty: "easy"
kind: "Case study"
reading_minutes: 6
tags: ["video-media","open-source","performance","hardware"]
---

# FFmpeg at Meta: Media Processing at Scale

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2026-03-02, 6 min read, Case study. Original: [https://engineering.fb.com/2026/03/02/video-engineering/ffmpeg-at-meta-media-processing-at-scale/](https://engineering.fb.com/2026/03/02/video-engineering/ffmpeg-at-meta-media-processing-at-scale/)

## Summary

Meta retired its long-diverged internal FFmpeg fork by working with FFmpeg developers, FFlabs and VideoLAN to upstream the two capabilities it depended on. Threaded multi-lane transcoding, which decodes once and runs all output encoders in parallel, arrived over FFmpeg 6.0 through 8.0. In-loop decoding in FFmpeg 7.0 enables real-time PSNR/SSIM/VMAF quality metrics for livestreams. Infrastructure-specific patches, such as support for Meta's MSVP transcoding ASIC via FFmpeg's standard hardware acceleration APIs, stay internal and are rebased with extensive validation.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Video & media](https://swe.quest/tags/video-media.md) (Domains)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Hardware](https://swe.quest/tags/hardware.md) (Infrastructure)

## Prerequisites

- video codecs and transcoding 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))

## Keywords

FFmpeg, FFlabs, VideoLAN, DASH, VMAF, MSVP, ffprobe

## Related posts

- [MSVP is Meta’s first video processing ASIC](https://swe.quest/articles/msvp-is-meta-s-first-video-processing-asic-4c6a03a0b1734516.md): Meta Engineering · 2023-05-18 · Hard · 14 min read · Video & media, Hardware, Performance engineering
  Meta Scalable Video Processor (MSVP) is an in-house ASIC for VOD and live-stream transcoding.
- [How Meta brought AV1 to Reels](https://swe.quest/articles/how-meta-brought-av1-to-reels-f3c22ae15f525134.md): Meta Engineering · 2023-02-21 · Medium · 12 min read · Video & media, Mobile, Performance engineering
  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.
- [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.
- [Video Invisible Watermarking at Scale](https://swe.quest/articles/video-invisible-watermarking-at-scale-acb75c9e33b19572.md): Meta Engineering · 2025-11-04 · Medium · 8 min read · Video & media, Inference & serving, Performance engineering, Cost optimization, Privacy
  Meta runs ML-based invisible video watermarking (VideoSeal-style) as a custom FFmpeg filter for provenance use cases like detecting AI-generated video and identifying first uploaders.
- [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).

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)
