Video Comparer
Compares two videos and generates an interactive, self-contained HTML report with PSNR/SSIM metrics and frame-by-frame visuals.
What it does
Given two video files, it uses FFmpeg/FFprobe to pull metadata (codec, resolution, bitrate, duration, file size), computes PSNR and SSIM quality metrics, and reports size/bitrate reduction percentages. The output is a self-contained HTML report with slider, side-by-side, and grid viewing modes plus 50–200% zoom, viewable offline without a server.
- Extracts frames at a configurable interval (default 5s) for visual diffing
- Auto-validates FFmpeg availability, file existence, extensions, size limits, and path safety
- Emits actionable error messages for common failure cases
Who it's for
- Developers running video compression pipelines who need quantitative quality evidence
- Video engineers and editors benchmarking codec or bitrate settings
- Content producers who must show clients a before/after compression report
Examples
python3 scripts/compare.py original.mp4 compressed.mp4— produces the defaultcomparison.htmlpython3 scripts/compare.py original.mp4 compressed.mp4 --interval 10 -o report.html— fewer frames for faster runs, custom output name- Loop over a directory to batch-compare many original/compressed pairs into a
reports/folder
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/daymade/claude-code-skills/HEAD/video-comparer/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the video-comparer folder from the GitHub repo daymade/claude-code-skills into my ~/.claude/skills/video-comparer/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/daymade/claude-code-skills.git && mkdir -p ~/.claude/skills && cp -r claude-code-skills/video-comparer ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Install FFmpeg first: macOS
brew install ffmpeg, Ubuntu/Debiansudo apt update && sudo apt install ffmpeg, Windowswinget install ffmpeg. - Confirm Python 3.8+ with
python3 --version. - Clone the repo:
git clone https://github.com/daymade/claude-code-skills.git - Copy the skill folder:
mkdir -p ~/.claude/skills && cp -r claude-code-skills/video-comparer ~/.claude/skills/ - Restart Claude Code, then ask something like "compare the quality of these two videos before and after compression".
- For files larger than 500MB, edit the
MAX_FILE_SIZE_MBconstant at the top ofscripts/compare.py.