Decoded — How Video Really Works

Fora Soft

Decoded is a podcast about how video really works — the engineering behind every stream, video call, and clip you watch. Each episode takes one piece of the video pipeline — pixels and color, codecs and compression, quality metrics, and the latest in AI — and explains it clearly, from first principles to what actually ships in production. The series is based on The Fora Soft Video Engineering Handbook and is made by Fora Soft, a software company that has done one thing since 2005: video, 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. All seven books of The Fora Soft Video Engineering Handbook — Video Encoding, Video Streaming, Audio for Video, and AI for Video — are on Amazon in Kindle and paperback: https://www.amazon.com/dp/B0HF4R78DN Whether you're a developer moving into video, a product person who needs to reason about codecs and bitrate, or simply curious how a camera becomes a stream, Decoded turns a dense field into something you can actually follow — one short episode at a time. If you're building a product with video or online calls, come talk to us: https://www.forasoft.com/

  1. Episode 1

    Episode 1. What Digital Audio Is: From Wave to Bits

    A movie is a stack of still frames, and digital sound is the same illusion: readings of a wave taken so often that the ear fills in the gaps. Every video call, live stream, and recorded lecture rests on that trick. Season three of Decoded opens with the whole route — air pressure at the microphone, numbers on a chip, a codec, and voltage back in the headphones — and the two dials that decide how good those numbers are. In this episode: — how a microphone and an analog-to-digital converter (ADC) turn a pressure wave into PCM samples — one number per clock tick — sample rate and Nyquist's rule: why hearing up to 20 kHz needs more than 40 kHz, and why video uses 48 kHz — exactly 2,000 samples per 24 fps frame — bit depth as the second dial: 65,536 levels and about 96 dB of dynamic range at 16 bits, versus more than 16 million levels at 24 bits — why codecs exist: a minute of raw 48 kHz/24-bit stereo weighs about 17 MB; lossless formats pack it like a ZIP, lossy AAC and MP3 drop what the ear won't miss — the high-res myth: double-blind tests can't tell a 16-bit/44.1 kHz bottleneck from the original, so 192 kHz pays off in the studio, not at playback 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/

  2. Episode 2

    Episode 2. Sample Rate: Why Video Chose 48 kHz

    Every export dialog and microphone setup offers the same menu: 44.1, 48, 96, sometimes 192 kHz. Pick wrong and the cost is quiet — wasted CPU, noise from hidden resampling, audio that slowly slides off the picture. The second episode traces where those numbers came from, why one of them is a fingerprint of 1970s video tape, and why a video product should run at 48 kHz from capture to delivery. In this episode: — Nyquist's rule and aliasing: sample too slowly and frequencies above half the rate fold back as false, metallic-sounding tones that were never in the room — why 44.1 kHz exists: late-1970s engineers stored digital audio on videocassettes, and the NTSC and PAL line structure fixed the number the CD inherited — the frame math behind 48 kHz: 2,000 samples per frame at 24 fps versus a fractional 1,837.5 at 44.1 kHz — a leftover that drifts audio off picture — the hidden cost of converting between 48 and 44.1 kHz: an awkward 160/147 ratio, CPU time, and a little added noise at every boundary — where 96 kHz earns its keep — filter headroom and room for harmonics from distortion effects — and why 192 kHz delivery just costs 4× the data and CPU 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/

  3. Episode 3

    Episode 3. Bit Depth and Dynamic Range

    A documentary crew is recording crickets at dusk when a train horn blasts through the scene. Whether that take survives depends on bit depth — and the answer isn't the one high-res marketing sells. This episode separates what bits do for the listener from what they do for whoever holds the recorder: why 16 bits are enough for a finished stream or download, and why capture at live events and interviews calls for 24-bit or 32-bit float. In this episode: — the ~6 dB-per-bit rule: why 16 bits give about 96 dB of dynamic range, set against a practical hearing span of roughly 120 dB — dither and noise shaping: how a touch of TPDF noise on the step from 24 to 16 bits replaces harsh rounding distortion and lifts the perceived range to ~120 dB — what 24 bits really buy: about 18 dB of recording headroom so a sudden peak doesn't clip — and why shipping 24-bit files adds 50% more data for nothing audible — 32-bit float: a sliding exponent, about 1,528 dB of range, and recordings that cannot be clipped digitally — the physical catch: float protects only the digital math, so a scream that overloads the analog front end before conversion is still ruined 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/

  4. Episode 4

    Episode 4. Channels and Layouts: From Mono to 7.1.4

    Twelve speakers in a home theater, two in a laptop — and the same soundtrack has to work on both, dialogue intact. Episode four of Decoded's third season breaks down channel layouts: what the numbers in 5.1 and 7.1.4 actually count, why a layout is a contract between the mix and the playback device, and how that contract breaks when a downmix or the channel order goes wrong. In this episode: — from mono and stereo to discrete digital multichannel audio in the early 1990s: each channel as an independent lane aimed at one speaker position — reading the dotted notation: 7 ear-level + 1 LFE + 4 overhead = 12 channels, and why a 5.1 file holds six — why the LFE is not a subwoofer: a content channel limited to roughly 20–120 Hz, while the subwoofer is just hardware that may play it — the ITU-R BS.775 downmix: folding the center into left and right at −3 dB (coefficient 0.7071) so dialogue doesn't double in level on stereo devices — the channel-order trap: SMPTE order versus the Vorbis order, and how one metadata mismatch sends dialogue and bass to the wrong speakers — why Dolby Atmos still rests on a channel bed, and the rule of checking every mix on the weakest device the audience owns 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/

  5. Episode 5

    Episode 5. Loudness: Peak, RMS, LUFS

    Dialogue at a whisper, then an ad break that shouts, and the viewer is back on the remote — loudness swings are the number-one complaint broadcasters hear. Fixing them starts with measuring what the ear perceives, not what the meter shows. This episode walks from the decibel as a ratio through peak and RMS to LUFS, and explains how one measurement algorithm ended the loudness war on streaming platforms. In this episode: — why the decibel is a ratio rather than a unit, and what dBFS is measured against — full scale, the digital ceiling — why a peak meter misjudges loudness: a snare hit and a sustained wall of guitars can share one peak yet sound far apart — and where RMS's flat ear falls short — the three steps of ITU-R BS.1770: K-weighting that models the head, energy averaging, and gating that drops blocks below −70 LUFS so silences don't skew it — how normalizing to a LUFS target killed the loudness war: a master squashed toward 0 dBFS simply gets turned down — loudness range (LRA) as a planning tool: a 20 LU cinema mix that loses its dialogue on a noisy train is the case for a separate, more compressed mobile mix — where the standard stops: BS.1770 was validated on typical program material, not on pure tones 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/

  6. Episode 6

    Episode 6. How Audio Is Stored and Travels: Formats, Containers, Frames

    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/

  7. Episode 7

    Episode 7. A History of Audio Codecs, and the Living Legacy

    Somewhere between a microphone and an earbud, an algorithm decides which parts of a sound you will never miss — and which algorithm gets that job, under which license, was settled by fifty years of standards politics. This episode follows audio codecs from 1970s telephony to Bluetooth earbuds: two rival engineering tribes, their 2012 merger, and why a product team should pick the codec that owns the job rather than the newest one. In this episode: — the two tribes: telephone engineers modeling the voice with linear prediction, starting from G.711 in 1972, versus broadcast engineers hiding sound behind masking — why they stayed apart: linear prediction falls apart on music, while masking-based music codecs accept a delay that a live phone call can't afford — the 2012 merger, when Opus and xHE-AAC combined both approaches in one stream — the geopolitics of standards: royalty-free Opus from the IETF, licensed AAC from ISO/IEC MPEG, and Dolby's hold on cinema audio — MP3 versus MP2: an ~11× shrink made MP3 the consumer winner, while MP2's lower delay and error resilience kept it in live broadcast — the golden rule: AAC from 1997 still rules recorded video because every device decodes it, and MP3 stays legacy even after its patents expired in 2017 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/

  8. Episode 8

    Episode 8. How Audio Compression Works: The Four Ideas

    Uncompressed CD-quality stereo runs at about 1,411 kbps; a music stream on a phone gets roughly an eleventh of that, and the listener rarely notices. The eighth episode opens the hood on how: four ideas — psychoacoustic masking, the MDCT, linear prediction, and entropy coding — that every codec behind streaming tracks and video calls is built from, and the 2012 codecs that finally used them all. In this episode: — psychoacoustic masking: why a whisper next to a roaring motorcycle can be deleted for free, and how the Bark scale's 24 critical bands tell the codec where to look — the MDCT: cutting sound into frequency blocks with 50% overlapping windows that crossfade the seams instead of clicking — linear prediction and the source-filter model: sending a recipe for the vocal tract plus a small prediction error instead of the waveform itself — why a speech codec turns hold music into a watery, robotic mess — its model expects one human throat, not an orchestra — entropy coding as the shared lossless last step: Morse-code logic, with short codes for common values and long ones for rare patterns — how Opus and xHE-AAC switch between the voice model and masking inside one stream, moment by moment 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/

  9. Episode 9

    Episode 9. The AAC Family: From AAC-LC to xHE-AAC

    Saying "we use AAC" tells an engineer almost nothing: four codecs share the name, and at low bitrates they behave worlds apart. Since AAC is the default audio behind MP4, YouTube, and Apple devices, that gap decides how a stream sounds on a subway train with one bar of signal. Episode nine of Decoded's third season takes the family apart layer by layer — the AAC-LC core, the HE-AAC tools that rebuild what was never sent, and xHE-AAC with loudness control built in. In this episode: — why "LC" in AAC-LC means low compute, not low quality, and how it reaches transparent stereo music near 128 kbps with about 33% fewer bits than MP3 — where AAC-LC runs out of road: below roughly 96 kbps stereo it turns thin and grainy — the gap the HE-AAC members were built to fill — Spectral Band Replication in HE-AAC v1: a 2–3 kbps hint replaces about 30 kbps of treble, and the decoder rebuilds the cymbals from the bass and mids — Parametric Stereo in HE-AAC v2: one mono channel plus a few kilobits of spatial parameters keeps music in stereo at around 24 kbps — xHE-AAC on the USAC core: speech or music coding chosen frame by frame, plus mandatory MPEG-D DRC loudness metadata, from 12 kbps up — the codec Netflix encodes with — who actually pays for AAC: royalties fall on encoder and decoder makers ($0.98 down to $0.10 per unit), streaming the content is free, and xHE-AAC adds no extra fee 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/

  10. Episode 10

    Episode 10. Opus: The Open Codec That Ate WebRTC

    Press "join call" in a browser — a telemedicine visit, an online class, a game lobby — and the voice leaving the microphone is almost certainly Opus, the codec behind nearly every WebRTC call. It earns that spot by being a speech codec and a music codec wearing one coat. This episode opens it up: how it switches engines, why frame size is a trade between delay and header overhead, and what it does when packets vanish or nobody is talking. In this episode: — two engines under one hood: SILK from Skype predicts speech by linear prediction, CELT codes the full audible range via a frequency transform, hybrid mode runs both — frame size as the latency dial: Opus frames go down to 2.5 ms while an AAC-LC frame is fixed at about 21.3 ms — the reason Opus owns live two-way audio — the header tax: every packet carries about 40 bytes of network envelope, so at 2.5 ms frames the headers outweigh the speech fourfold and 20 ms stays the default — in-band FEC: on a lossy network a low-quality copy of the previous packet rides inside the current one, so a lost packet is rebuilt from the next — DTX and comfort noise: Opus stops sending during pauses, and the far end fills the silence with a faint hiss so nobody thinks the call has dropped — the rule of thumb — Opus for live two-way conversation, AAC for one-way playback — and the neural tools Deep PLC and DRED that rebuild audio lost on a bad connection 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/

  11. Episode 11

    Episode 11. The Dolby World: AC-3, E-AC-3, and AC-4

    A brand-new streaming box wired to a soundbar bought long before Atmos existed still plays a Dolby Atmos title without a hitch — and the service never sent it a separate downgraded file. That is the long game Dolby has played across three generations of codecs, from DVD-era surround to phones in noisy kitchens. This episode follows the line from AC-3 to E-AC-3 to AC-4 and shows how each added channels, objects, and listener control without stranding older hardware. In this episode: — AC-3 (Dolby Digital) as the 1991 baseline: full 5.1 surround in at most 640 kbps, and why it remains the universal fallback 35 years on — E-AC-3 (Dolby Digital Plus): the same idea with the limits pushed out — bitrates up to 6.144 Mbps and room for 15.1 channels in the standard — DD+ as a core plus extension substreams, and why AC-3-only gear can still be served without a quality-destroying decode and re-encode — Joint Object Coding: a complete 5.1 bed carries Atmos object metadata like a recipe card baked into a cake — old decoders play 5.1, Atmos decoders rebuild the scene — AC-4, a clean-sheet design for phones and noisy rooms: about 50% more efficient than DD+, broadcast-quality 5.1 at 192 kbps, object-based, the codec of NextGen TV — dialogue enhancement in AC-4: the viewer lifts speech relative to music and effects, so mumbled lines get clearer without making the car chase any louder 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/

About

Decoded is a podcast about how video really works — the engineering behind every stream, video call, and clip you watch. Each episode takes one piece of the video pipeline — pixels and color, codecs and compression, quality metrics, and the latest in AI — and explains it clearly, from first principles to what actually ships in production. The series is based on The Fora Soft Video Engineering Handbook and is made by Fora Soft, a software company that has done one thing since 2005: video, 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. All seven books of The Fora Soft Video Engineering Handbook — Video Encoding, Video Streaming, Audio for Video, and AI for Video — are on Amazon in Kindle and paperback: https://www.amazon.com/dp/B0HF4R78DN Whether you're a developer moving into video, a product person who needs to reason about codecs and bitrate, or simply curious how a camera becomes a stream, Decoded turns a dense field into something you can actually follow — one short episode at a time. If you're building a product with video or online calls, come talk to us: https://www.forasoft.com/