AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

Video Comparer

Compares two videos and generates an interactive, self-contained HTML report with PSNR/SSIM metrics and frame-by-frame visuals.

Image & VideoIntermediate★ 1,323⑂ 212AI score 9/10Last updated: Aug 8, 2026

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

  1. python3 scripts/compare.py original.mp4 compressed.mp4 — produces the default comparison.html
  2. python3 scripts/compare.py original.mp4 compressed.mp4 --interval 10 -o report.html — fewer frames for faster runs, custom output name
  3. 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI 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.

  1. Install FFmpeg first: macOS brew install ffmpeg, Ubuntu/Debian sudo apt update && sudo apt install ffmpeg, Windows winget install ffmpeg.
  2. Confirm Python 3.8+ with python3 --version.
  3. Clone the repo: git clone https://github.com/daymade/claude-code-skills.git
  4. Copy the skill folder: mkdir -p ~/.claude/skills && cp -r claude-code-skills/video-comparer ~/.claude/skills/
  5. Restart Claude Code, then ask something like "compare the quality of these two videos before and after compression".
  6. For files larger than 500MB, edit the MAX_FILE_SIZE_MB constant at the top of scripts/compare.py.