Ch. 2 · Principles of Compression

한국어日本語
7 min

What Is VMAF? Netflix's Perceptual Video Quality Metric Explained

VMAF is Netflix's machine-learning quality score from 0 to 100. See how it fuses VIF and DLM, how to read scores, and where it falls short.

VMAF (Video Multimethod Assessment Fusion) is a quality metric Netflix released in 2016. As the name says, it fuses multiple metrics.

The idea behind VMAF

If one PSNR or one SSIM isn't enough, look at several at once and use machine learning (SVM regression) to learn weights that best match actual human ratings (subjective evaluation, MOS).

VIF (detail kept) DLM (detail loss) Temporal difference SVM regression (trained on human ratings) VMAF score 0 (worst) ~ 100 (identical to the original)
The structure of VMAF — several elementary metrics are fused by a trained model to predict human ratings
VMAF scorePerceived quality
93 or higherVisually almost indistinguishable from the original (top-tier streaming quality target)
80 ~ 93Good. The target range for most streaming services
60 ~ 80Degradation is noticeable. Lower rungs of a low-bandwidth mobile ladder
Below 60Clear quality degradation
In the field — why VMAF became the standard

Netflix open-sourced VMAF (GitHub Netflix/vmaf) and keeps retraining it on large-scale subjective-evaluation data. As a result, the whole industry uses it as a common language, from BD-rate comparisons and encoder tuning to codec standardization meetings (MPEG/AOM). If your ffmpeg is built with the libvmaf filter enabled, you can compute it right away in practice.

VMAF isn't a cure-all either

① Its training data centers on Netflix content (mostly 4K/HD live action), so accuracy can drop on animation, game footage, and low resolutions. ② There's a separate NEG (No Enhancement Gain) mode — a version meant to stop scores from being 'gamed' by sharpening and other tricks that create detail the original never had. ③ There are separate models for different uses (a 4K model, a phone model, a NEG model, and so on), so when comparing, always check that you're using the same model version.

How VMAF is used in practice can be seen in our CRF size-and-quality measurement. It encodes the same clips with three encoders and measures VMAF, and the CRF that matches a VMAF you want can be looked up with the CRF recommender. Choosing a model, the average trap, and other ways to use VMAF properly are covered in detail in Chapter 11.

VMAFVMAF

Video Multimethod Assessment Fusion. An ML-based perceptual quality metric made by Netflix. 0–100.

MOSMean opinion score

Mean Opinion Score. Rating scores given by real people. The answer key for training VMAF.

VMAF NEGVMAF NEG

A conservative version that prevents scores from being inflated by sharpening and the like.

VIFVisual information fidelity

Visual Information Fidelity. A VMAF input feature that measures how much detail is preserved relative to the original.

DLMDetail loss metric

Detail Loss Metric. A VMAF input feature that measures the amount of detail lost.

Check yourself

What does VMAF do better than using PSNR or SSIM alone?