Complete FFmpeg video analysis and quality control filters for automation and broadcast workflows. PROACTIVELY activate for: (1) Detecting black frames (blackdetect, blackframe), (2) Finding blurry/frozen frames (blurdetect, freezedetect), (3) Auto crop detection (cropdetect), (4) Scene change detection (scdet), (5) Interlace detection (idet), (6) Quality metrics (PSNR, SSIM, VMAF), (7) Signal analysis (signalstats), (8) Frame information logging (showinfo), (9) QC automation scripts, (10) Broadcast compliance checking. Provides: Detection filters, quality metrics, analysis commands, automation patterns.
View on GitHubJosiahSiegel/claude-plugin-marketplace
ffmpeg-master
plugins/ffmpeg-master/skills/ffmpeg-video-analysis/SKILL.md
January 20, 2026
Select agents to install to:
npx add-skill https://github.com/JosiahSiegel/claude-plugin-marketplace/blob/main/plugins/ffmpeg-master/skills/ffmpeg-video-analysis/SKILL.md -a claude-code --skill ffmpeg-video-analysisInstallation paths:
.claude/skills/ffmpeg-video-analysis/## CRITICAL GUIDELINES ### Windows File Path Requirements **MANDATORY: Always Use Backslashes on Windows for File Paths** When using Edit or Write tools on Windows, you MUST use backslashes (`\`) in file paths, NOT forward slashes (`/`). --- ## Quick Reference | Task | Filter | Command Pattern | |------|--------|-----------------| | Detect black frames | `blackdetect` | `-vf blackdetect=d=0.5:pic_th=0.98` | | Detect frozen frames | `freezedetect` | `-vf freezedetect=n=0.003:d=2` | | Detect blur | `blurdetect` | `-vf blurdetect=low=5:high=15` | | Auto crop | `cropdetect` | `-vf cropdetect=24:16:0` | | Scene changes | `scdet` | `-vf scdet=threshold=10` | | Quality metrics | `psnr`, `ssim` | `-lavfi "[0:v][1:v]psnr" -f null -` | | Frame info | `showinfo` | `-vf showinfo` | ## When to Use This Skill Use for **quality control and automation workflows**: - Automated video analysis pipelines - Detecting problematic frames (black, frozen, blurry) - Finding optimal crop parameters - Measuring quality after encoding - Broadcast compliance checking - Content-aware editing decisions --- # FFmpeg Video Analysis Filters (2025) Comprehensive guide to video analysis filters for quality control, automation, and professional workflows. ## Detection Filters ### blackdetect - Detect Black Frames Detects video sequences that are completely black, useful for finding commercial breaks, scene boundaries, or encoding issues. ```bash # Basic black detection ffmpeg -i input.mp4 -vf "blackdetect=d=0.5:pic_th=0.98:pix_th=0.10" -f null - # More sensitive detection (darker threshold) ffmpeg -i input.mp4 -vf "blackdetect=d=0.1:pic_th=0.90" -f null - # Save detection results to log ffmpeg -i input.mp4 -vf "blackdetect=d=0.5" -f null - 2>&1 | grep blackdetect # Detect and extract black segments ffmpeg -i input.mp4 -vf "blackdetect=d=2.0" -f null - 2>&1 | \ grep -oP 'black_start:\K[0-9.]+|black_end:\K[0-9.]+' ``` **Parameters:** | Parameter | Description | Default | Range | |----