video-compare-tool

Compare two videos by computing PSNR and SSIM and generating an HTML report.

12|2|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/haomingz/kimi-skills --skill video-compare-tool
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: video-compare-tool
Source: https://github.com/haomingz/kimi-skills/tree/main/skills/video-compare-tool
Command: npx skills add https://github.com/haomingz/kimi-skills --skill video-compare-tool

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill analyzes two videos to quantify compression quality by calculating PSNR and SSIM and generating an interactive HTML report that makes editorial evaluation and decision-making faster.

Core Features & Use Cases

  • Extracts video metadata (codec, resolution, bitrate, duration) for quick assessment and comparison.
  • Computes PSNR and SSIM between original and compressed videos to quantify visual quality loss.
  • Generates an interactive HTML report with slider, side-by-side, and grid viewing modes for frame-by-frame inspection.
  • Use cases include evaluating encoder performance, auditing compression workflows, and comparing different encoding settings.

Quick Start

Run python3 scripts/compare.py original.mp4 compressed.mp4 to generate comparison.html.

Frequently Asked Questions about video-compare-tool

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

FAQPage Schema
How do I calculate PSNR and SSIM to compare video compression quality?

You can calculate PSNR and SSIM to compare video quality by running a Python script that processes original and compressed videos to quantify visual quality loss, generating an interactive HTML report for frame-by-frame inspection.

What is the best way to audit a video compression workflow?

Auditing a video compression workflow involves extracting video metadata and computing PSNR and SSIM metrics between original and compressed files to generate an HTML report, enabling quick assessment of encoder performance and visual quality loss.

Does FFmpeg support automated video quality comparison and reporting?

Yes, FFmpeg and FFprobe support automated video quality comparison by extracting frame data and metadata to compute PSNR and SSIM metrics, which can then be processed by a Python script to generate an interactive HTML report for editorial evaluation.

How do I generate an HTML report for side-by-side video frame inspection?

To generate an HTML report for side-by-side video frame inspection, run a Python comparison script that extracts frames and computes PSNR and SSIM metrics, producing an interactive HTML file with slider, side-by-side, and grid viewing modes for frame-by-frame evaluation.

Can I use this video quality comparison tool for automated pipelines?

Yes, this video quality comparison tool works for automated pipelines. It applies to encoder testing, bitrate optimization, and workflow auditing across desktop or automated pipelines by running Python scripts to compute PSNR and SSIM metrics and generate HTML reports automatically.