codec
Short for coder-decoder; the algorithm/software that compresses (encodes) and decompresses (decodes) audio or video data.
As defined in Lex Fridman Podcast #496 - FFmpeg
Where it comes up · 2
- Lex Fridman Podcast #496 - FFmpeg5 claims
- Dolby: The Sound Standard4 claims
Most important claims · 9 of 9Search all claims for “codec” →
- Unlike lossless ZIP compression, video and audio codecs degrade the signal by 100x-1000x by exploiting how human perception works (e.g., moving from RGB to YUV and downscaling color resolution because the eye is less sensitive to color than brightness), so the goal is to maximize perceived quality, not preserve the original bits.Lex Fridman Podcast #496 - FFmpeg
- Video codecs remove both spatial and temporal redundancy (e.g., reusing an unchanged cloud across frames) using several orders of magnitude more compute to compress than to decompress, because compression is done once while there may be many viewers, and modern codecs also build in error resilience to recover from lost packets.Lex Fridman Podcast #496 - FFmpeg
- Unlike browsers where multiple engines (Firefox, Chrome) coexist, FFmpeg has been a winner-takes-all in multimedia because each new codec added is worth more than the codec itself, since it makes the whole framework better, creating a compounding network effect.Lex Fridman Podcast #496 - FFmpeg
- Dolby Atmos is an object-based spatial audio format rather than a true codec. It embeds metadata so that sound can be rendered on the playback device in 3D space, which makes it more immersive than channel-based codecs.Dolby: The Sound Standard
- A container (muxer/demuxer) like MP4, MOV, or MKV is a collection of multiple tracks and is distinct from the codec (coder/decoder) like H.264 inside it; the industry's naming (H.264 also being MPEG-4 Part 10/AVC) makes this confusing, but containers and codecs are independent layers.Lex Fridman Podcast #496 - FFmpeg
- A codec pairs an encoder, which converts analog sound into compressed digital binary data at recording, with a decoder, which reverses that at playback. MP3 reduced file sizes by over 90% versus CDs and enabled internet music distribution.Dolby: The Sound Standard
- VLC can open an enormous range of inputs including VHS capture via capture cards, DVD-Audio with custom encryption schemes, obscure game codecs, and deliberately broken competition files (an MKV changing resolution/aspect/rotation every frame, a video made entirely of animated subtitles).Lex Fridman Podcast #496 - FFmpeg
- Dolby technology is usually implemented during production, when the analog sound is encoded into a Dolby-format file, so the consumer's microphone or recording software does not restrict use of Dolby technology, which is mainly used in professional contexts.Dolby: The Sound Standard
- A codec is a device or software that encodes analog sound into a stream of binary data at recording and compresses it for storage or transmission, and a decoder reverses that process at playback. Dolby's codecs are typically applied during production, and they are regarded as market-leading for multichannel audio.Dolby: The Sound Standard