
Episode 6. How Audio Is Stored and Travels: Formats, Containers, Frames
6:20
3 сезон 6 выпуск
A clip plays perfectly in one player and stays silent in another; a conference call carries a lag nobody can tune away. Neither bug is usually about the codec — both are about packaging. Episode six unpacks the box: how containers wrap codecs, why audio travels in tiny frames, and how those frames set a delay floor for real-time calls and a quiet misalignment in streaming segments.
In this episode:
— codec versus container: MP4 is the labeled box and AAC the payload inside, which is why "MP4 audio" says nothing about the codec
— the silent-track bug: lose the few setup bytes in the esds box and the decoder can't unwrap AAC, even though every byte of audio is still in the file
— FLAC for archives: lossless packing with an MD5 checksum that proves the audio is intact — and why it weighs about four times a 192 kbps AAC file
— frame arithmetic: 1,024 AAC samples at 48 kHz is 21.3 ms, while Opus in browser calls typically runs 20 ms frames
— the latency floor: every stage waits for a whole frame before passing it on, stacking into a representative ~135 ms mouth-to-ear budget
— why a 4-second streaming segment never holds a whole number of AAC frames, and how the rounding leads to drift and clicks around ad breaks
Decoded is a podcast by Fora Soft, based on The Fora Soft Video Engineering Handbook book series. Season three is about audio and follows the book Audio for Video.
Read the full chapter in Audio for Video, Volume 1 — Kindle and paperback on Amazon: https://www.amazon.com/dp/B0HH6PRZH1
All seven books of the series: https://www.amazon.com/dp/B0HF4R78DN
Since 2005 Fora Soft has built video products, real-time communication, and AI systems: 50 in-house engineers, 250+ delivered projects, live streaming with 0.4–0.5-second glass-to-glass latency for 10,000 simultaneous viewers, and solutions used by NBC, CBS, and Red Bull. If you're building a product with video or online calls, come talk to us: https://www.forasoft.com/

Нет комментариев
Пока никто ничего не написал.
Будьте первым 🙌