Hasty Briefsbeta

Bilingual

FFmpeg at Meta: Media Processing at Scale

14 hours ago
  • #Open Source
  • #Media Processing
  • #FFmpeg
  • FFmpeg is an industry-standard tool for media processing, supporting various audio and video codecs and container formats.
  • Meta uses FFmpeg and ffprobe billions of times daily, facing unique challenges with media files.
  • Meta previously relied on an internal FFmpeg fork for features like threaded multi-lane encoding and real-time quality metrics.
  • Collaboration with FFmpeg developers allowed Meta to deprecate its internal fork and use the upstream version.
  • FFmpeg 6.0 and 8.0 introduced more efficient threading for multi-lane transcoding, influenced by Meta's internal fork.
  • Real-time quality metrics, enabled by FFmpeg 7.0, eliminated the need for Meta's internal fork for livestreaming.
  • Meta contributes features upstream when they benefit the wider community, keeping highly specific patches internal.
  • FFmpeg's standardized hardware APIs allow Meta to support its custom ASIC, MSVP, alongside software-based pipelines.
  • Meta has fully deprecated its internal FFmpeg fork for VOD and livestreaming pipelines, relying on upstream FFmpeg.
  • FFmpeg's 25+ years of development continue to enable new media experiences and improve reliability.