Ch. 11 · Measuring Video Quality in Practice

한국어日本語
7 min

Choosing a VMAF Model: Default, Phone, 4K, and NEG

A VMAF score is tied to the model that measured it. Each model assumes different viewing conditions, so you shouldn't mix them in one comparison.

VMAF is a trained model, so the viewing conditions it was trained to assume are built into the score. The same pair of videos gets different scores from different models. In practice you will run into four main models.

ModelHow to specify it in ffmpegAssumption / use
Default modelversion=vmaf_v0.6.1 (this is the default if you leave it out)Assumes viewing a 1080p display from a typical distance. The most widely used baseline
4K modelversion=vmaf_4k_v0.6.1Built to predict subjective quality when watching a 4K TV from 1.5 times the screen height
Phone modelenable_transform=true on the default modelA transform option that reflects viewing on a phone screen. It is a mode applied to the model, not a separate model file
NEG modelversion=vmaf_v0.6.1neg"No Enhancement Gain." A version built so that scores inflated by sharpening or contrast enhancement are not rewarded

Option names have changed across libvmaf and FFmpeg versions (for example, the old phone_model option was deprecated and replaced by enable_transform). Check the exact options in your build with ffmpeg -h filter=libvmaf.

The core rule: compare within the same model

If you mix scores from the default model with scores from the 4K model or phone mode in one table, the comparison doesn't hold. All of this site's measurement articles use the default model (vmaf_v0.6.1), so only scores measured with the same model should be read against each other. When you borrow VMAF numbers from another article or paper, check the model first.

When to use NEG

When an encoder or a preprocessing step makes the picture sharper (sharpening, contrast enhancement), the regular VMAF score can go up, because making something "crisper than the original" reads as a quality improvement. The NEG model is built so that this kind of enhancement doesn't count as a gain, so you use it when comparing encoder tuning results, to filter out settings that only raise the score.

In the field: measure two models in one run

libvmaf can compute several models in a single run. A common habit is to measure the default and NEG models together, and if the gap between the two scores is much wider than usual, suspect that sharpening may have inflated the score. The command is covered in the hands-on lesson 5.

The order for choosing a model

① What is the viewing environment (TV, phone, 4K)? ② Which model produced the existing numbers you want to compare with? ③ If you are comparing filters or preprocessing, measure NEG as well. If you aren't sure, standardize on the default model alone, and always write the model name in your report.

vmaf_v0.6.1VMAF default model

The default model in libvmaf. Every measurement on this site uses this model.

vmaf_4k_v0.6.1VMAF 4K model

A model that assumes watching a 4K TV from 1.5 times the screen height.

Phone model (enable_transform)Phone mode

A transform option that reflects phone viewing. The same video scores differently than with the default model.

NEGNo Enhancement Gain

A model version that does not count artificial enhancement such as sharpening as a score gain.

Check yourself

Is it OK to put a VMAF of 94 measured with the default model and a VMAF of 94 measured with the 4K model in the same table to compare codecs?