Installation
Run directly
Add to flake
Usage
Compare two videos
Compare a distorted video against a reference:Calculate VMAF score
VMAF (Video Multimethod Assessment Fusion) is a perceptual video quality metric:Calculate multiple metrics
Calculate PSNR, SSIM, and VMAF:Export results to JSON
Supported metrics
PSNR (Peak Signal-to-Noise Ratio)
PSNR (Peak Signal-to-Noise Ratio)
Measures the ratio between the maximum possible signal power and the power of corrupting noise. Higher values indicate better quality. Typical values range from 30-50 dB.
SSIM (Structural Similarity Index)
SSIM (Structural Similarity Index)
Measures the perceived quality based on structural information. Values range from 0 to 1, where 1 indicates perfect similarity.
VMAF (Video Multimethod Assessment Fusion)
VMAF (Video Multimethod Assessment Fusion)
Netflix’s perceptual video quality metric. Scores range from 0-100, with higher values indicating better quality. Scores above 95 are considered excellent.
VIF (Visual Information Fidelity)
VIF (Visual Information Fidelity)
Measures the amount of information that could theoretically be extracted from the reference image. Values range from 0 to 1.
