FFmpeg Cookbook
Analyze Video Signal Statistics with the signalstats Filter
Use FFmpeg's signalstats filter to extract video signal statistics — luma/chroma min/max, RMS, and deltas. Covers broadcast QC, frame-level analysis, CSV export, and overlaying stats with drawtext.
Detect Black Frames — Find Scene Boundaries with blackdetect
Use FFmpeg's blackdetect filter to locate runs of black frames in a video. Covers black_min_duration and luminance thresholds, plus applications to commercial breaks and chapter detection.
FFmpeg Scene Detection - Find Cuts Automatically
Detect scene changes in video using FFmpeg's scdet and select filters. Covers tuning the detection threshold, reading scene-change timestamps, and extracting thumbnails at every cut.