Is Average VMAF 95 Good Enough? Worst-Frame and 5th-Percentile VMAF for x264, x265 and SVT-AV1
We encoded four 10-second 1080p25 clips with x264, x265 and SVT-AV1 at eight CRF values each, and measured mean VMAF together with 5th-percentile and minimum VMAF. Even at similar means, the gap between mean and minimum ranged from 2.275 to 16.717, and targeting a minimum of 90 instead of a mean of 95 required a lower CRF in 9 of 12 combinations.
The test PC, FFmpeg and VMAF settings shared by every lab article are collected on the methodology page. Methodology (common to all tests)
A high mean VMAF can hide much lower scores on the worst frames. In this test the gap between mean and minimum was 2.275 to 16.717. Targeting "minimum VMAF of 90 or higher" required a lower CRF than "mean of 95 or higher" in 9 of 12 combinations, and in 8 of them the file size was about 1.27x to 2.29x larger (interpolated estimates).
Why we ran this
"VMAF 95 is good enough" is a common rule of thumb. But that number is usually the average of per-frame scores. When most frames look good, the average can stay high even if a few frames fall apart. What viewers actually notice may be the momentary glitch, not the average, so we decided to measure how different the bad tail is when the averages are the same.
CRF, file size and VMAF compared (mostly about size and speed rankings) and Same CRF, Different Results both used mean VMAF as the yardstick. This article reads a similar measurement again with 5th-percentile and minimum VMAF as the main metrics.
Test setup
VMAF is a quality metric developed by Netflix. It compares the source and the encoded video frame by frame and scores each on a 0 to 100 scale. The closer to 100, the harder it is to tell the encode from the source, but the score is not a direct substitute for human judgment. In this article, mean is the average of the 250 frame scores, 5th percentile is the value at the 5% mark when scores are sorted from lowest (about the 12th-lowest frame out of 250), and minimum is the score of the single worst frame.
Encoder settings
Input was the original y4m, output was mkv, no audio. We substituted each value above for Q one at a time. Easy clips saturate at VMAF 99 or higher at low CRF, so we focus on the higher-CRF range.
Test clip sources and licenses
All four clips are 1080p25 footage made by TUM / Taurus Media Technik (2001), downloaded from the Xiph.org derf collection (media.xiph.org/video/derf/y4m/). The accompanying ReadMe_1080p.txt states "Restrictions of use: No restrictions" and "Copyright: No Copyright" (checked 2026-11-08).
Results by clip
In each curve the horizontal axis is file size (bitrate) and the vertical axis is mean VMAF. At the same height, the encoder further to the left reached the same mean quality at a smaller file size. The 5th-percentile and minimum VMAF are in the vmaf_p5 and vmaf_min columns of the tables below.
blue_sky — blue sky and tree branches
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| SVT-AV1 (AV1) | 24 | 7,862.2 kbps | 99.98 | 100.00 | 41.94 | 37.18 | 49.6 |
| SVT-AV1 (AV1) | 30 | 4,394.1 kbps | 99.98 | 100.00 | 40.71 | 39.75 | 50.2 |
| SVT-AV1 (AV1) | 36 | 2,635.2 kbps | 99.97 | 100.00 | 39.41 | 36.34 | 50.9 |
| SVT-AV1 (AV1) | 42 | 1,694.2 kbps | 99.93 | 99.75 | 38.17 | 35.36 | 53.7 |
| SVT-AV1 (AV1) | 48 | 1,196.3 kbps | 99.13 | 96.53 | 37.08 | 34.85 | 58.9 |
| SVT-AV1 (AV1) | 54 | 879.1 kbps | 96.86 | 92.62 | 36.07 | 31.29 | 60.8 |
| SVT-AV1 (AV1) | 58 | 646.9 kbps | 93.19 | 87.92 | 35.03 | 34.48 | 61.0 |
| SVT-AV1 (AV1) | 62 | 373.9 kbps | 84.00 | 77.26 | 32.98 | 28.2 | 69.4 |
| x264 (H.264) | 18 | 13,774.3 kbps | 99.98 | 100.00 | 41.95 | 17.36 | 40.7 |
| x264 (H.264) | 22 | 6,348.8 kbps | 99.98 | 100.00 | 40.24 | 23.43 | 29.7 |
| x264 (H.264) | 26 | 3,322 kbps | 99.94 | 100.00 | 38.30 | 30.09 | 23.5 |
| x264 (H.264) | 30 | 1,916.7 kbps | 98.22 | 93.78 | 36.15 | 37.44 | 20.1 |
| x264 (H.264) | 34 | 1,198.8 kbps | 89.85 | 83.34 | 33.78 | 43.75 | 16.6 |
| x264 (H.264) | 38 | 788.4 kbps | 76.26 | 68.30 | 31.30 | 48.36 | 15.4 |
| x264 (H.264) | 42 | 556.6 kbps | 59.49 | 49.50 | 28.78 | 50.41 | 14.5 |
| x264 (H.264) | 46 | 415.2 kbps | 41.35 | 34.21 | 26.28 | 52.61 | 13.8 |
| x265 (HEVC) | 20 | 8,874.1 kbps | 99.98 | 100.00 | 41.91 | 13.56 | 73.1 |
| x265 (HEVC) | 24 | 4,608.6 kbps | 99.97 | 100.00 | 40.32 | 19.62 | 50.9 |
| x265 (HEVC) | 28 | 2,481.5 kbps | 99.43 | 96.32 | 38.45 | 24.36 | 40.7 |
| x265 (HEVC) | 32 | 1,420.9 kbps | 95.76 | 88.56 | 36.36 | 29.23 | 33.2 |
| x265 (HEVC) | 36 | 827.9 kbps | 87.44 | 78.93 | 34.12 | 32.02 | 29.7 |
| x265 (HEVC) | 40 | 489.1 kbps | 75.05 | 66.21 | 31.74 | 35.65 | 26.5 |
| x265 (HEVC) | 44 | 276.2 kbps | 58.87 | 48.16 | 29.22 | 38.63 | 23.5 |
| x265 (HEVC) | 48 | 147.6 kbps | 40.58 | 31.24 | 26.59 | 37.82 | 23.5 |
pedestrian_area — pedestrian street
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| SVT-AV1 (AV1) | 24 | 5,153 kbps | 99.25 | 97.16 | 42.09 | 40.46 | 47.0 |
| SVT-AV1 (AV1) | 30 | 3,237.1 kbps | 98.31 | 95.61 | 41.46 | 39.16 | 53.0 |
| SVT-AV1 (AV1) | 36 | 2,090.5 kbps | 96.01 | 93.36 | 40.67 | 34.69 | 58.7 |
| SVT-AV1 (AV1) | 42 | 1,420.3 kbps | 92.31 | 89.39 | 39.77 | 38.36 | 55.1 |
| SVT-AV1 (AV1) | 48 | 967.3 kbps | 87.43 | 82.89 | 38.80 | 34.97 | 58.8 |
| SVT-AV1 (AV1) | 54 | 657.5 kbps | 81.17 | 75.03 | 37.62 | 34.42 | 60.3 |
| SVT-AV1 (AV1) | 58 | 466.2 kbps | 74.14 | 65.74 | 36.42 | 36.98 | 56.7 |
| SVT-AV1 (AV1) | 62 | 258.2 kbps | 60.64 | 49.13 | 34.19 | 41.22 | 53.4 |
| x264 (H.264) | 18 | 12,757.4 kbps | 99.40 | 97.15 | 42.27 | 14.19 | 52.0 |
| x264 (H.264) | 22 | 5,449.7 kbps | 97.51 | 94.43 | 41.05 | 19.14 | 38.5 |
| x264 (H.264) | 26 | 3,142.9 kbps | 92.47 | 89.70 | 39.57 | 24.01 | 33.3 |
| x264 (H.264) | 30 | 1,981.2 kbps | 84.21 | 81.33 | 37.85 | 24.59 | 29.7 |
| x264 (H.264) | 34 | 1,293 kbps | 72.17 | 69.63 | 35.94 | 27 | 27.6 |
| x264 (H.264) | 38 | 861.7 kbps | 57.08 | 54.27 | 33.94 | 42.74 | 20.1 |
| x264 (H.264) | 42 | 582 kbps | 39.30 | 36.57 | 31.70 | 43.02 | 18.8 |
| x264 (H.264) | 46 | 401 kbps | 24.76 | 21.52 | 29.35 | 33.94 | 18.8 |
| x265 (HEVC) | 20 | 6,375.6 kbps | 98.79 | 96.23 | 42.06 | 9.48 | 101.4 |
| x265 (HEVC) | 24 | 3,176.6 kbps | 96.27 | 93.45 | 40.85 | 13.42 | 73.5 |
| x265 (HEVC) | 28 | 1,873.7 kbps | 90.83 | 88.09 | 39.37 | 15.99 | 61.6 |
| x265 (HEVC) | 32 | 1,164.4 kbps | 82.22 | 79.53 | 37.63 | 18.24 | 53.4 |
| x265 (HEVC) | 36 | 731.7 kbps | 69.76 | 66.74 | 35.70 | 20.74 | 46.4 |
| x265 (HEVC) | 40 | 443.3 kbps | 53.88 | 49.99 | 33.60 | 24.71 | 39.7 |
| x265 (HEVC) | 44 | 264.1 kbps | 36.42 | 32.57 | 31.37 | 28.08 | 33.7 |
| x265 (HEVC) | 48 | 183 kbps | 21.39 | 16.92 | 29.23 | 31.01 | 29.0 |
riverbed — riverbed (fine ripples)
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| SVT-AV1 (AV1) | 24 | 24,572.7 kbps | 99.97 | 100.00 | 40.19 | 36.25 | 56.6 |
| SVT-AV1 (AV1) | 30 | 16,769.3 kbps | 99.96 | 100.00 | 38.94 | 37.62 | 54.6 |
| SVT-AV1 (AV1) | 36 | 11,186.6 kbps | 97.69 | 93.93 | 37.40 | 34.44 | 61.5 |
| SVT-AV1 (AV1) | 42 | 7,292.8 kbps | 89.76 | 83.41 | 35.76 | 26.58 | 84.3 |
| SVT-AV1 (AV1) | 48 | 4,730.9 kbps | 76.59 | 67.78 | 34.01 | 26.91 | 85.9 |
| SVT-AV1 (AV1) | 54 | 2,942.3 kbps | 61.51 | 52.03 | 32.18 | 22.66 | 100.5 |
| SVT-AV1 (AV1) | 58 | 1,900.1 kbps | 48.19 | 38.18 | 30.65 | 26.22 | 88.7 |
| SVT-AV1 (AV1) | 62 | 879.1 kbps | 28.75 | 17.67 | 28.25 | 29.42 | 78.7 |
| x264 (H.264) | 18 | 38,282.7 kbps | 99.97 | 100.00 | 40.87 | 11.63 | 89.7 |
| x264 (H.264) | 22 | 23,396.4 kbps | 99.94 | 100.00 | 38.69 | 12.71 | 82.4 |
| x264 (H.264) | 26 | 14,654.1 kbps | 95.24 | 93.48 | 36.49 | 14.22 | 73.7 |
| x264 (H.264) | 30 | 9,188.1 kbps | 81.34 | 79.28 | 34.26 | 16.43 | 64.4 |
| x264 (H.264) | 34 | 5,702.7 kbps | 62.65 | 59.81 | 31.98 | 19.36 | 52.4 |
| x264 (H.264) | 38 | 3,423.6 kbps | 43.12 | 39.89 | 29.57 | 20.33 | 41.0 |
| x264 (H.264) | 42 | 1,889.2 kbps | 28.33 | 25.50 | 27.01 | 21.13 | 31.2 |
| x264 (H.264) | 46 | 995.9 kbps | 22.16 | 19.38 | 25.16 | 21.05 | 26.2 |
| x265 (HEVC) | 20 | 24,234.5 kbps | 99.96 | 100.00 | 39.68 | 3.48 | 281.4 |
| x265 (HEVC) | 24 | 15,197.8 kbps | 97.00 | 93.72 | 37.69 | 4.09 | 240.3 |
| x265 (HEVC) | 28 | 9,535.6 kbps | 86.40 | 81.94 | 35.59 | 4.92 | 199.7 |
| x265 (HEVC) | 32 | 5,880.9 kbps | 71.63 | 66.24 | 33.45 | 5.98 | 164.3 |
| x265 (HEVC) | 36 | 3,424.3 kbps | 54.77 | 49.45 | 31.28 | 7.38 | 133.1 |
| x265 (HEVC) | 40 | 1,799.1 kbps | 38.37 | 33.28 | 29.16 | 8.64 | 112.1 |
| x265 (HEVC) | 44 | 868.8 kbps | 25.73 | 21.58 | 27.15 | 12.33 | 79.9 |
| x265 (HEVC) | 48 | 591.4 kbps | 22.88 | 20.22 | 25.90 | 19.26 | 50.4 |
rush_hour — evening rush-hour traffic
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| SVT-AV1 (AV1) | 24 | 4,763.2 kbps | 95.75 | 93.63 | 42.45 | 35.35 | 61.3 |
| SVT-AV1 (AV1) | 30 | 3,019 kbps | 93.29 | 90.90 | 41.85 | 36.89 | 57.8 |
| SVT-AV1 (AV1) | 36 | 1,883.2 kbps | 89.34 | 86.29 | 41.07 | 36.15 | 59.2 |
| SVT-AV1 (AV1) | 42 | 1,199.4 kbps | 84.48 | 80.30 | 40.20 | 37.08 | 57.7 |
| SVT-AV1 (AV1) | 48 | 776.3 kbps | 78.66 | 73.50 | 39.26 | 37.61 | 57.7 |
| SVT-AV1 (AV1) | 54 | 506.4 kbps | 72.38 | 66.53 | 38.24 | 36.81 | 60.0 |
| SVT-AV1 (AV1) | 58 | 350.6 kbps | 66.38 | 60.38 | 37.25 | 37.1 | 58.3 |
| SVT-AV1 (AV1) | 62 | 189.2 kbps | 55.38 | 48.37 | 35.45 | 40.82 | 53.0 |
| x264 (H.264) | 18 | 15,030.2 kbps | 97.17 | 95.82 | 42.64 | 13.68 | 62.6 |
| x264 (H.264) | 22 | 5,294.4 kbps | 93.69 | 91.91 | 41.58 | 20.26 | 41.9 |
| x264 (H.264) | 26 | 2,954.7 kbps | 88.42 | 86.33 | 40.48 | 27.43 | 32.3 |
| x264 (H.264) | 30 | 1,778.7 kbps | 80.57 | 77.94 | 39.10 | 35.15 | 25.7 |
| x264 (H.264) | 34 | 1,098.4 kbps | 69.83 | 66.73 | 37.41 | 42.33 | 21.2 |
| x264 (H.264) | 38 | 685.6 kbps | 56.42 | 52.75 | 35.42 | 45 | 18.2 |
| x264 (H.264) | 42 | 414.6 kbps | 41.99 | 37.73 | 33.10 | 46.66 | 15.4 |
| x264 (H.264) | 46 | 248.2 kbps | 29.03 | 24.90 | 30.59 | 48.23 | 13.6 |
| x265 (HEVC) | 20 | 5,922.2 kbps | 95.44 | 94.01 | 42.20 | 7.99 | 121.4 |
| x265 (HEVC) | 24 | 2,938.9 kbps | 91.64 | 89.72 | 41.28 | 11.16 | 87.3 |
| x265 (HEVC) | 28 | 1,644.7 kbps | 85.76 | 83.28 | 40.08 | 16.83 | 58.3 |
| x265 (HEVC) | 32 | 917.1 kbps | 76.91 | 73.68 | 38.54 | 21.55 | 45.6 |
| x265 (HEVC) | 36 | 504.8 kbps | 65.26 | 61.74 | 36.72 | 26.4 | 35.8 |
| x265 (HEVC) | 40 | 270.9 kbps | 51.04 | 46.88 | 34.60 | 29.79 | 29.4 |
| x265 (HEVC) | 44 | 153.5 kbps | 36.58 | 32.48 | 32.34 | 31.89 | 25.1 |
| x265 (HEVC) | 48 | 98.6 kbps | 23.49 | 19.41 | 30.15 | 33.53 | 22.9 |
How to read it, and what we saw
1. How low is the tail when the mean is about the same?
For each encoder and clip, we picked the point whose mean VMAF is closest to 90 out of the eight measured points. These are actual measurements, not interpolated, and mean − 5th percentile and mean − minimum are simply subtractions of the table values. Keep in mind that the mean levels are not exactly equal across points, ranging from 86.400 to 95.238.
SVT-AV1 at preset 6. Each row is the measured point of that encoder and clip whose mean is closest to 90.
- Mean − 5th percentile ranged from 1.760 to 8.514, and mean − minimum from 2.275 to 16.717. Even with means around 90, the 5th percentile was 78.927 to 93.478 and the minimum was 74.093 to 89.360.
- The clip had a large effect on the width of the tail. For rush_hour, mean − minimum was relatively narrow across all three encoders (2.275 to 7.395), while riverbed with x264 and SVT-AV1 had the widest gaps at 16.717 and 15.669. Notably, riverbed x264 at CRF 26 has a mean of 95.238, a point that "clears 95", yet its minimum was 78.521.
- Mean − minimum was always larger than mean − 5th percentile. The single worst frame falls lower than the 5th percentile. In this data, the difference between the two (mean − minimum minus mean − 5th percentile) ranged from 0.359 (rush_hour x265: 2.275 − 1.916) to 14.957 (riverbed x264: 16.717 − 1.760).
2. Does any encoder tend to have a worse tail?
Comparing mean − 5th percentile across the three encoders within each clip, the results did not point in one direction.
- The encoder with the largest mean − 5th percentile per clip was x265 for blue_sky (8.514) and SVT-AV1 for pedestrian_area, riverbed and rush_hour (2.920, 6.355, 3.052). Conversely, SVT-AV1's blue_sky value (5.270) was the smallest of the three encoders on that clip.
- Listing SVT-AV1's mean − 5th percentile by clip gives riverbed 6.355 > blue_sky 5.270 > rush_hour 3.052 > pedestrian_area 2.920. The largest is riverbed and the smallest is pedestrian_area.
- For pedestrian_area, the three encoders are almost the same at 2.745 to 2.920. Because the mean levels in the table above differ (86.400 to 95.238), comparisons between encoders carry some error.
- So no consistent pattern of one encoder's tail collapsing more relative to its mean shows up in this data. The differences between clips were more noticeable than the differences between encoders.
3. Mean 95 vs. minimum 90: how different is the CRF you need?
We found the CRF that satisfies "mean VMAF of 95 or higher" and the CRF that satisfies "even the worst frame at 90 or higher." The measured CRF values are 4 to 6 apart, so between two adjacent measured points we interpolated linearly in CRF, and interpolated file size on a log scale. All of these are estimates, not measurements. The lower the CRF at which the minimum reaches 90 compared with the CRF at which the mean reaches 95, the more file size it costs to protect the worst moments.
SVT-AV1 at preset 6. For rush_hour SVT-AV1, even the lowest CRF we measured (24) gave a minimum of 88.657, short of 90 (the mean there was 95.754), so the CRF at which the minimum reaches 90 is outside the measured range. The size ratio is the ratio of the log-interpolated file sizes at the two points. CRF differences are computed from the unrounded values, so they can differ by 0.1 from the difference of the two displayed numbers.
- In 9 of 12 cases, keeping the minimum at 90 required a lower CRF than a mean of 95. Of those, pedestrian_area x265 differed by only 0.1, so it was effectively the same; the other 8 required a CRF 1.7 to 9.4 lower. For those same 8, file size was about 1.27x to 2.29x larger.
- The biggest gaps were in riverbed. x264 went from CRF 26.1 to 19.1 (−6.9) for about 2.29x the file size, SVT-AV1 from 38.0 to 28.7 (−9.4) for about 1.88x, and x265 from 24.8 to 20.8 (−3.9) for about 1.58x.
- rush_hour was the opposite. With x264 and x265, hitting a mean of 95 already put the minimum above 90 (because mean − minimum is small). With SVT-AV1, at CRF 24, near a mean of 95, the minimum was 88.657, below 90, so the mean and minimum criteria diverge.
- SVT-AV1's CRF scale itself is wider, so the same "tail reinforcement" shows up as a larger CRF difference (−4.2 to −9.4). CRF numbers cannot be compared directly across encoders.
We worked out "5th percentile of 90 or higher" the same way. In 10 of 12 cases it was a looser condition than mean 95 (for example, for riverbed x264, 5th percentile 90 falls at about CRF 27.0 versus about 26.1 for mean 95). The only stricter cases were blue_sky with x264 (about 0.1 lower CRF) and x265 (about 1.1 lower CRF). In other words, hitting a mean of 95 mostly brought the 5th percentile to around 90 or better, and the big gap was in the single worst frame.
Speed is for reference only
We ran the processes at IDLE priority, so elapsed time fluctuates with whatever else the PC is doing. The analysis here centers on file size and quality; speed (rtime_s, utime_s, fps_rt) is included in the tables for reference only.
Limitations
- Only four 10-second clips. They can't be considered representative of all kinds of video. The CRF values and size ratios above are values for these four clips, not recommended settings per genre.
- Minimum VMAF hinges on a single frame. It can be affected by special frames such as the first frame or a scene change. We did not check which frame the minimum came from. The 5th percentile of a 10-second clip is also based on about 12 frames, so it is not very stable.
- Interpolated values are estimates. They come from connecting two points 4 to 6 apart, so they may differ from what you would get by actually running that CRF. This applies even more to SVT-AV1, whose spacing is 6 in many segments.
- Easy clips like blue_sky saturate at mean VMAF in the 99.9 range at low CRF. That is why the analysis above uses the higher-CRF range where the mean comes down to 95 or below.
- Only 8-bit yuv420p and one preset per encoder (x264 and x265 medium, SVT-AV1 preset 6). Other presets, 10-bit and HDR are not covered.
- Measured with only the default VMAF model. We did not check whether the low-scoring frames actually bother human viewers.
- One PC, one run. We did not repeat measurements to estimate error, and because of IDLE priority, speed is for reference only.
Practical recommendations
- Don't pass or fail an encode on mean VMAF alone; pull the 5th percentile and minimum from the same measurement too. libvmaf can output per-frame scores, so you can compute them from the same run without a separate measurement.
- Decide first whether your target is the "average" or the "worst moment." In this data, switching the target to minimum 90 made file size about 1.6x to 2.3x larger for content like riverbed. Conversely, on rush_hour, meeting the mean target alone kept the minimum above 90 with x264 and x265 (SVT-AV1 was the exception).
- The mean − minimum gap differs by video, so don't apply the CRF headroom you found on one video to another as is. Differences between clips were larger than differences between encoders.
- If the minimum score comes out unusually low, check which frame it is. If it is the first frame or a scene change, the comparison in this article may be exaggerated.
- For how CRF relates to content, see Same CRF, Different Results; for file size and quality by encoder, see CRF, file size and VMAF compared.
The full raw data can be downloaded as a CSV at the bottom of the page. If you run your own video through the same method, you can get the tail metrics for your own content.
Raw data: vmaf-worst-frames-v1.csv