video-comparer

Compares two video files for compression quality differences using FFmpeg and FFprobe, generating interactive HTML reports with PSNR/SSIM metrics and frame-by-frame views.

276|46|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/nicepkg/ai-workflow --skill video-comparer-nicepkg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: video-comparer
Source: https://github.com/nicepkg/ai-workflow/tree/main/workflows/video-creator-workflow/.claude/skills/video-comparer
Command: npx skills add https://github.com/nicepkg/ai-workflow --skill video-comparer-nicepkg

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps you analyze and compare video compression quality, identify differences between original and compressed versions, and understand the impact of encoding on visual fidelity.

Core Features & Use Cases

  • Video Analysis: Extracts metadata like codec, resolution, bitrate, and duration.
  • Quality Metrics: Calculates PSNR and SSIM to quantify visual differences.
  • Interactive Reports: Generates self-contained HTML reports with frame-by-frame comparisons (slider, side-by-side, grid views).
  • Use Case: You've compressed a video for social media and want to ensure the quality is still good. Use this Skill to compare the original high-quality video with the compressed version, getting objective metrics and visual examples of any degradation.

Quick Start

Compare the video 'original.mp4' with 'compressed.mp4' and save the report as 'comparison.html'.

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 compression quality between an original and a compressed file?

To compare video compression quality, you can calculate PSNR and SSIM metrics and generate a frame-by-frame visual comparison. This process outputs an interactive HTML report highlighting visual fidelity differences between the original and encoded files.

How does PSNR and SSIM calculation work for analyzing video encoding differences?

PSNR and SSIM calculation works by analyzing corresponding frames between two video files to quantify visual degradation. These metrics extract objective measurements of compression impact, which are then compiled into a detailed interactive HTML report.

Do I need FFmpeg and FFprobe installed to generate a video comparison HTML report?

Yes, you need FFmpeg and FFprobe installed to generate a video comparison HTML report. These dependencies are required for extracting video metadata, decoding frames, and performing the underlying video processing and analysis.

What is the best way to visually inspect frame-by-frame video degradation after encoding?

The best way to visually inspect frame-by-frame video degradation is by generating an interactive HTML report. This report provides multiple viewing modes including slider, side-by-side, and grid views to clearly identify compression artifacts.

Can I extract video metadata like codec, resolution, and bitrate before calculating visual differences?

Yes, you can extract video metadata like codec, resolution, bitrate, and duration before calculating visual differences. The analysis combines this extracted metadata with PSNR and SSIM metrics to provide a comprehensive overview of encoding impacts.

Why does my compressed video show visual degradation compared to the original source?

Your compressed video shows visual degradation because the encoding process discards data to reduce file size. Analyzing the degree of degradation requires calculating PSNR and SSIM metrics to objectively quantify the loss of visual fidelity.