414 terms
The option for filtergraphs with more than one input or output. Bracketed labels and -map go together.
Ch. 17 · Filtergraph Syntax: -vf and -filter_complexOptions that apply a filter chain to a single video/audio stream. Used when there is one input and one output.
Ch. 17 · Filtergraph Syntax: -vf and -filter_complexA method that analyzes the video in the first pass and uses that information in the second pass to distribute bits and hit a target bitrate.
Ch. 18 · CRF vs. 2-pass vs. CQ: What Do You Fix?Chroma at 1/2 both horizontally and vertically. The de facto standard for delivery video.
Ch. 1 · What Is Chroma Subsampling? 4:2:0 vs 4:4:4 vs 4:2:2 ExplainedChroma at 1/2 horizontally only. The standard for editing and broadcast (reappears with ProRes/APV in Chapter 9).
Ch. 1 · What Is Chroma Subsampling? 4:2:0 vs 4:4:4 vs 4:2:2 ExplainedAAC's baseline profile. The most widely played form of AAC.
Ch. 12 · Comparing Lossy Codecs: MP3, AAC (LC/HE), and OpusA streaming method that switches quality in real time according to network conditions.
Ch. 10 · Adaptive Bitrate Streaming: How HLS and DASH WorkThe 63 frequency coefficients other than DC. They carry the detail information.
Ch. 4 · How JPEG Works (1): DCT, Quantization and the Compression PipelineDolby's perceptual coding codec. Widely delivers 5.1 surround on DVD and in broadcast.
Ch. 12 · Surround and Lossless: AC-3, E-AC-3, and FLACAdaptive Color Transform. An SCC tool applied selectively, block by block, when coding directly in RGB is advantageous.
Ch. 9 · Screen Content Coding (SCC) Explained: Palette Mode, IBC and Sharp TextA probability that is updated on the fly according to the statistics actually observed.
Ch. 2 · Context Modeling in CABAC: How Codecs Predict ProbabilitiesThe filter in VVC. Selects and applies a trained set of filter coefficients based on directionality.
Ch. 3 · In-Loop Filters Explained: Deblocking, SAO and ALFA channel that stores per-pixel transparency separately from color (RGB). PNG, WebP, and AVIF support it; JPEG does not.
Ch. 20 · Web Image Formats: What to Use and WhenThe API for calling the hardware encoder on AMD GPUs.
Ch. 13 · Hardware Encoders by Vendor: NVENC, Quick Sync, AMF, VideoToolbox, and MobileThe codec/settings that serve as the baseline for a comparison.
Ch. 2 · BD-rate Explained: How Codecs Are Compared at Equal QualityAlliance for Open Media. A Big Tech alliance formed to develop a royalty-free codec.
Ch. 7 · What Is AOMedia? How an Industry Alliance Made AV1 Royalty-FreeAdvanced Professional Video. A royalty-free, intra-only editing codec developed by Samsung and published to the IETF.
Ch. 9 · What Is APV (Advanced Professional Video)? A Royalty-Free Alternative to ProResA technique that varies quantization strength by the nature of each region to allocate bits. Used to give flat areas more bits, it helps reduce banding.
Ch. 19 · Banding: When Stripes Appear in the SkyA filter that changes the audio sampling rate.
Ch. 17 · Audio Filter Basics and a Filter ChecklistCoding that can assign fractional bits, getting close to the theoretical limit.
Ch. 2 · What Is Entropy? The Theoretical Limit of Video CompressionA method where the receiver reports missing packets and gets them retransmitted. The basic principle behind SRT and RIST.
Ch. 15 · SRT, RIST, and RTMP: Protocols for the Ingest LegA general term for distortion that wasn't in the source and was introduced by compression, conversion, or filtering. Blocking, ringing, and banding are examples.
Ch. 19 · The Diagnostic Order: Telling Artifacts Apart from ScreenshotsA filter that changes audio playback speed while keeping pitch.
Ch. 17 · Audio Filter Basics and a Filter ChecklistThe codecs-string prefix for AV1. av01.0.08M.08 reads as profile 0 (Main), level number 08 (= 4.0), tier M, and 8-bit.
Ch. 18 · Recipe 2: Web Embedding and Messenger SharingThe successor to AV1, officially released in June 2026. AOMedia's newest royalty-free codec.
Ch. 8 · What is AV2? AOMedia's Successor to AV1 Explained (2026)The codecs-string prefix for H.264. In avc1.640028, the six characters after the dot are split into pairs: profile 0x64 (High), constraint flags 00, and level 0x28 (= 40, i.e. 4.0).
Ch. 18 · Recipe 2: Web Embedding and Messenger SharingA royalty-free image format based on AV1 intra frames.
Ch. 4 · AVIF vs HEIC vs JPEG: How Video Codecs Became Image FormatsThe command-line AVIF encoder from libavif. -q sets quality and -s sets speed.
Ch. 20 · Conversion Commands: cwebp, avifenc, cjxl, ffmpegThe AV2 reference encoder/decoder software distributed by AOMedia.
Ch. 8 · What is AV2? AOMedia's Successor to AV1 Explained (2026)A phenomenon where a smooth change in brightness shows up as stair-step bands. It stands out when the bit depth is low.
Ch. 14 · Encoding 10-bit HDR10 with x265Bands visible in smooth gradients because there aren't enough levels.
Ch. 1 · Bit Depth Explained: 8-bit vs 10-bit Video and BandingThe low-resolution signal handled by the existing codec, and the additional stream that corrects it.
Ch. 9 · What Is LCEVC? An Enhancement Layer on Top of H.264, HEVC and AV1The quality (PSNR) gain at the same bitrate.
Ch. 2 · BD-rate Explained: How Codecs Are Compared at Equal QualityBjøntegaard Delta rate. The bitrate saving at the same quality. The industry-standard metric for codec comparison.
Ch. 2 · BD-rate Explained: How Codecs Are Compared at Equal QualityThe binary unit that gets arithmetic-coded in CABAC. A syntax value is binarized into several bins.
Ch. 2 · Context Modeling in CABAC: How Codecs Predict ProbabilitiesThe process of turning a syntax value into a binary string (bins) that can be arithmetic-coded.
Ch. 5 · CABAC vs CAVLC: How H.264 Entropy Coding WorksThe number of bits used to represent one sample. 8/10/12-bit.
Ch. 1 · Bit Depth Explained: 8-bit vs 10-bit Video and BandingThe set of resolution and bitrate versions prepared for the same content.
Ch. 10 · Adaptive Bitrate Streaming: How HLS and DASH WorkThe compressed bit sequence the encoder emits and the decoder consumes. The actual thing a standard defines.
Ch. 1 · What Is a Video Codec? How Encoders and Decoders WorkDistortion where block-by-block quantization makes values mismatch at the boundaries of neighboring blocks, so square pieces become visible.
Ch. 19 · Blocking: When You See Square PiecesThe binary arithmetic coder used by VP9. Similar in principle to CABAC, but with a simpler context model. (AV1 replaced it with a multi-symbol adaptive arithmetic coder.)
Ch. 7 · What Is VP9? Google's Royalty-Free Codec and Its Road to AV1The basic unit of ISOBMFF. It starts with a size and a four-character type, and it can contain other boxes.
Ch. 16 · MP4 Is a Tree of Boxes: ftyp, moov, mdatA permissive license that requires only minimal conditions such as keeping the copyright notice. Patents are handled separately.
Ch. 22 · Encoder Software Licenses: x264, x265, SVT-AV1Drawing the subtitle text directly into the video pixels. It can't be turned off and requires re-encoding.
Ch. 17 · Burning In Subtitles: subtitles, ass, overlayA motion-adaptive deinterlacing filter built on yadif that uses w3fdif and cubic interpolation. Its options have the same form as yadif's.
Ch. 17 · Deinterlacing: yadif and bwdifContext-Adaptive Binary Arithmetic Coding. The main entropy coder since H.264.
Ch. 2 · What Is Entropy? The Theoretical Limit of Video CompressionA public site that collects browser support status for web technologies. Check its last-updated date too.
Ch. 20 · Checking Browser Support: State the Date, Don't AssertA method that asks a browser's media element whether it can play a given format. It returns only "probably", "maybe", or an empty string, and an empty string means it cannot play it.
Ch. 18 · Recipe 2: Web Embedding and Messenger SharingContext-Adaptive Variable-Length Coding. H.264's Huffman-family entropy coder. Lighter than CABAC but less compact.
Ch. 2 · What Is Entropy? The Theoretical Limit of Video CompressionCBR uses roughly the same number of bits for every frame; VBR spends more bits on passages where the sound is complex.
Ch. 12 · Getting a Feel for Bitrates by Use CaseCross-Component Sample Offset. A new AV2 filter that corrects chroma using luma information.
Ch. 8 · What is AV2? AOMedia's Successor to AV1 Explained (2026)In-loop filter tools newly added in AV2. CCSO handles cross-correction between chroma components and GDF handles detail restoration (see Chapter 8).
Ch. 3 · In-Loop Filters Explained: Deblocking, SAO and ALFAV1's filter. Applied after deblocking, taking over SAO's role.
Ch. 3 · In-Loop Filters Explained: Deblocking, SAO and ALFVideo whose frames always sit at the same interval. At 30 fps that is about 33.3 ms per frame. Check for VFR with the tool 'Variable Frame Rate (VFR) Detector'; converting VFR to CFR duplicates or drops frames, so it requires re-encoding.
Ch. 11 · Measurement Pitfalls: Resolution, Frame Alignment, and Color RangeThe channel count and speaker arrangement, such as stereo (2.0), 5.1, or 7.1.
Ch. 12 · Getting a Feel for Bitrates by Use CaseColor information with brightness removed. Blue difference and red difference.
Ch. 1 · RGB vs YCbCr (YUV): Why Video Codecs Separate Brightness From ColorA phenomenon where, because of low color resolution, color at a sharp color edge looks like it spills outside the outline.
Ch. 19 · Color Bleeding: When Red Text Leaks SidewaysWhere the reduced chroma samples correspond to on the luma grid.
Ch. 1 · What Is Chroma Subsampling? 4:2:0 vs 4:4:4 vs 4:2:2 ExplainedA technique that reduces data by lowering the resolution of the chroma components.
Ch. 1 · What Is Chroma Subsampling? 4:2:0 vs 4:4:4 vs 4:2:2 ExplainedAn HTTP transfer method that sends pieces one after another without knowing the total length of the response.
Ch. 15 · LL-HLS, LL-DASH, and CMAF ChunksA table that standardizes primaries/transfer/matrix as numbers. ITU-T H.273.
Ch. 1 · SDR vs HDR: Gamma, PQ, and HLG Transfer Functions ExplainedThe command-line JPEG XL encoder from libjxl.
Ch. 20 · Conversion Commands: cwebp, avifenc, cjxl, ffmpegWhether references across the GOP boundary are allowed. Streaming requires closed GOPs.
Ch. 10 · GOP Structure Explained: Keyframe Interval, Closed vs. Open GOPIn Matroska, a unit that groups a span of time's worth of blocks. It has its own reference timestamp.
Ch. 16 · EBML in MKV and WebM: A Container with Variable-Length SizesA common format that lets HLS and DASH share segments.
Ch. 10 · Adaptive Bitrate Streaming: How HLS and DASH WorkA sub-piece of a CMAF segment made of a moof+mdat pair. The unit of transfer in low latency.
Ch. 15 · LL-HLS, LL-DASH, and CMAF ChunksCoder + Decoder. An agreement on how video is compressed and restored.
Ch. 1 · What Is a Video Codec? How Encoders and Decoders WorkA string like avc1.640028 written in a type attribute or in HLS CODECS. It carries the codec and values such as profile and level, so the browser can judge in advance whether it can play the file. The tool 'Codec String Decoder' shows how to read one.
Ch. 18 · Recipe 2: Web Embedding and Messenger SharingThe range of colors that can be represented. The triangle formed by the RGB primary coordinates.
Ch. 1 · Color Gamut Explained: BT.601 vs BT.709 vs BT.2020The set of RGB↔YCbCr conversion coefficients. BT.601, 709, and 2020 each differ.
Ch. 1 · RGB vs YCbCr (YUV): Why Video Codecs Separate Brightness From ColorTags attached to a file that tell the player how to interpret pixel values as colors. They consist of primaries, transfer function, matrix, and range.
Ch. 21 · Building the Source, Part 2: Color Metadata and Getting the Tags RightThe range that holds brightness values. There are limited (TV, 16–235 @8-bit) and full (PC, 0–255).
Ch. 17 · Size and Frame Rate: scale, zscale, fpsWhether brightness uses 16 to 235 or 0 to 255 at 8-bit.
Ch. 11 · Measurement Pitfalls: Resolution, Frame Alignment, and Color RangeAn ffprobe field. Indicates the tv (limited) or pc (full) range.
Ch. 14 · Common Mistakes: Why Colors Look Washed OutA sawtooth artifact caused by the time difference between two fields.
Ch. 1 · Interlaced vs Progressive Video: Deinterlacing and Telecine ExplainedThe process of confirming that the licenses and patent terms of the software and codecs in a product fit the way it is distributed.
Ch. 22 · Wrap-Up: What to Check in Your SituationAV1's extension of inter prediction that carefully combines multiple reference frames.
Ch. 7 · AV1 Superblocks, Partition Types and Warped Motion ExplainedVerifying that a decoder produces output bit-for-bit identical to what the standard specifies.
Ch. 1 · What Is a Video Codec? How Encoders and Decoders WorkAn image that tiles several frames into one. Made with ffmpeg's fps and tile filters.
Ch. 19 · Pulling Out Suspect Segments: ffmpeg and Per-Frame VMAFA file format that bundles compressed media and metadata. A separate concept from the codec.
Ch. 10 · Container vs. Codec: What's the Difference Between MP4 and H.264?A technique for estimating a symbol's probability from surrounding information.
Ch. 2 · Context Modeling in CABAC: How Codecs Predict ProbabilitiesThe leg that sends the signal from the camera or encoder up to the server or broadcaster. Distinguished from delivery, which distributes it to viewers.
Ch. 15 · SRT, RIST, and RTMP: Protocols for the Ingest LegA licensing approach that requires derivative works to keep the same freedoms.
Ch. 22 · Encoder Software Licenses: x264, x265, SVT-AV1The option in FFmpeg's libvpx-vp9 and libaom-av1 that sets the balance between speed and efficiency. In this site's VP9 cpu-used lab article, cpu-used 5, 6 and 8 gave identical size and VMAF on all four clips, while 2 to 4 took 1.1 to 1.8 times the CPU time and landed at 98 to 107% of the size at the same VMAF.
Ch. 7 · What Is VP9? Google's Royalty-Free Codec and Its Road to AV1The fixed-quality mode of a hardware encoder. Its numbers are not compatible with software CRF.
Ch. 18 · CRF vs. 2-pass vs. CQ: What Do You Fix?NVENC's quality-target option. Similar in idea to CRF, but the values are on a different scale.
Ch. 13 · ffmpeg Hardware Encoding Option ExamplesA mode that fixes the quality target and lets the size follow. The same value can give very different sizes depending on how hard the video is.
Ch. 18 · CRF vs. 2-pass vs. CQ: What Do You Fix?Three representative rate control modes used in practice.
Ch. 3 · Quantization and QP in Video Coding: Where the Loss HappensKeeps only part of the frame with crop=w:h:x:y. If x and y are omitted, it is centered.
Ch. 17 · Cropping and Padding: crop, pad, and SARA filter that finds the area excluding black bars and suggests crop values in the log.
Ch. 17 · Cropping and Padding: crop, pad, and SARAn arrangement in which members agree to let one another use their patents for free.
Ch. 7 · What Is AOMedia? How an Industry Alliance Made AV1 Royalty-FreeCommon Test Conditions. Fair-comparison rules set by standardization meetings.
Ch. 2 · BD-rate Explained: How Codecs Are Compared at Equal QualityHEVC's top-level processing unit. Up to 64×64.
Ch. 6 · What Are CTUs and Quadtrees? How HEVC Splits Video for 4KThe top-level partitioning unit (CTU) since HEVC and its leaf node (CU).
Ch. 3 · Block Partitioning in Video Codecs: Macroblocks, Quadtrees and QTBTThree units that are split independently for partitioning, prediction, and transform, respectively.
Ch. 6 · What Are CTUs and Quadtrees? How HEVC Splits Video for 4KThe element in Matroska that serves as the seek index.
Ch. 16 · EBML in MKV and WebM: A Container with Variable-Length SizesThe command-line WebP encoder included in libwebp.
Ch. 20 · Conversion Commands: cwebp, avifenc, cjxl, ffmpegAn ultra-fast AV1 software decoder from the VideoLAN community.
Ch. 7 · AV1 Encoders and Adoption: libaom vs SVT-AV1, rav1e and dav1dThe transform coefficient that represents the average brightness of a block. It is coded as a difference from the neighboring block.
Ch. 4 · How JPEG Works (1): DCT, Quantization and the Compression PipelineA transform that decomposes a spatial signal into frequency components. A core tool of video codecs.
Ch. 3 · DCT and Transform Coding: Why Codecs Convert Pixels to FrequenciesA technology that became established like a standard through wide use, without approval from an official standards body. VP9 is often given as an example.
Ch. 22 · Who Makes Codec Standards: ITU-T, MPEG, and AOMediaA quantization interval that turns small coefficients near 0 into exactly 0.
Ch. 3 · Quantization and QP in Video Coding: Where the Loss HappensFiltering that detects regions where bands are visible and mixes in fine noise or smooths them to hide the bands. ffmpeg's deband and gradfun are examples.
Ch. 19 · Banding: When Stripes Appear in the SkyThe most basic filter, softening step artifacts at block edges.
Ch. 3 · In-Loop Filters Explained: Deblocking, SAO and ALFThe storage that holds reconstructed frames so they can be used as references for prediction.
Ch. 3 · What Is Hybrid Video Coding? The Blueprint Behind Every Modern CodecA clause under which the licensee's own license ends if it files a patent suit against the other party.
Ch. 22 · What 'Royalty-Free' Does and Doesn't PromiseA general-purpose lossless compression algorithm combining LZ77 and Huffman coding.
Ch. 4 · PNG vs JPEG: How Lossless Image Compression WorksConverting interlaced to progressive.
Ch. 1 · Interlaced vs Progressive Video: Deinterlacing and Telecine ExplainedWhere the file is ultimately played or delivered: archive, platform upload, web embed, messenger sharing, and so on. It determines the constraints on your encoding settings.
Ch. 18 · The Order of Decisions: Destination, Codec, Rate Control, PresetA region that was hidden behind another object and is newly revealed. Hard to predict from past frames alone, so bi-directional (B) prediction helps.
Ch. 3 · Inter Prediction and Motion Compensation: How Video Compresses TimeThe video that has been degraded by encoding, transmission, and so on. The input being evaluated in a metric tool.
Ch. 11 · PSNR, SSIM, and VMAF: What Each Metric Sees and MissesA technique that hides banding by scattering quantization boundaries with fine noise.
Ch. 1 · Bit Depth Explained: 8-bit vs 10-bit Video and BandingDetail Loss Metric. A VMAF input feature that measures the amount of detail lost.
Ch. 2 · What Is VMAF? Netflix's Perceptual Video Quality Metric ExplainedA value written in the EBML header. It distinguishes matroska from webm.
Ch. 16 · EBML in MKV and WebM: A Container with Variable-Length SizesDolby's HDR format with dynamic metadata. Base layer and compatibility differ by profile.
Ch. 14 · HDR10, HDR10+, and Dolby Vision: The Metadata DiffersFolding multichannel audio such as 5.1 into fewer channels, such as stereo.
Ch. 12 · Audio Compatibility by Container, and How to CheckThe accumulation of error when the encoder's and decoder's reference states diverge.
Ch. 3 · What Is Hybrid Video Coding? The Blueprint Behind Every Modern CodecThe version of the encoding API the driver provides. If it's lower than what ffmpeg requires, the encoder can't be opened.
Ch. 13 · Checking Codec Support by Generation: How Do You Know What Works?The condition that, for ffmpeg to use a hardware feature, the driver must expose the corresponding API version.
Ch. 13 · Why This Site Can't Use Hardware Encoders in Its MeasurementsFrames discarded because the line or encoder couldn't keep up and they couldn't be sent. A key indicator of stream health.
Ch. 15 · OBS Streaming Settings: Understand the Why, Don't Memorize the ValuesOffering the same software under both an open license such as the GPL and a separate commercial license. x265 is described this way.
Ch. 22 · Wrap-Up: What to Check in Your SituationThe extended version of AC-3. Higher efficiency and a wider range of channel configurations.
Ch. 12 · Surround and Lossless: AC-3, E-AC-3, and FLACEmbedded Block Coding with Optimized Truncation. JPEG 2000's core entropy coding, which carefully encodes wavelet coefficients in units of blocks and bit-planes.
Ch. 4 · JPEG 2000 and Wavelets: Why It Never Replaced JPEGAn element-tree format that writes IDs and sizes with variable lengths. The basis of Matroska and WebM.
Ch. 16 · EBML in MKV and WebM: A Container with Variable-Length SizesThe European Broadcasting Union's loudness recommendation. Specifies an integrated loudness of -23 LUFS, a true peak of -1 dBTP, and more.
Ch. 12 · Loudness Standards: LUFS, EBU R128, and ffmpeg loudnormThe ability to reach the same quality with fewer bits. Compared using BD-rate from Chapter 2.
Ch. 13 · How They Differ from Software: Trends in Speed, Power, and QualityThe uncertainty, or average information, of a source. The theoretical lower bound for lossless compression.
Ch. 2 · What Is Entropy? The Theoretical Limit of Video CompressionEnd Of Block. A special symbol signaling that all remaining coefficients are zero.
Ch. 4 · JPEG Zig-Zag Scan, Run-Length Encoding and EOB ExplainedThe two kinds of Windows FFmpeg build distributed by gyan.dev. That site's guidance says to switch to the full build if you get Unknown encoder. To see which encoders a build contains, use the tool 'Check Your FFmpeg Build'.
Ch. 22 · Encoder Software Licenses: x264, x265, SVT-AV1MPEG-5 Part 1. A standard that tried to ease the patent problem with its two-tier Baseline/Main structure.
Ch. 8 · What is EVC (MPEG-5)? The Baseline/Main Answer to Codec RoyaltiesA variable-length binarization scheme that assigns fewer bits to smaller values. Often used in CABAC's binarization step.
Ch. 5 · CABAC vs CAVLC: How H.264 Entropy Coding WorksA more widely supported substitute file prepared for browsers that don't support the new format.
Ch. 20 · Web Image Formats: What to Use and WhenA setup where several <source> elements are listed in order inside <video>, so a browser that can't play the earlier codec uses the next source.
Ch. 18 · Recipe 2: Web Embedding and Messenger SharingA layout that moves the moov box to the front of the file so playback and seeking can start even while the file is still downloading. In FFmpeg it is -movflags +faststart.
Ch. 16 · faststart: Why moov Needs to Come FirstInstead of guessing from the browser name or version, you test whether the feature actually works.
Ch. 20 · Checking Browser Support: State the Date, Don't AssertThe de facto industry-standard open-source tools for video processing and analysis.
Ch. 10 · Encoding with ffmpeg: CRF, GOP, Profile, and Preset Options ExplainedThe analysis tool that ships with FFmpeg. It prints container, stream, and packet information.
Ch. 16 · Reading Structure with ffprobe, and What Remuxing Can and Can't DoHalf of an interlaced frame (odd lines or even lines).
Ch. 1 · Interlaced vs Progressive Video: Deinterlacing and Telecine ExplainedA technique that, instead of compressing the noise, transmits only parameters and regenerates the grain in the decoder.
Ch. 7 · AV1 Film Grain Synthesis: How to Keep Film Texture at Low BitratesThe whole structure of filters connected to one another. It includes both comma-joined chains and label-joined branches and merges.
Ch. 17 · Filtergraph Syntax: -vf and -filter_complexA circuit hardwired to do one set job. You can't reprogram it to do something else.
Ch. 13 · What Is a Hardware Encoder? Handing Encoding to Dedicated CircuitryAn open-source lossless audio codec. Restores audio bit-for-bit identical to the original PCM.
Ch. 12 · Surround and Lossless: AC-3, E-AC-3, and FLACA phenomenon where brightness or quality varies irregularly from frame to frame and the picture shakes. It can be a source problem or created by the encode.
Ch. 19 · Flicker and Pumping: When Quality Surges Up and DownAn MP4 in which moof+mdat fragments repeat after the initialization part. The basis of HLS (fMP4), DASH, and CMAF.
Ch. 16 · fMP4: MP4 Split into Fragments (moof + mdat)A filter that sets the output frame rate by dropping or duplicating frames. It does not create new frames.
Ch. 17 · Size and Frame Rate: scale, zscale, fpsMaking sure frames from the same moment in the two videos being compared are paired up.
Ch. 11 · Measurement Pitfalls: Resolution, Frame Alignment, and Color RangeFrames per second. 29.97 = 30000/1001.
Ch. 1 · Pixels, Resolution, and Frame Rate: How Digital Video Is Stored as NumbersAn editing property that guarantees cut points are exact to the frame.
Ch. 9 · Why Editing Codecs Are Intra-Only: ProRes, DNxHR and the Case Against B-FramesA quality metric that takes both the original and the result as input and compares them. PSNR, SSIM, and VMAF all belong here.
Ch. 11 · PSNR, SSIM, and VMAF: What Each Metric Sees and MissesPlaying tracks back to back with no break between them. Requires accurate encoder delay information.
Ch. 12 · Audio Compatibility by Container, and How to CheckGuided Detail Filter. A detail-restoration filter added in AV2.
Ch. 8 · What is AV2? AOMedia's Successor to AV1 Explained (2026)Quality degradation that accumulates each time lossy compression is repeated.
Ch. 9 · Why Editing Codecs Are Intra-Only: ProRes, DNxHR and the Case Against B-FramesAn image format from 1987. It uses a palette of up to 256 colors and lossless compression, and supports animation.
Ch. 20 · Short Videos Instead of GIFs: MP4, WebM, and Animated ImagesThe total time from the moment something is captured by the camera to the moment it appears on the viewer's screen.
Ch. 15 · Where Latency Comes From: The Pipeline at a GlanceThe quality-target option of the Quick Sync encoder. Lower values mean higher quality.
Ch. 13 · ffmpeg Hardware Encoding Option ExamplesGroup of Pictures. The span from one intra frame up to just before the next intra frame.
Ch. 10 · GOP Structure Explained: Keyframe Interval, Closed vs. Open GOPGNU General Public License. A copyleft license that requires the resulting work to follow the same terms (such as releasing source) when the software is distributed.
Ch. 22 · Encoder Software Licenses: x264, x265, SVT-AV1Post-production work that adjusts a video's color and brightness to match the creative intent. HDR and SDR are sometimes graded separately.
Ch. 14 · Things to Watch When Uploading to a PlatformThe most widely adopted video codec in history, standardized in 2003.
Ch. 5 · What Is H.264 (AVC)? Profiles, Levels and Why It's Still EverywhereThe highlight compression curves offered by ffmpeg's tonemap filter.
Ch. 14 · HDR to SDR Tone Mapping: zscale and tonemapA chip block that handles codec decoding in dedicated circuitry. It is power-efficient, and the codecs it supports differ by chip generation.
Ch. 22 · In What Order Hardware Support SpreadsA dedicated circuit built into the chip. Low power and fast, but not flexible.
Ch. 10 · Hardware vs. Software Video Decoding: Why New Codecs Take Years to ArriveA dedicated encoding circuit inside a GPU, CPU integrated graphics, or SoC. The codecs and profiles it supports are fixed when the chip is designed.
Ch. 13 · What Is a Hardware Encoder? Handing Encoding to Dedicated CircuitryEncoding on dedicated circuits such as NVENC or Quick Sync. Fast, but often at some cost in quality.
Ch. 10 · Hardware vs. Software Video Decoding: Why New Codecs Take Years to ArriveHigh Dynamic Range. A spec with a wide light-to-dark span. Highlights stay alive up to 1,000+ nit.
Ch. 1 · SDR vs HDR: Gamma, PQ, and HLG Transfer Functions ExplainedThe flow from mastering → export → encoding → distribution → playback. The color tags have to survive every step.
Ch. 14 · The HDR Pipeline at a Glance: PQ and HLG RevisitedAn open HDR standard made up of PQ + BT.2020 + 10-bit + static metadata.
Ch. 14 · HDR10, HDR10+, and Dolby Vision: The Metadata DiffersHDR10 plus per-scene dynamic metadata (based on ST 2094-40).
Ch. 14 · HDR10, HDR10+, and Dolby Vision: The Metadata DiffersAn extension that adds SBR (and PS in v2) to AAC-LC to do well at low bitrates.
Ch. 12 · Comparing Lossy Codecs: MP3, AAC (LC/HE), and OpusAn image container based on HEVC intra frames. Adopted by Apple as its default.
Ch. 4 · AVIF vs HEIC vs JPEG: How Video Codecs Became Image FormatsThe most widely used H.264 profile. Includes the 8×8 transform, among other tools.
Ch. 5 · What Is H.264 (AVC)? Profiles, Levels and Why It's Still EverywhereHDR based on relative brightness. Backward compatible with SDR; used for broadcast.
Ch. 1 · SDR vs HDR: Gamma, PQ, and HLG Transfer Functions ExplainedThe two main adaptive streaming protocols, from Apple and MPEG respectively.
Ch. 10 · Adaptive Bitrate Streaming: How HLS and DASH WorkA fast filter that reduces noise both spatially and temporally. Parameters are luma_spatial:chroma_spatial:luma_tmp:chroma_tmp.
Ch. 17 · Denoising and Compression Efficiency: hqdn3d and nlmeansLossless coding that assigns whole-number bit lengths to probabilities.
Ch. 2 · What Is Entropy? The Theoretical Limit of Video CompressionThe codecs-string prefix for HEVC. hvc1.1.6.L123.B0 reads as profile 1 (Main), tier L (Main tier), and level 123 ÷ 30 = 4.1. The two prefixes differ in whether the parameter sets sit in the file header or may also appear inside the samples.
Ch. 18 · Recipe 2: Web Embedding and Messenger SharingAn ffmpeg filter that uploads frames from CPU memory to GPU memory. Used in VAAPI encoding and elsewhere.
Ch. 13 · ffmpeg Hardware Encoding Option ExamplesThe common design of modern video codecs, combining prediction-based coding with transform-based coding.
Ch. 3 · What Is Hybrid Video Coding? The Blueprint Behind Every Modern CodecAn SCC tool that references another area of the same frame by copying it directly. Effective for repeating icons and text.
Ch. 9 · Screen Content Coding (SCC) Explained: Palette Mode, IBC and Sharp TextThe procedure and servers for devices behind NATs and firewalls to find a connection path. TURN is the relay used when a direct connection fails.
Ch. 15 · WebRTC: Real-Time Delivery Aiming for Under a SecondAn analysis filter that classifies frames as progressive or interlaced (TFF/BFF) and produces statistics.
Ch. 17 · Deinterlacing: yadif and bwdifInternet Engineering Task Force. A standards body that publishes internet and media standards as RFC (Request for Comments) documents.
Ch. 9 · What Is APV (Advanced Professional Video)? A Royalty-Free Alternative to ProResA standardized filter applied right after reconstruction, before the picture is used as a reference frame.
Ch. 3 · In-Loop Filters Explained: Deblocking, SAO and ALFThe front part of an fMP4 (ftyp+moov) holding the codec configuration. It is needed before any fragment can be decoded.
Ch. 16 · fMP4: MP4 Split into Fragments (moof + mdat)A standard transform that approximates the real-valued DCT with integer arithmetic, for conformance.
Ch. 3 · DCT and Transform Coding: Why Codecs Convert Pixels to FrequenciesLoudness calculated over the whole program with gating. Usually what people mean by "this video's LUFS."
Ch. 12 · Loudness Standards: LUFS, EBU R128, and ffmpeg loudnormWhether it's split into fields and sent, or sent all at once.
Ch. 1 · Interlaced vs Progressive Video: Deinterlacing and Telecine ExplainedAn SCC tool that references another location in the same frame by copying it directly.
Ch. 8 · What is VVC (H.266)? How QTBT+T Delivers Its Efficiency GainSpatial prediction that estimates a block from neighboring pixels in the same frame only.
Ch. 3 · Intra Prediction Explained: How Codecs Predict Within a FrameA scheme in which every frame is coded as an independent intra frame.
Ch. 9 · Why Editing Codecs Are Intra-Only: ProRes, DNxHR and the Case Against B-FramesThe international standard container structure that MP4 and others are built on.
Ch. 10 · Container vs. Codec: What's the Difference Between MP4 and H.264?The international standards body that handles the H.26x family of video codec standards. Its video coding expert group is known as VCEG.
Ch. 22 · Who Makes Codec Standards: ITU-T, MPEG, and AOMediaA very short buffer the receiver keeps to absorb variation in packet arrival intervals.
Ch. 15 · WebRTC: Real-Time Delivery Aiming for Under a SecondStandardized in 1992, the original block-based DCT lossy image compression format.
Ch. 4 · How JPEG Works (1): DCT, Quantization and the Compression PipelineA wavelet-based standard from 2000. Technically excellent, but it failed to spread in the market.
Ch. 4 · JPEG 2000 and Wavelets: Why It Never Replaced JPEGA next-generation image format combining the Modular transform and VarDCT. Supports lossless JPEG recompression.
Ch. 4 · AVIF vs HEIC vs JPEG: How Video Codecs Became Image FormatsHow often an intra frame is inserted. The key parameter in the quality-versus-seekability trade-off.
Ch. 10 · GOP Structure Explained: Keyframe Interval, Closed vs. Open GOPThe statistically optimal transform. The DCT is a practical approximation of it.
Ch. 3 · DCT and Transform Coding: Why Codecs Convert Pixels to FrequenciesThe encoder's core formula for combining R and D into one number to compare candidates.
Ch. 2 · Rate-Distortion Optimization (RDO) and the Lagrangian Cost J = D + λRSurrounding content getting pushed around because an image loads late. Reduced by reserving space with width and height.
Ch. 20 · picture and srcset: The Right File for the Right ScreenMPEG-5 Part 2. A low-complexity enhancement standard that adds an enhancement layer on top of an existing codec.
Ch. 9 · What Is LCEVC? An Enhancement Layer on Top of H.264, HEVC and AV1Defines performance limits such as resolution, frame rate, and bitrate.
Ch. 5 · What Is H.264 (AVC)? Profiles, Levels and Why It's Still EverywhereA library that renders ASS/SSA subtitles. The subtitles and ass filters use it, and it must be included in the FFmpeg build.
Ch. 17 · Burning In Subtitles: subtitles, ass, overlayThe VMAF computation library. If it is built into ffmpeg, you use it as the libvmaf filter.
Ch. 11 · Hands-On: Running libvmaf in ffmpeg and Reading the JSONThe company or person that receives permission to use a patent or software.
Ch. 22 · Patent Pools: A Way to Consolidate the CounterUsing only 16 to 235 in 8-bit versus using the whole 0 to 255. If they mismatch, blacks look lifted or crushed.
Ch. 14 · HDR to SDR Tone Mapping: zscale and tonemapA connection-point marker written as [name] inside a filtergraph. [0:v] is the video stream of input 0.
Ch. 17 · Filtergraph Syntax: -vf and -filter_complexA DASH approach that delivers CMAF chunks via HTTP chunked transfer, starting before the segment is complete.
Ch. 15 · LL-HLS, LL-DASH, and CMAF ChunksApple's low-latency extension of HLS, adding parts (partial segments), blocking reload, and preload hints.
Ch. 15 · LL-HLS, LL-DASH, and CMAF ChunksAn encoder feature that analyzes upcoming frames in advance to allocate bits. It improves compression efficiency but adds latency.
Ch. 15 · Live Encoding Settings: zerolatency and Keyframe IntervalAV1's additional restoration stage. Uses Wiener and self-guided filters to correct noise left after CDEF.
Ch. 3 · In-Loop Filters Explained: Deblocking, SAO and ALFA method that reproduces data identical to the original after compression and decompression.
Ch. 4 · PNG vs JPEG: How Lossless Image Compression WorksWhether the original can be restored exactly. Video is almost always lossy.
Ch. 1 · What Is a Video Codec? How Encoders and Decoders Workffmpeg's EBU R128-based loudness normalization filter. Supports a two-pass linear mode that takes measured values.
Ch. 12 · Loudness Standards: LUFS, EBU R128, and ffmpeg loudnormLoudness Range. How widely the loudness rises and falls within a program.
Ch. 12 · Loudness Standards: LUFS, EBU R128, and ffmpeg loudnormThe loudness unit measured with BS.1770, a relative value referenced to full scale. LUFS and LKFS refer to the same value.
Ch. 12 · Loudness Standards: LUFS, EBU R128, and ffmpeg loudnormThe gamma-corrected brightness component. Makes up most of a codec's data.
Ch. 1 · RGB vs YCbCr (YUV): Why Video Codecs Separate Brightness From ColorLuminance is physical linear brightness (Y); luma is Y' after gamma. Often distinguished in papers.
Ch. 1 · RGB vs YCbCr (YUV): Why Video Codecs Separate Brightness From ColorThe fixed-size (16×16) top-level partitioning unit of H.264 and earlier generations. The predecessor of the CTU.
Ch. 3 · Block Partitioning in Video Codecs: Macroblocks, Quadtrees and QTBTHEVC's 10-bit profile. The de facto default for UHD and HDR.
Ch. 1 · Bit Depth Explained: 8-bit vs 10-bit Video and BandingThe phenomenon where a loud sound covers quieter sounds nearby in frequency or time so they can't be heard.
Ch. 12 · Perceptual Coding: Throw Away What the Ear Can't HearThe color gamut and brightness of the monitor the video was mastered on (SMPTE ST 2086). HDR10's static metadata.
Ch. 14 · HDR10, HDR10+, and Dolby Vision: The Metadata DiffersThe brightness of the brightest pixel in the video, and the highest per-frame average brightness (nits).
Ch. 14 · HDR10, HDR10+, and Dolby Vision: The Metadata DiffersH.264's interlace coding tool. Gone since HEVC.
Ch. 1 · Interlaced vs Progressive Video: Deinterlacing and Telecine ExplainedThe box that actually holds the compressed video and audio bytes.
Ch. 16 · MP4 Is a Tree of Boxes: ftyp, moov, mdatA transform that turns an audio block into frequency components. Its blocks overlap.
Ch. 12 · Perceptual Coding: Throw Away What the Ear Can't HearA browser API where you pass a codec, resolution, fps and bitrate and get back whether it is supported, smooth, and power efficient. A power-efficient 'yes' is usually a sign that a hardware decoder handles it.
Ch. 18 · Recipe 2: Web Embedding and Messenger SharingA high-quality intermediate file uploaded on the assumption that a platform will re-encode it. It is not meant for final viewing.
Ch. 18 · Recipe 1: Archive and Upload Files, Meant to Be ReworkedAn intermediate codec used for editing and post-production, between capture and final delivery.
Ch. 9 · Why Editing Codecs Are Intra-Only: ProRes, DNxHR and the Case Against B-FramesMerge Mode with Motion Vector Difference. A motion vector representation that refines a merge candidate by adding only a small, cheaply signaled offset.
Ch. 8 · What is VVC (H.266)? How QTBT+T Delivers Its Efficiency GainThe metadata box listing the number, sizes, and times of the samples in one fMP4 fragment.
Ch. 16 · fMP4: MP4 Split into Fragments (moof + mdat)The metadata box holding track information and the sample location table. It acts as the index for playback and seeking.
Ch. 16 · MP4 Is a Tree of Boxes: ftyp, moov, mdatMean Opinion Score. Rating scores given by real people. The answer key for training VMAF.
Ch. 2 · What Is VMAF? Netflix's Perceptual Video Quality Metric ExplainedDistortion where ringing around the outlines of moving objects differs from frame to frame and shimmers.
Ch. 19 · Ringing and Mosquito Noise: Ripples Around EdgesThe search process by which the encoder finds the optimal MV. Takes up a large share of encoding time.
Ch. 3 · Inter Prediction and Motion Compensation: How Video Compresses TimeA coordinate offset that points to where in the reference frame to fetch the prediction block.
Ch. 3 · Inter Prediction and Motion Compensation: How Video Compresses TimeA text subtitle format that can be held in an MP4. Used when converting SRT and similar formats to put them in.
Ch. 16 · Reading Structure with ffprobe, and What Remuxing Can and Can't DoMPEG-1 Audio Layer III. The long-standing standard format for music distribution.
Ch. 12 · Comparing Lossy Codecs: MP3, AAC (LC/HE), and OpusThe video and audio standardization group under ISO/IEC. It standardized MPEG-2, MPEG-4 AVC, HEVC, and VVC jointly with ITU-T.
Ch. 22 · Who Makes Codec Standards: ITU-T, MPEG, and AOMediaThe three major competing patent pools for HEVC.
Ch. 6 · HEVC Patent Pools Explained: Why H.265 Didn't Replace H.264A broadcast container that streams fixed 188-byte packets, distinguished by PID.
Ch. 16 · MPEG-TS: A Container That Streams in 188-Byte PacketsPredicts the current mode from neighboring blocks' modes to save signaling bits.
Ch. 3 · Intra Prediction Explained: How Codecs Predict Within a FrameA metric that combines SSIM computed at several resolutions.
Ch. 2 · PSNR vs SSIM: Measuring Video Quality With NumbersMean Squared Error. The basis of the PSNR calculation.
Ch. 2 · PSNR vs SSIM: Measuring Video Quality With NumbersA VVC tool for choosing among several transform kernels such as DCT/DST.
Ch. 3 · DCT and Transform Coding: Why Codecs Convert Pixels to FrequenciesA strategy of choosing among multiple codec versions to deliver, depending on what each device supports.
Ch. 7 · AV1 Encoders and Adoption: libaom vs SVT-AV1, rav1e and dav1dA feature introduced in H.264 that picks the best match among several past frames.
Ch. 5 · H.264 Prediction Tools: Intra Modes, Multiple Reference Frames, Weighted PredictionA filter option that sets how many threads libvmaf uses for the computation.
Ch. 11 · Hands-On: Running libvmaf in ffmpeg and Reading the JSONRTCP feedback messages used to request packet retransmission (NACK) and to request a new keyframe (PLI).
Ch. 15 · WebRTC: Real-Time Delivery Aiming for Under a SecondThe transport unit that makes up an H.264/HEVC bitstream. Carries either video data or configuration information.
Ch. 5 · H.264 Macroblocks and NAL Units Explained: SPS, PPS and SlicesThe RGB↔YCbCr conversion method commonly used with BT.2020. Its ffmpeg name is bt2020nc.
Ch. 14 · Things to Watch When Uploading to a PlatformAn enlargement method that scales up pixels without blending them. Each pixel shows as a square, which makes it well suited to examining artifacts.
Ch. 19 · The Diagnostic Order: Telling Artifacts Apart from ScreenshotsPatent claims you cannot avoid infringing when implementing a standard. Used to define the scope of a patent license.
Ch. 22 · What 'Royalty-Free' Does and Doesn't PromiseA model version that does not count artificial enhancement such as sharpening as a score gain.
Ch. 11 · Choosing a VMAF Model: Default, Phone, 4K, and NEGThe view in browser developer tools that shows the format, size, and timing of the files a page requested.
Ch. 20 · Wrap-up and Checklist: Audit Your Site's Images in One PassUnit of brightness. SDR reference white ≈100, HDR highlights 1000+.
Ch. 1 · SDR vs HDR: Gamma, PQ, and HLG Transfer Functions ExplainedA denoising filter that finds similar patches and averages them. Refined but slow.
Ch. 17 · Denoising and Compression Efficiency: hqdn3d and nlmeansA zscale option. The peak brightness (nits) used as the reference during the linear conversion.
Ch. 14 · HDR to SDR Tone Mapping: zscale and tonemapThe hardware video encoder block inside NVIDIA GPUs.
Ch. 13 · Hardware Encoders by Vendor: NVENC, Quick Sync, AMF, VideoToolbox, and MobileHalf the sampling rate. Frequencies above it cannot be captured correctly.
Ch. 12 · Turning Sound into Numbers: Sampling and Bit DepthFree, open-source software for streaming and recording.
Ch. 15 · OBS Streaming Settings: Understand the Why, Don't Memorize the ValuesThe basic unit that makes up an AV1 bitstream. The sequence header and metadata are also carried in OBUs.
Ch. 14 · HDR Encoding with SVT-AV1, and What You Must VerifyOETF is light → code value (camera); EOTF is code value → light (display).
Ch. 1 · SDR vs HDR: Gamma, PQ, and HLG Transfer Functions ExplainedThe company Google acquired. The original developer of the VP codec lineage (VP3 to VP9).
Ch. 7 · What Is VP9? Google's Royalty-Free Codec and Its Road to AV1A royalty-free IETF-standard codec. Handles speech (SILK) and music (CELT) in one.
Ch. 12 · Comparing Lossy Codecs: MP3, AAC (LC/HE), and OpusThe quality range that two R-D curves both cover. BD-rate is meaningful only within this range.
Ch. 11 · Computing BD-rate from Your Own DataWhen a filter pushes values next to an edge outside their original range, creating a halo. It is most likely with sharp filters.
Ch. 19 · Ringing and Mosquito Noise: Ripples Around EdgesPrediction frames that reference one direction / both directions (past + future).
Ch. 3 · Inter Prediction and Motion Compensation: How Video Compresses TimeA filter that adds colored margins around the video to enlarge the canvas. Used to match the aspect ratio.
Ch. 17 · Cropping and Padding: crop, pad, and SARPicture-Adaptive Field/Frame. H.264's interlaced coding tool; it chooses field or frame coding per picture (see Chapter 1).
Ch. 5 · Limits of H.264: Why the Industry Moved On to HEVC, AV1 and VVCAn SCC tool that replaces DCT by representing a limited set of colors with an index map.
Ch. 9 · Screen Content Coding (SCC) Explained: Palette Mode, IBC and Sharp TextWhether pixels are square, and what the final screen ratio is.
Ch. 1 · Pixels, Resolution, and Frame Rate: How Digital Video Is Stored as NumbersA finer piece of a segment in LL-HLS. It is listed in the playlist as EXT-X-PART.
Ch. 15 · LL-HLS, LL-DASH, and CMAF ChunksSending the encoded audio stream as is to an external device without decoding it.
Ch. 12 · Surround and Lossless: AC-3, E-AC-3, and FLACTables where the PAT gives the program list and the PMT locations, and the PMT gives each stream's PID and type.
Ch. 16 · MPEG-TS: A Container That Streams in 188-Byte PacketsAn organization that bundles the patents of multiple holders and licenses them through a single window.
Ch. 6 · HEVC Patent Pools Explained: Why H.265 Didn't Replace H.264Recording sample values as they are, with no compression. WAV and similar formats are in this form.
Ch. 12 · Turning Sound into Numbers: Sampling and Bit DepthA value that carries the sender's reference clock to the receiver. Based on 27 MHz.
Ch. 16 · MPEG-TS: A Container That Streams in 188-Byte PacketsA score assigned to each frame rather than to the whole video. The raw material for averages and percentiles.
Ch. 11 · The Average Trap: Low Percentiles and Minimum VMAFThe score recorded for each frame in the libvmaf JSON log. Used to compute the mean, 5th percentile, and minimum, or to find the timestamps of low frames.
Ch. 19 · Pulling Out Suspect Segments: ffmpeg and Per-Frame VMAFThe value at a given fraction when scores are sorted from lowest. p5 is the value at the 5% mark.
Ch. 11 · The Average Trap: Low Percentiles and Minimum VMAFCompression that discards information the human ear can't hear. The common principle behind lossy audio codecs.
Ch. 12 · Perceptual Coding: Throw Away What the Ear Can't HearAn image-based subtitle format used on Blu-ray. It is a picture, not text, so it is burned in by compositing with overlay.
Ch. 17 · Burning In Subtitles: subtitles, ass, overlayA transform option that reflects phone viewing. The same video scores differently than with the default model.
Ch. 11 · Choosing a VMAF Model: Default, Phone, 4K, and NEGA 13-bit value in the TS packet header. It indicates which stream the packet belongs to.
Ch. 16 · MPEG-TS: A Container That Streams in 188-Byte PacketsA name for a frame's color representation, chroma subsampling, and bit depth. Example: yuv420p.
Ch. 17 · Audio Filter Basics and a Filter ChecklistThe amount the player downloads ahead of playback to prevent stalls. It is the first thing you shrink for low latency, and also the riskiest.
Ch. 15 · Where Latency Comes From: The Pipeline at a GlanceA video tag attribute. On some mobile browsers, it makes the video play inside the page instead of full screen.
Ch. 20 · Short Videos Instead of GIFs: MP4, WebM, and Animated ImagesA lossless image format that uses filtering prediction + DEFLATE (LZ77 + Huffman).
Ch. 4 · PNG vs JPEG: How Lossless Image Compression WorksThe part of the libvmaf JSON log that summarizes the per-frame scores (the average, and so on).
Ch. 11 · Hands-On: Running libvmaf in ffmpeg and Reading the JSONThe image shown before a video plays.
Ch. 20 · Short Videos Instead of GIFs: MP4, WebM, and Animated ImagesAn HDR transfer function based on absolute brightness. Up to 10,000 nit.
Ch. 1 · SDR vs HDR: Gamma, PQ, and HLG Transfer Functions ExplainedAn artifact where quantization noise spreads to just before a sudden sound and becomes audible.
Ch. 12 · Perceptual Coding: Throw Away What the Ear Can't HearA setting that controls the encoder's RDO search range (the speed vs. compression efficiency trade-off).
Ch. 10 · Encoding with ffmpeg: CRF, GOP, Profile, and Preset Options ExplainedThe chromaticity coordinates of each of R, G, and B.
Ch. 1 · Color Gamut Explained: BT.601 vs BT.709 vs BT.2020Defines the set of coding tools a bitstream may use.
Ch. 5 · What Is H.264 (AVC)? Profiles, Levels and Why It's Still EverywherePlaying a file while it is being downloaded over HTTP. It is strongly affected by where the index sits.
Ch. 16 · faststart: Why moov Needs to Come FirstA quality metric based on pixel error. Easy to compute but weakly correlated with perception.
Ch. 2 · PSNR vs SSIM: Measuring Video Quality With NumbersThe field that studies how people perceive sound. The basis for masking models.
Ch. 12 · Perceptual Coding: Throw Away What the Ear Can't HearInformation the human eye can't perceive. Discarding it is what 'lossy compression' really is.
Ch. 1 · What Is a Video Codec? How Encoders and Decoders WorkThe time at which a frame is shown. If the two videos start at different times, the pairing goes out of step.
Ch. 11 · Measurement Pitfalls: Resolution, Frame Alignment, and Color RangePTS is the time to show on screen; DTS is the time to feed the decoder. They differ when B-frames are present.
Ch. 16 · Timestamps: PTS, DTS, and TimebaseSubdivisions of a CU in HEVC, for prediction and for the transform respectively.
Ch. 3 · Block Partitioning in Video Codecs: Macroblocks, Quadtrees and QTBTA phenomenon where quality regularly gets sharper and then blurrier in step with things like the keyframe period.
Ch. 19 · Flicker and Pumping: When Quality Surges Up and DownQuantization Parameter. The value that sets how coarsely to quantize. Directly tied to λ.
Ch. 2 · Rate-Distortion Optimization (RDO) and the Lagrangian Cost J = D + λRVVC's partitioning scheme. A mix of quad, binary, and ternary trees.
Ch. 3 · Block Partitioning in Video Codecs: Macroblocks, Quadtrees and QTBTThe only step in the codec pipeline that deliberately discards information.
Ch. 3 · Quantization and QP in Video Coding: Where the Loss HappensNoise produced by the error from snapping continuous values to a fixed set of levels.
Ch. 12 · Turning Sound into Numbers: Sampling and Bit DepthIntel's hardware video encoding and decoding feature. It uses the media engine in integrated graphics.
Ch. 13 · Hardware Encoders by Vendor: NVENC, Quick Sync, AMF, VideoToolbox, and MobileA curve connecting points that show the relationship between bitrate (file size) and quality. The raw material for BD-rate.
Ch. 11 · Computing BD-rate from Your Own DataAn approach in which a company holding patents essential to a standard promises to license them on reasonable and non-discriminatory terms. Royalties may be attached.
Ch. 22 · Patent Pools: A Way to Consolidate the CounterAn HTTP way to request only part of a file. Used for seeking and reading the end of a file.
Ch. 16 · faststart: Why moov Needs to Come FirstAn algorithm that dynamically adjusts QP to hit a target bitrate or quality.
Ch. 3 · Quantization and QP in Video Coding: Where the Loss HappensThe fundamental trade-off between bit usage (R) and quality loss (D).
Ch. 2 · Rate-Distortion Optimization (RDO) and the Lagrangian Cost J = D + λRRate-Distortion Optimization. The encoder algorithm that finds the decision minimizing J.
Ch. 2 · Rate-Distortion Optimization (RDO) and the Lagrangian Cost J = D + λRFinishing the encode in no more time than the video's length. A prerequisite for live streaming and recording.
Ch. 13 · How They Differ from Software: Trends in Speed, Power, and QualityThe input file conditions a platform publishes in its official help pages. They change often, so check right before you upload.
Ch. 21 · Recommended Specs by Platform: Get the Numbers from Official Help PagesThe feedback path inside the encoder that mimics the decoder exactly.
Ch. 3 · What Is Hybrid Video Coding? The Blueprint Behind Every Modern CodecThe video used as the baseline for comparison. Usually the source before encoding.
Ch. 11 · PSNR, SSIM, and VMAF: What Each Metric Sees and MissesChanging only the container without re-encoding the streams.
Ch. 12 · Audio Compatibility by Container, and How to CheckThe phenomenon where decoding order and display order differ because of B-frames.
Ch. 16 · Timestamps: PTS, DTS, and TimebaseAn x265 option. Repeats the VPS, SPS and PPS headers at every keyframe.
Ch. 14 · Encoding 10-bit HDR10 with x265The difference between the original and the prediction. The actual target of transform, quantization, and entropy coding.
Ch. 3 · Intra Prediction Explained: How Codecs Predict Within a FrameThe number of luma samples across and down.
Ch. 1 · Pixels, Resolution, and Frame Rate: How Digital Video Is Stored as NumbersServing different image files depending on screen size, pixel ratio, and supported formats. Built from picture, srcset, and sizes.
Ch. 20 · Wrap-up and Checklist: Audit Your Site's Images in One PassHandBrake's Constant Quality value (Rate Factor). For x264 and x265 it is known to be passed straight through as the encoder's CRF. To find the equal-VMAF value for another codec, use the tool 'HandBrake RF to FFmpeg CRF Conversion Chart'.
Ch. 18 · CRF vs. 2-pass vs. CQ: What Do You Fix?Ripples or halos around sharp edges. They come from quantization of high-frequency components or from excessive sharpening or resizing.
Ch. 19 · Ringing and Mosquito Noise: Ripples Around EdgesA retransmission-based reliable transport specification created by the Video Services Forum.
Ch. 15 · SRT, RIST, and RTMP: Protocols for the Ingest LegA technique that compresses runs of the same value (especially 0) into a count.
Ch. 4 · JPEG Zig-Zag Scan, Run-Length Encoding and EOB ExplainedA licensing model that lets you use the technology without paying fees. The core principle of AV1 (Chapter 7).
Ch. 6 · HEVC Patent Pools Explained: Why H.265 Didn't Replace H.264The data unit that carries Dolby Vision's per-scene metadata.
Ch. 14 · HDR10, HDR10+, and Dolby Vision: The Metadata DiffersResidual Quad-Tree. The TU's own quadtree partitioning inside a CU.
Ch. 6 · What Are CTUs and Quadtrees? How HEVC Splits Video for 4KAn old TCP-based real-time ingest protocol. Many live platforms support it as their ingest entry point.
Ch. 15 · SRT, RIST, and RTMP: Protocols for the Ingest LegThe time a packet takes to go out and come back. It is the yardstick for sizing buffers in retransmission-based protocols.
Ch. 15 · Where Latency Comes From: The Pipeline at a GlanceA way of comparing size or time at the point where each setting reaches the same VMAF, rather than at the same setting value such as CRF.
Ch. 18 · Choosing a Preset: The Value That Trades Time for SizeOne number of one component (Y, Cb, or Cr). The basic unit in codec documents.
Ch. 1 · Pixels, Resolution, and Frame Rate: How Digital Video Is Stored as NumbersA table inside moov listing each sample's size, position, time, and whether it is a keyframe.
Ch. 16 · MP4 Is a Tree of Boxes: ftyp, moov, mdatSamples per second (Hz). The highest frequency you can reconstruct is half this value.
Ch. 12 · Turning Sound into Numbers: Sampling and Bit DepthHEVC's filter. Corrects brightness bias and ringing with band/edge offsets.
Ch. 3 · In-Loop Filters Explained: Deblocking, SAO and ALFThe width-to-height ratio of a single pixel. Stored as a tag. setsar changes only this tag.
Ch. 17 · Cropping and Padding: crop, pad, and SARSum of absolute differences in the transformed domain. A metric for quickly narrowing down mode candidates.
Ch. 3 · Intra Prediction Explained: How Codecs Predict Within a FrameThe range where lowering CRF barely raises VMAF and only increases the size. It shows up at low CRF on easy videos.
Ch. 18 · How to Decide: Run a Short Test on Your Own VideoA technique where the decoder reconstructs the high-frequency band from the low frequencies.
Ch. 12 · Comparing Lossy Codecs: MP3, AAC (LC/HE), and OpusThe property that lets you pick resolution and quality hierarchically from a single compressed stream.
Ch. 4 · JPEG 2000 and Wavelets: Why It Never Replaced JPEGFFmpeg's basic resolution-changing filter. -1 and -2 keep the aspect ratio, flags selects the algorithm, and in_range/out_range sets the range.
Ch. 17 · Size and Frame Rate: scale, zscale, fpsA set of coding tools for synthetic video such as text and UI. Pairs with 4:4:4.
Ch. 1 · What Is Chroma Subsampling? 4:2:0 vs 4:4:4 vs 4:2:2 ExplainedAn encoder feature that inserts an extra keyframe when the scene changes. Turn it off if you need a fixed GOP.
Ch. 15 · Live Encoding Settings: zerolatency and Keyframe IntervalStandard Dynamic Range. The traditional spec with a narrow light-to-dark span. Reference white about 100 nit.
Ch. 1 · SDR vs HDR: Gamma, PQ, and HLG Transfer Functions ExplainedAuxiliary information that has no bearing on compression but is needed for playback, such as static HDR metadata like MaxCLL/MaxFALL.
Ch. 5 · H.264 Macroblocks and NAL Units Explained: SPS, PPS and SlicesA server architecture that receives streams from multiple participants and forwards them to the participants who need them, without re-encoding.
Ch. 15 · WebRTC: Real-Time Delivery Aiming for Under a SecondSupplementary information that ffmpeg/ffprobe attaches to frames and streams and displays. HDR mastering info shows up here too.
Ch. 14 · HDR Encoding with SVT-AV1, and What You Must VerifyAn optional index that gathers the times and positions of fragments. Used for seeking.
Ch. 16 · fMP4: MP4 Split into Fragments (moof + mdat)A method where the sender uploads several versions at different qualities at once and the server picks the right one for each viewer.
Ch. 15 · WebRTC: Real-Time Delivery Aiming for Under a SecondAn attribute that tells the browser the width the image will take up on screen. Used to choose among srcset's w candidates.
Ch. 20 · picture and srcset: The Right File for the Right ScreenIn ffmpeg options and ffprobe output, PQ is written smpte2084 and HLG is written arib-std-b67.
Ch. 14 · The HDR Pipeline at a Glance: PQ and HLG RevisitedSubtitles stored as a separate track. They can be turned on and off in the player.
Ch. 17 · Burning In Subtitles: subtitles, ass, overlayA decoding program that runs on the CPU. Flexible, but costs power and heat.
Ch. 10 · Hardware vs. Software Video Decoding: Why New Codecs Take Years to ArriveAn encoding program that runs on the CPU (x264, x265, SVT-AV1, and so on). Flexible, but computationally heavy.
Ch. 13 · What Is a Hardware Encoder? Handing Encoding to Dedicated CircuitryA file made at high quality on the assumption that it will be re-encoded for final distribution.
Ch. 21 · Why Platforms Re-encode Your VideoSequence-level and picture-level configuration. Required to initialize the decoder. The VUI (the three CICP values) lives inside the SPS.
Ch. 5 · H.264 Macroblocks and NAL Units Explained: SPS, PPS and SlicesAn img/source attribute that lists several resolution (or pixel-ratio) candidates for the same image.
Ch. 20 · picture and srcset: The Right File for the Right ScreenAn open-source ingest protocol that provides retransmission and encryption over UDP. The latency parameter sets the recovery time.
Ch. 15 · SRT, RIST, and RTMP: Protocols for the Ingest LegA metric that compares luminance, contrast, and structure. Correlates better with perception than PSNR.
Ch. 2 · PSNR vs SSIM: Measuring Video Quality With NumbersThe FFmpeg mode (-c copy) that moves packets over as they are, without decoding or encoding. There is no quality loss.
Ch. 16 · Reading Structure with ffprobe, and What Remuxing Can and Can't DoA secret string that identifies the channel you stream to. If it's exposed, others can stream to your channel, so don't share it.
Ch. 15 · OBS Streaming Settings: Understand the Why, Don't Memorize the ValuesA technique that uses filters to create values at virtual positions between whole pixels.
Ch. 3 · Inter Prediction and Motion Compensation: How Video Compresses TimeThe top-level partitioning unit of VP9/AV1 (64×64 / 128×128).
Ch. 3 · Block Partitioning in Video Codecs: Macroblocks, Quadtrees and QTBTA table, published by the manufacturer, of the codecs and features each chip model supports. The final authority on hardware support.
Ch. 13 · Checking Codec Support by Generation: How Do You Know What Works?A fast, parallel AV1 encoder developed by Intel and Netflix.
Ch. 7 · AV1 Encoders and Adoption: libaom vs SVT-AV1, rav1e and dav1dWriting the interpretation info (color gamut, transfer function, matrix, etc.) into the file. The first step in preventing HDR accidents.
Ch. 14 · Common Mistakes: Why Colors Look Washed OutConversion between 24 fps and 29.97 fps, and its reversal.
Ch. 1 · Interlaced vs Progressive Video: Deinterlacing and Telecine ExplainedThe 3:2 pulldown that moves 24 fps video onto the 29.97 fps TV standard, and the processing that restores the original frames.
Ch. 17 · Deinterlacing: yadif and bwdifA procedure where, before uploading the real video, you upload a short clip as private or similar to check how the platform processes it.
Ch. 21 · Wrap-up and Pre-upload ChecklistA further split inside each HEVC or AV1 level, with Main and High variants. In a codecs string HEVC writes it as L or H, and AV1 as M or H.
Ch. 18 · Recipe 2: Web Embedding and Messenger SharingA technique that splits a frame into rectangular regions that can be decoded independently, for parallel processing. Covered in earnest in Chapter 6.
Ch. 5 · Limits of H.264: Why the Industry Moved On to HEVC, AV1 and VVCA fraction (for example, 1/90000) that says how many seconds one integer tick of a timestamp is.
Ch. 16 · Timestamps: PTS, DTS, and TimebaseHow many ticks a container divides one second into. A device that avoids error through integer arithmetic.
Ch. 1 · Pixels, Resolution, and Frame Rate: How Digital Video Is Stored as NumbersRearranging brightness to fit a display with a different range.
Ch. 1 · SDR vs HDR: Gamma, PQ, and HLG Transfer Functions ExplainedAn individual stream inside a container (video, audio, subtitles, and so on).
Ch. 10 · Container vs. Codec: What's the Difference Between MP4 and H.264?Decoding already-compressed video and compressing it again with different settings. It's what a platform does to your uploaded file.
Ch. 21 · Why Platforms Re-encode Your VideoA mode that skips the DCT transform itself in flat-color regions.
Ch. 9 · Screen Content Coding (SCC) Explained: Palette Mode, IBC and Sharp TextThe maximum value, including peaks that occur between samples, estimated by oversampling.
Ch. 12 · Loudness Standards: LUFS, EBU R128, and ffmpeg loudnormA way to upload without making the video public so you can test the processing result. The exact names and behavior differ by platform.
Ch. 21 · Recommended Specs by Platform: Get the Numbers from Official Help PagesThe time the process actually spent on the CPU. In this site's measurements, it is used for preset comparisons instead of elapsed time, which fluctuates under IDLE priority.
Ch. 18 · Choosing a Preset: The Value That Trades Time for SizeA common API on Linux for calling video circuits on Intel, AMD, and others.
Ch. 13 · Hardware Encoders by Vendor: NVENC, Quick Sync, AMF, VideoToolbox, and MobileA decoder buffer model used to limit the instantaneous bitrate. ffmpeg's -maxrate/-bufsize correspond to it.
Ch. 15 · Live Encoding Settings: zerolatency and Keyframe IntervalVideo whose frame spacing is not constant. A common cause of mismatched frame counts.
Ch. 11 · Measurement Pitfalls: Resolution, Frame Alignment, and Color RangeVideo whose frame intervals are not constant. It shows up in screen recordings and some smartphone footage.
Ch. 21 · Building the Source, Part 1: High Quality, Same Resolution and Frame RateA bit signaling whether the full 0–255 is used or it's limited to 16–235.
Ch. 1 · RGB vs YCbCr (YUV): Why Video Codecs Separate Brightness From ColorApple's framework for hardware encoding and decoding on its platforms.
Ch. 13 · Hardware Encoders by Vendor: NVENC, Quick Sync, AMF, VideoToolbox, and MobileVisual Information Fidelity. A VMAF input feature that measures how much detail is preserved relative to the original.
Ch. 2 · What Is VMAF? Netflix's Perceptual Video Quality Metric ExplainedVideo Multimethod Assessment Fusion. An ML-based perceptual quality metric made by Netflix. 0–100.
Ch. 2 · What Is VMAF? Netflix's Perceptual Video Quality Metric ExplainedA conservative version that prevents scores from being inflated by sharpening and the like.
Ch. 2 · What Is VMAF? Netflix's Perceptual Video Quality Metric ExplainedA model that assumes watching a 4K TV from 1.5 times the screen height.
Ch. 11 · Choosing a VMAF Model: Default, Phone, 4K, and NEGThe default model in libvmaf. Every measurement on this site uses this model.
Ch. 11 · Choosing a VMAF Model: Default, Phone, 4K, and NEGA filter that multiplies the audio volume or adjusts it in dB. Different from loudnorm, which matches a target loudness.
Ch. 17 · Audio Filter Basics and a Filter ChecklistAn open lossy audio codec from the Ogg family. The generation before Opus.
Ch. 12 · Audio Compatibility by Container, and How to CheckA royalty-free video codec Google released in 2013. The direct predecessor of AV1.
Ch. 7 · What Is VP9? Google's Royalty-Free Codec and Its Road to AV1The area inside the bitstream where the color gamut, transfer function, matrix, and similar information is written.
Ch. 14 · Encoding 10-bit HDR10 with x265The latest ITU-T/MPEG video codec, standardized in 2020.
Ch. 8 · What is VVC (H.266)? How QTBT+T Delivers Its Efficiency GainAn open-source encoder with practical speed, and the standard's reference software, respectively.
Ch. 8 · What is VVC (H.266)? How QTBT+T Delivers Its Efficiency GainAn affine motion compensation technique that includes rotation, zoom, and so on.
Ch. 7 · AV1 Superblocks, Partition Types and Warped Motion ExplainedA transform that decomposes an image into multi-resolution approximation/detail components. An alternative to the DCT.
Ch. 4 · JPEG 2000 and Wavelets: Why It Never Replaced JPEGWide Color Gamut. Gamuts wider than 709, such as BT.2020 and P3.
Ch. 1 · Color Gamut Explained: BT.601 vs BT.709 vs BT.2020A technology for real-time audio, video, and data transfer between browsers. It is based on RTP over UDP.
Ch. 15 · WebRTC: Real-Time Delivery Aiming for Under a SecondA technique that applies a brightness weight to the reference frame, for fades and similar scenes.
Ch. 5 · H.264 Prediction Tools: Intra Modes, Multiple Reference Frames, Weighted PredictionThe coordinate defined as 'white.' Mostly D65 at 6504K.
Ch. 1 · Color Gamut Explained: BT.601 vs BT.709 vs BT.2020The single frame with the lowest per-frame score. It reveals momentary breakdowns hidden behind the average.
Ch. 11 · The Average Trap: Low Percentiles and Minimum VMAFA procedure that looks at the bottom 5% and minimum VMAF along with the mean VMAF, to confirm that some frames haven't collapsed badly.
Ch. 18 · How to Decide: Run a Short Test on Your Own VideoWavefront Parallel Processing. A technique that decodes rows in parallel with a slight offset between them. Covered in earnest in Chapter 6.
Ch. 5 · Limits of H.264: Why the Industry Moved On to HEVC, AV1 and VVCA widely used deinterlacing filter. mode 0 keeps the frame rate, and mode 1 outputs one frame per field, doubling the frame rate.
Ch. 17 · Deinterlacing: yadif and bwdifA bundle of tuning options in x264 and similar encoders that turns off B-frames, lookahead, and so on to cut the encoder's own latency.
Ch. 15 · Live Encoding Settings: zerolatency and Keyframe IntervalThe order that unfolds 2D DCT coefficients into 1D from low frequency to high frequency.
Ch. 4 · JPEG Zig-Zag Scan, Run-Length Encoding and EOB ExplainedAn ffmpeg filter based on libzimg. It handles color gamut, transfer function, matrix, and range conversion, plus high-quality scaling.
Ch. 14 · HDR to SDR Tone Mapping: zscale and tonemap