Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Meta Engineering 6 min read Announcement easyNovice

MLow: Meta’s low bitrate audio codec

MLow is a CELP-based low-bitrate speech codec Meta built for calls on poor networks and low-end devices, where ML codecs like Encodec are too compute-heavy. At 6 kbps it delivers wideband audio with a POLQA MOS of 3.9 versus Opus's 1.89 in narrowband, while using about 10% less compute than Opus. The design splits input into low and high bands, encodes the high band with very few bits using shared information, and range-codes the output, which enables SuperWideBand at low bitrates. The lower bitrate also leaves room for in-band FEC where Opus has none (Opus needs 19 kbps), improving quality under heavy packet loss. MLow is live on Instagram and Messenger and rolling out to WhatsApp.

Assumes: audio codec basics

Related posts

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

    Meta Engineering mediumAdept

    Meta now runs AV1 for real-time video calls on most mobile devices in Messenger and WhatsApp. AV1 gives at least a 20% bitrate reduction over H.264/AVC on low-end and mid-range phones, which matters most below 100 kbps. Getting there took an internal low-complexity encoder with an ultra-low preset comparable to H.264, the dav1d decoder chosen for power efficiency, and binary-size cuts such as trimming the quantization-matrix tool. An ML-based rtc_score model decides which Android devices are eligible, while runtime encode/decode-latency monitoring adjusts presets, falls back to H.264, and allows asymmetric codecs, alongside further rate control and error resilience work.

  • Better video for mobile RTC with AV1 and HD

    Meta Engineering mediumAdept

    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). AV1's palette mode, intra-block copy and reference picture resampling help with screen content and avoid key frames on resolution changes, and custom scalers plus face-based region-of-interest encoding add further gains. The costs are roughly 3x encoder CPU, a 5-6% battery increase and more out-of-memory crashes. Meta handles these with a hybrid encoder that switches to H.264 mid-call based on CPU, battery or encode time, and by disabling AV1 on low-memory devices. A lightweight in-product PSNR estimate showed about 2 dB gain over H.264, and an HD mode (720p, 30 fps, 3.5 Mbps) for high-end networks required better congestion detection, including ISP throttling detection.

  • MSVP is Meta’s first video processing ASIC

    Meta Engineering hardMaster

    Meta Scalable Video Processor (MSVP) is an in-house ASIC for VOD and live-stream transcoding. It connects to the host over PCIe Gen4 with 8 GB of LPDDR5 and runs decode, resampling, H.264/VP9 encode and quality metrics (SSIM, VIF, PSNR) as memory-to-memory stages. At about 10W it reaches 4K15 at highest quality (1-in, 5-out) or 4K60 at standard quality, with roughly 9x the throughput of libx264 and 50x that of libVPX speed 2. The encoder makes software-grade quality feasible in silicon through parallel motion search, hardware-friendly rate estimation for RDO, spatial/temporal adaptive QP, smart rounding (1–2% BD-Rate) and two-pass look-ahead. Encodes are tiered by predicted watch time across basic, full and advanced ABR.

  • Fine-Tune W2V2-Bert for low-resource ASR with 🤗 Transformers

    Hugging Face mediumAdept

    Wav2Vec2-BERT (facebook/w2v-bert-2.0), a 580M-parameter audio model pre-trained on 4.5M hours across 143+ languages, can be fine-tuned with CTC for ASR in low-resource languages using Hugging Face Transformers, demonstrated on ~14h of Mongolian Common Voice 16.0 data. The walkthrough covers text normalization, building a character vocabulary (dropping Latin characters and punctuation), the Wav2Vec2CTCTokenizer and SeamlessM4TFeatureExtractor, training, and tips for scaling CTC training. Compared with Whisper-large-v3 after similar fine-tuning, it reaches similar WER on Mongolian while running 10-30x faster and being 2.5x more resource-efficient, because it decodes in a single non-autoregressive pass and adapts to any alphabet.

  • Why xHE-AAC is being embraced at Meta

    Meta Engineering mediumAdept

    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. Rather than burning a target loudness and DRC profile into the encode, Meta keeps the original audio and ships MPEG-D DRC loudness metadata so each client applies a target level and DRC effect suited to headphones, speakers or noisy environments. Audio ABR works by placing immediate playout frames (IPFs) at the start of each aligned DASH segment, keeping sample rate and channel configuration constant across lanes, and giving each lane a unique stream ID; this reduced playback stalls on Facebook for Android. Encoding uses Fraunhofer's SDK in two-pass mode, which measures loudness first and enables loudness range control DRC to avoid pumping artifacts, with shaka-packager producing the DASH output.

The quest for software engineering knowledge.

Look:
Layout: