Agent skill · creative production · daymade
video-comparer
This skill should be used when comparing two videos to analyze compression results or quality differences. Generates interactive HTML reports with quality metrics (PSNR, SSIM) and frame-by-frame visual comparisons. Triggers when users mention "compare videos", "video quality", "compression analysis", "before/after compression", or request quality assessment of compressed videos.
Why this skill is useful
Adds an executable script for video comparison that generates detailed HTML reports with quality metrics and visual comparisons not available in standard tools.
What it needs
Requires ffmpeg, python installed locally. About 3k tokens when loaded. Last updated 2026-08-07. 1,320 stars on the source repository.
What this skill does
Video Comparer Overview Compare two videos and generate an interactive HTML report analyzing compression results. The script extracts video metadata, calculates quality metrics (PSNR, SSIM), and creates frame-by-frame visual comparisons with three viewing modes: slider, side-by-side, and grid. When to Use This Skill Use this skill when: Comparing original and compressed videos Analyzing video compression quality and efficiency Evaluating codec performance or bitrate reduction impact Users mention "compare videos", "video quality", "compression analysis", or "before/after compression" Core Usage Basic Command Generates comparison.html with: Video parameters (codec, resolution, bitrate, duration, file size) Quality metrics (PSNR, SSIM, size/bitrate reduction percentages) Frame-by-frame comparison (default: frames at 5s intervals) Command Options Requirements System Dependencies FFmpeg and FFprobe (required for video analysis and frame extraction): Python 3.8+ (uses type hints, f-strings, pathlib) Video Specifications Supported formats: .mp4 (recommended), .mov, .avi, .mkv, .webm File size limit: 500MB per video (configurable) Processing time: ~1-2 minutes for typical videos; varies by duration and frame interval Script Behavior Automatic Validation The script automatically validates: FFmpeg/FFprobe installation and availability File existence, extensions, and size limits Path security (prevents directory traversal) Clear error messages with resolution guidance appear when validation fails. Quality Metrics The script calculates two standard quality metrics: PSNR (Peak Signal-to-Noise Ratio): Pixel-level similarity measurement (20-50 dB scale, higher is better) SSIM (Structural Similarity Index): Perceptual similarity measurement (0.0-1.0 scale, higher is better) For detailed interpretation scales and quality thresholds, consult references/videometrics.md. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills daymade/video-comparer