video-comparer

Compare original and compressed videos to quantify compression quality and artifacts.

1.3k|212|Updated Oct 22, 2025
One-click install
npx skills add https://github.com/daymade/claude-code-skills --skill video-comparer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: video-comparer
Source: https://github.com/daymade/claude-code-skills/tree/main/video-comparer
Command: npx skills add https://github.com/daymade/claude-code-skills --skill video-comparer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires httpx, markdown, ffmpeg, ffprobe, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill analyzes original vs. compressed videos, computing PSNR, SSIM, and VMAF-like metrics, and produces interactive HTML reports for visual comparison.

Core Features & Use Cases

  • Metadata extraction, quality metrics, and compression analysis
  • Interactive viewing modes (slider, side-by-side, grid)
  • Frame-based comparisons with zoom controls
  • Self-contained HTML reports suitable for offline sharing

Quick Start

  • Basic compare: python3 scripts/compare.py original.mp4 compressed.mp4

Frequently Asked Questions about video-comparer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compare video quality between original and compressed versions?

Video comparison quantifies compression quality by analyzing original and compressed files to compute PSNR and SSIM metrics, then generates an interactive HTML report displaying frame-by-frame visual differences across slider, side-by-side, and grid viewing modes for quality assessment.

What metrics does video comparison use to measure compression artifacts?

Video comparison applies PSNR and SSIM metrics to quantify compression quality and artifacts. These frame-by-frame measurements are embedded in interactive HTML reports, enabling detailed codec benchmarking and quality assessment workflows.

Can I use video comparison for batch analysis of multiple compressed videos?

Yes, video comparison supports batch analyses with configurable frame extraction intervals and heights. It generates self-contained HTML reports suitable for offline sharing, making it practical for processing multiple video pairs in codec benchmarking workflows.

How do I view and share video comparison results?

Video comparison outputs interactive HTML reports with metadata extraction, slider controls, side-by-side viewing, and grid modes for frame-based visual inspection. These self-contained reports are suitable for offline sharing without additional dependencies.

What are the security requirements when comparing videos with this tool?

Video comparison enforces path validation, avoids shell-based subprocess calls, applies resource limits, and includes robust error handling to ensure secure and reliable processing of original and compressed video files.

Does video comparison work with different video codecs and formats?

Video comparison relies on ffmpeg and ffprobe for codec-agnostic video processing, enabling analysis of videos compressed with different codecs. This supports flexible codec benchmarking and quality assessment across varied compression formats.