Claude Skill MartBrowse skillsWhat is a Skill?
Back to list

Video Comparer

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

Image & VideoIntermediate1,323212AI score 8/10Last updated: Aug 8, 2026

What it does

Give it two video files (typically an original and a compressed version) and it uses FFmpeg/FFprobe to pull metadata, compute quality metrics, and render everything into a single HTML report.

  • Video parameters: codec, resolution, bitrate, duration, file size
  • Quality metrics: PSNR (20–50 dB), SSIM (0–1), size and bitrate reduction percentages
  • Frame comparison: frames extracted every 5s by default, embedded as base64 so the report works offline
  • Three viewing modes: slider, side-by-side, grid — plus 50%–200% zoom
  • Built-in guardrails: path validation, no shell=True, file-size caps and FFmpeg timeouts

Who it's for

  • Engineers running a transcoding/compression pipeline who need measurable quality evidence
  • Media specialists benchmarking codecs (H.264 vs H.265) or bitrate ladders
  • Editors who must visually prove to clients that a compressed deliverable holds up

Examples

  1. Before/after check: python3 scripts/compare.py original.mp4 compressed.mp4, then open comparison.html and drag the slider
  2. Faster runs on long clips: add --interval 10 to sample fewer frames
  3. Batch QA: loop over a folder of originals and write one report per file into reports/

· · · Install guide · · ·

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 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 /tmp/claude-code-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-skills/video-comparer ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Install FFmpeg (required)
    • macOS: brew install ffmpeg
    • Ubuntu/Debian: sudo apt update && sudo apt install ffmpeg
    • Windows: winget install ffmpeg or download from ffmpeg.org
  2. Confirm Python 3.8+: python3 --version
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Clone the repo: git clone https://github.com/daymade/claude-code-skills.git /tmp/claude-code-skills
  5. Copy the skill: cp -r /tmp/claude-code-skills/video-comparer ~/.claude/skills/
  6. Restart Claude Code and say something like "compare these two videos" to trigger it.
  7. For files over 500MB, raise MAX_FILE_SIZE_MB (and possibly FFMPEG_TIMEOUT) at the top of scripts/compare.py.