VP9 cpu-used 2 to 8 Tested: How Much File Size Do Slower libvpx Settings Save? (File Size, VMAF and Encoding Time)
We ran libvpx-vp9 with -cpu-used 2, 3, 4, 5, 6 and 8 on four 10-second 1080p25 clips. cpu-used 5, 6 and 8 produced identical file sizes and VMAF. At the same VMAF, cpu-used 2 to 4 gave files from 2% smaller to 7% larger than cpu-used 5 and above, while using 1.1 to 1.8x the CPU time.
The test PC, FFmpeg and VMAF settings shared by every lab article are collected on the methodology page. Methodology (common to all tests)
In this data, slower cpu-used values did not save file size. Taking cpu-used 5 and above as 100% at the same VMAF, cpu-used 2 came to 98–105% (two clips 1–2% smaller, two clips 3–5% larger) at 1.6–1.8x the CPU time, cpu-used 3 to 101–107% at 1.2–1.3x, and cpu-used 4 to 103–107% at 1.1–1.2x. On top of that, cpu-used 5, 6 and 8 gave the same file size and VMAF on all four clips, to the last digit, so in this configuration there was no reason to pick 6 or 8 over 5.
Why we ran this
When you encode VP9 (libvpx-vp9) with FFmpeg, you have to choose a -cpu-used value yourself. Lower numbers are known to be slower and more efficient, but it is hard to see in numbers how much slower they get and how much file size they save. Our earlier VP9 vs libaom test used only two values, cpu-used 2 and 5, and the codec showdown at similar speeds and the 1080p real-time preset test covered only some VP9 settings. This time we look at VP9 alone, running cpu-used 2, 3, 4, 5, 6 and 8 at the same four CRF values, to see how file size and encoding time change at the same VMAF. We do not compare against AV1 or other codecs.
Changing the setting changes the quality even at the same CRF, so we compare file size at the same VMAF rather than at the same CRF. Varying only the speed setting within one encoder is the same approach as the SVT-AV1 preset test.
Test setup
VMAF is a video quality metric developed by Netflix. It compares the encoded video with the original frame by frame and scores each frame from 0 to 100. The closer to 100, the harder it is to tell the encode from the original, though the score does not replace human judgment. "Mean" is the average of the 250 per-frame scores, and "5th percentile" is the cutoff for the worst 5% of frames.
Encoder settings
ffmpeg -i clip.y4m -c:v libvpx-vp9 -cpu-used 2 -crf Q -b:v 0 -row-mt 1 -threads 4 -an out.mkv
ffmpeg -i clip.y4m -c:v libvpx-vp9 -cpu-used 3 -crf Q -b:v 0 -row-mt 1 -threads 4 -an out.mkv
ffmpeg -i clip.y4m -c:v libvpx-vp9 -cpu-used 4 -crf Q -b:v 0 -row-mt 1 -threads 4 -an out.mkv
ffmpeg -i clip.y4m -c:v libvpx-vp9 -cpu-used 5 -crf Q -b:v 0 -row-mt 1 -threads 4 -an out.mkv
ffmpeg -i clip.y4m -c:v libvpx-vp9 -cpu-used 6 -crf Q -b:v 0 -row-mt 1 -threads 4 -an out.mkv
ffmpeg -i clip.y4m -c:v libvpx-vp9 -cpu-used 8 -crf Q -b:v 0 -row-mt 1 -threads 4 -an out.mkvTest clip sources and licenses
All four clips are 1080p25 videos 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, log scale) and the vertical axis is VMAF. At the same height, the curve further left reached the same quality at a smaller file size. The curves for cpu-used 5, 6 and 8 have identical values, so they appear to overlap. The tables list file size, VMAF, fps and CPU time for every setting and CRF.
blue_sky — blue sky and tree branches
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| VP9 (libvpx) · preset 2 | 28 | 8,553.5 kbps | 99.98 | 100.00 | 41.30 | 7.06 | 124.0 |
| VP9 (libvpx) · preset 2 | 36 | 3,830.8 kbps | 99.98 | 100.00 | 39.27 | 8.58 | 102.9 |
| VP9 (libvpx) · preset 2 | 44 | 1,781.7 kbps | 98.74 | 95.08 | 36.95 | 10.16 | 86.1 |
| VP9 (libvpx) · preset 2 | 52 | 891.4 kbps | 90.72 | 85.21 | 34.49 | 10.71 | 81.6 |
| VP9 (libvpx) · preset 3 | 28 | 8,763 kbps | 99.98 | 100.00 | 41.30 | 9.23 | 93.7 |
| VP9 (libvpx) · preset 3 | 36 | 3,887.1 kbps | 99.98 | 100.00 | 39.24 | 10.99 | 79.0 |
| VP9 (libvpx) · preset 3 | 44 | 1,786.9 kbps | 98.71 | 94.76 | 36.89 | 13.13 | 64.7 |
| VP9 (libvpx) · preset 3 | 52 | 892.7 kbps | 90.32 | 84.38 | 34.38 | 15.24 | 54.8 |
| VP9 (libvpx) · preset 4 | 28 | 8,784.6 kbps | 99.98 | 100.00 | 41.22 | 10.22 | 83.7 |
| VP9 (libvpx) · preset 4 | 36 | 3,826.2 kbps | 99.98 | 100.00 | 39.11 | 12.18 | 69.8 |
| VP9 (libvpx) · preset 4 | 44 | 1,763.5 kbps | 98.46 | 94.70 | 36.74 | 14.43 | 58.1 |
| VP9 (libvpx) · preset 4 | 52 | 876.9 kbps | 89.59 | 84.11 | 34.21 | 17.22 | 47.7 |
| VP9 (libvpx) · preset 5 | 28 | 7,940.8 kbps | 99.98 | 100.00 | 41.00 | 8.99 | 82.4 |
| VP9 (libvpx) · preset 5 | 36 | 3,552 kbps | 99.98 | 100.00 | 38.87 | 11.58 | 63.2 |
| VP9 (libvpx) · preset 5 | 44 | 1,688.7 kbps | 98.40 | 94.59 | 36.52 | 14.49 | 49.3 |
| VP9 (libvpx) · preset 5 | 52 | 862.2 kbps | 89.46 | 83.54 | 34.02 | 17.02 | 40.9 |
| VP9 (libvpx) · preset 6 | 28 | 7,940.8 kbps | 99.98 | 100.00 | 41.00 | 8.92 | 81.8 |
| VP9 (libvpx) · preset 6 | 36 | 3,552 kbps | 99.98 | 100.00 | 38.87 | 11.58 | 63.1 |
| VP9 (libvpx) · preset 6 | 44 | 1,688.7 kbps | 98.40 | 94.59 | 36.52 | 14.33 | 49.0 |
| VP9 (libvpx) · preset 6 | 52 | 862.2 kbps | 89.46 | 83.54 | 34.02 | 17.15 | 40.6 |
| VP9 (libvpx) · preset 8 | 28 | 7,940.8 kbps | 99.98 | 100.00 | 41.00 | 8.92 | 81.9 |
| VP9 (libvpx) · preset 8 | 36 | 3,552 kbps | 99.98 | 100.00 | 38.87 | 11.56 | 63.7 |
| VP9 (libvpx) · preset 8 | 44 | 1,688.7 kbps | 98.40 | 94.59 | 36.52 | 14.26 | 50.3 |
| VP9 (libvpx) · preset 8 | 52 | 862.2 kbps | 89.46 | 83.54 | 34.02 | 16.78 | 41.8 |
pedestrian_area — pedestrian street
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| VP9 (libvpx) · preset 2 | 28 | 5,089.4 kbps | 98.47 | 95.42 | 41.50 | 6.61 | 135.3 |
| VP9 (libvpx) · preset 2 | 36 | 2,542.8 kbps | 94.88 | 91.38 | 40.15 | 8.92 | 98.3 |
| VP9 (libvpx) · preset 2 | 44 | 1,409 kbps | 87.79 | 83.90 | 38.51 | 10.08 | 87.0 |
| VP9 (libvpx) · preset 2 | 52 | 812.4 kbps | 76.52 | 71.44 | 36.55 | 13.14 | 64.9 |
| VP9 (libvpx) · preset 3 | 28 | 5,263.5 kbps | 98.41 | 95.44 | 41.45 | 8.52 | 102.9 |
| VP9 (libvpx) · preset 3 | 36 | 2,608.1 kbps | 94.74 | 91.08 | 40.10 | 11.18 | 77.3 |
| VP9 (libvpx) · preset 3 | 44 | 1,434.5 kbps | 87.52 | 83.38 | 38.44 | 12.37 | 69.3 |
| VP9 (libvpx) · preset 3 | 52 | 819.1 kbps | 76.21 | 70.98 | 36.47 | 16.03 | 52.5 |
| VP9 (libvpx) · preset 4 | 28 | 5,241.1 kbps | 98.34 | 95.40 | 41.34 | 8.85 | 99.2 |
| VP9 (libvpx) · preset 4 | 36 | 2,642.4 kbps | 94.59 | 90.98 | 39.97 | 11.59 | 73.5 |
| VP9 (libvpx) · preset 4 | 44 | 1,454.9 kbps | 87.38 | 83.07 | 38.32 | 14.17 | 58.3 |
| VP9 (libvpx) · preset 4 | 52 | 835.6 kbps | 75.92 | 70.78 | 36.35 | 17.36 | 47.0 |
| VP9 (libvpx) · preset 5 | 28 | 4,768.6 kbps | 98.38 | 95.36 | 41.16 | 8.94 | 86.2 |
| VP9 (libvpx) · preset 5 | 36 | 2,465.3 kbps | 94.45 | 90.71 | 39.77 | 12.1 | 62.1 |
| VP9 (libvpx) · preset 5 | 44 | 1,381.9 kbps | 86.83 | 82.47 | 38.12 | 15.46 | 48.8 |
| VP9 (libvpx) · preset 5 | 52 | 815.5 kbps | 74.84 | 69.19 | 36.17 | 18.9 | 38.5 |
| VP9 (libvpx) · preset 6 | 28 | 4,768.6 kbps | 98.38 | 95.36 | 41.16 | 8.96 | 86.0 |
| VP9 (libvpx) · preset 6 | 36 | 2,465.3 kbps | 94.45 | 90.71 | 39.77 | 11.99 | 62.7 |
| VP9 (libvpx) · preset 6 | 44 | 1,381.9 kbps | 86.83 | 82.47 | 38.12 | 15.42 | 47.9 |
| VP9 (libvpx) · preset 6 | 52 | 815.5 kbps | 74.84 | 69.19 | 36.17 | 18.85 | 38.5 |
| VP9 (libvpx) · preset 8 | 28 | 4,768.6 kbps | 98.38 | 95.36 | 41.16 | 8.93 | 85.9 |
| VP9 (libvpx) · preset 8 | 36 | 2,465.3 kbps | 94.45 | 90.71 | 39.77 | 12.32 | 62.0 |
| VP9 (libvpx) · preset 8 | 44 | 1,381.9 kbps | 86.83 | 82.47 | 38.12 | 15.44 | 48.2 |
| VP9 (libvpx) · preset 8 | 52 | 815.5 kbps | 74.84 | 69.19 | 36.17 | 18.98 | 39.6 |
riverbed — riverbed (fine ripples)
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| VP9 (libvpx) · preset 2 | 28 | 23,868.2 kbps | 99.98 | 100.00 | 40.15 | 3.61 | 255.5 |
| VP9 (libvpx) · preset 2 | 36 | 14,030.8 kbps | 97.36 | 93.62 | 37.99 | 4.26 | 216.0 |
| VP9 (libvpx) · preset 2 | 44 | 7,891.6 kbps | 86.41 | 78.86 | 35.56 | 5.02 | 183.0 |
| VP9 (libvpx) · preset 2 | 52 | 4,294.8 kbps | 68.48 | 59.45 | 32.98 | 5.87 | 154.7 |
| VP9 (libvpx) · preset 3 | 28 | 24,780.1 kbps | 99.98 | 100.00 | 40.22 | 4.99 | 181.5 |
| VP9 (libvpx) · preset 3 | 36 | 14,268.5 kbps | 97.34 | 93.60 | 37.99 | 5.73 | 158.7 |
| VP9 (libvpx) · preset 3 | 44 | 7,985.7 kbps | 86.28 | 78.74 | 35.53 | 6.64 | 136.3 |
| VP9 (libvpx) · preset 3 | 52 | 4,310.8 kbps | 68.14 | 59.00 | 32.94 | 7.92 | 112.8 |
| VP9 (libvpx) · preset 4 | 28 | 25,676.8 kbps | 99.98 | 100.00 | 40.16 | 4.6 | 196.4 |
| VP9 (libvpx) · preset 4 | 36 | 14,650.3 kbps | 97.68 | 94.13 | 37.95 | 5.44 | 166.1 |
| VP9 (libvpx) · preset 4 | 44 | 8,171.7 kbps | 86.87 | 79.36 | 35.52 | 6.67 | 134.9 |
| VP9 (libvpx) · preset 4 | 52 | 4,387.1 kbps | 68.60 | 59.18 | 32.92 | 8.61 | 101.5 |
| VP9 (libvpx) · preset 5 | 28 | 22,198.7 kbps | 99.98 | 100.00 | 39.80 | 4.51 | 185.2 |
| VP9 (libvpx) · preset 5 | 36 | 12,880.1 kbps | 96.77 | 92.61 | 37.61 | 5.87 | 136.2 |
| VP9 (libvpx) · preset 5 | 44 | 7,271 kbps | 85.13 | 77.46 | 35.22 | 7.64 | 105.0 |
| VP9 (libvpx) · preset 5 | 52 | 4,026.7 kbps | 66.46 | 57.09 | 32.72 | 9.95 | 79.5 |
| VP9 (libvpx) · preset 6 | 28 | 22,198.7 kbps | 99.98 | 100.00 | 39.80 | 4.32 | 185.3 |
| VP9 (libvpx) · preset 6 | 36 | 12,880.1 kbps | 96.77 | 92.61 | 37.61 | 6.14 | 135.5 |
| VP9 (libvpx) · preset 6 | 44 | 7,271 kbps | 85.13 | 77.46 | 35.22 | 7.69 | 104.3 |
| VP9 (libvpx) · preset 6 | 52 | 4,026.7 kbps | 66.46 | 57.09 | 32.72 | 10.27 | 78.3 |
| VP9 (libvpx) · preset 8 | 28 | 22,198.7 kbps | 99.98 | 100.00 | 39.80 | 4.29 | 186.5 |
| VP9 (libvpx) · preset 8 | 36 | 12,880.1 kbps | 96.77 | 92.61 | 37.61 | 6.16 | 134.3 |
| VP9 (libvpx) · preset 8 | 44 | 7,271 kbps | 85.13 | 77.46 | 35.22 | 7.93 | 103.9 |
| VP9 (libvpx) · preset 8 | 52 | 4,026.7 kbps | 66.46 | 57.09 | 32.72 | 10.16 | 77.3 |
rush_hour — evening rush-hour traffic
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| VP9 (libvpx) · preset 2 | 28 | 5,259.5 kbps | 95.69 | 93.80 | 42.19 | 6.05 | 150.1 |
| VP9 (libvpx) · preset 2 | 36 | 2,593.5 kbps | 91.44 | 88.75 | 41.12 | 8.09 | 109.0 |
| VP9 (libvpx) · preset 2 | 44 | 1,327.8 kbps | 84.16 | 80.56 | 39.72 | 10.41 | 84.5 |
| VP9 (libvpx) · preset 2 | 52 | 701.7 kbps | 73.92 | 69.77 | 37.94 | 12.79 | 67.3 |
| VP9 (libvpx) · preset 3 | 28 | 5,309 kbps | 95.72 | 93.83 | 42.13 | 7.83 | 113.4 |
| VP9 (libvpx) · preset 3 | 36 | 2,646.6 kbps | 91.47 | 88.80 | 41.06 | 10.48 | 82.0 |
| VP9 (libvpx) · preset 3 | 44 | 1,347.5 kbps | 84.14 | 80.41 | 39.67 | 13.13 | 65.3 |
| VP9 (libvpx) · preset 3 | 52 | 707.6 kbps | 73.69 | 69.53 | 37.85 | 16.17 | 51.9 |
| VP9 (libvpx) · preset 4 | 28 | 5,396 kbps | 95.72 | 93.85 | 42.05 | 8.44 | 103.7 |
| VP9 (libvpx) · preset 4 | 36 | 2,677.1 kbps | 91.47 | 88.85 | 40.98 | 11.09 | 77.5 |
| VP9 (libvpx) · preset 4 | 44 | 1,361 kbps | 84.10 | 80.52 | 39.59 | 14.07 | 59.8 |
| VP9 (libvpx) · preset 4 | 52 | 722.4 kbps | 73.48 | 69.18 | 37.76 | 17.46 | 47.1 |
| VP9 (libvpx) · preset 5 | 28 | 4,911.9 kbps | 95.68 | 93.81 | 41.84 | 7.77 | 96.9 |
| VP9 (libvpx) · preset 5 | 36 | 2,478.2 kbps | 91.18 | 88.44 | 40.74 | 10.92 | 67.8 |
| VP9 (libvpx) · preset 5 | 44 | 1,283.1 kbps | 83.47 | 79.70 | 39.36 | 14.85 | 50.7 |
| VP9 (libvpx) · preset 5 | 52 | 703.2 kbps | 72.66 | 68.36 | 37.59 | 18.63 | 38.4 |
| VP9 (libvpx) · preset 6 | 28 | 4,911.9 kbps | 95.68 | 93.81 | 41.84 | 8.03 | 96.8 |
| VP9 (libvpx) · preset 6 | 36 | 2,478.2 kbps | 91.18 | 88.44 | 40.74 | 10.92 | 67.7 |
| VP9 (libvpx) · preset 6 | 44 | 1,283.1 kbps | 83.47 | 79.70 | 39.36 | 14.29 | 51.7 |
| VP9 (libvpx) · preset 6 | 52 | 703.2 kbps | 72.66 | 68.36 | 37.59 | 18.48 | 39.7 |
| VP9 (libvpx) · preset 8 | 28 | 4,911.9 kbps | 95.68 | 93.81 | 41.84 | 7.84 | 95.3 |
| VP9 (libvpx) · preset 8 | 36 | 2,478.2 kbps | 91.18 | 88.44 | 40.74 | 11.23 | 67.6 |
| VP9 (libvpx) · preset 8 | 44 | 1,283.1 kbps | 83.47 | 79.70 | 39.36 | 14.42 | 51.8 |
| VP9 (libvpx) · preset 8 | 52 | 703.2 kbps | 72.66 | 68.36 | 37.59 | 18.27 | 39.9 |
How to read it, and what we saw
First: cpu-used 5, 6 and 8 gave the same result
On all four clips and at all four CRF values, cpu-used 5, 6 and 8 had the same file size (size_bytes), VMAF and PSNR. For example, riverbed at CRF 36 is 16,100,128 B with VMAF 96.772 for all three settings. The only thing that differed was elapsed time, and since the jobs produce identical output, that is measurement noise (blue_sky CRF 36 took 63.2 s, 63.1 s and 63.7 s of CPU time). It is known that in the libvpx default mode (good quality) in FFmpeg, values above 5 are treated the same as 5, and this data matches that. However, we did not check the libvpx source, so we claim only that "they were the same in this configuration (no -deadline, this FFmpeg build)." For that reason, the comparisons below measure cpu-used 2, 3 and 4 against a single baseline called "5 and above", calculated from the cpu-used 8 values.
File size and time at the same VMAF
Because the measurement points do not land on exactly the same VMAF, we estimated the bitrate and CPU time at a reference VMAF by connecting the two measurement points on either side of it (linear interpolation of log bitrate against VMAF, and of CPU time as is against VMAF). The measured CRF values are 8 apart, so the estimate can differ from the true curve, and digits after the decimal point are meaningless. For each clip we chose a reference VMAF that all six curves pass through: 95 for blue_sky and riverbed, 93 for pedestrian_area and rush_hour. On blue_sky, VMAF saturates at 99.98 at CRF 28 and 36 (the 5th percentile is 100), so there is no quality difference between settings there, and we excluded those points from the interpolation and used only the two points at CRF 44 and 52. Because the reference VMAF differs by clip, we do not compare absolute file sizes across clips.
Estimated bitrate at the reference VMAF. Even at the same VMAF, harder clips need a bigger file (the reference VMAF differs, so do not compare directly across clips).
Relative file size at the same VMAF, with cpu-used 5 and above (the cpu-used 8 values) as 100%. Below 100% means a smaller file.
CPU time (utime, the summed CPU time of the 4-thread job) estimated at the same VMAF, and its multiple of cpu-used 8. The absolute times belong to this PC; use only the multiples as a guide.
- A slower setting made the file smaller in only two cases, and by a small margin. cpu-used 2 was 1% smaller on blue_sky and 2% smaller on pedestrian_area. The other ten cells were all larger than 5 and above (by 1–7%). blue_sky cpu-used 3 (101%) is, after rounding, practically the same. Given the interpolation error, 1–2% is hard to call a difference.
- The harder the footage, the worse the slower settings did. On riverbed, cpu-used 2, 3 and 4 came to 105–107%, the largest of the four clips, and it is also the clip that needs the highest bitrate. This data cannot tell us why.
- Time went up as cpu-used went down. cpu-used 2 was a steady 1.6–1.8x across the four clips, 3 was 1.2–1.3x and 4 was 1.1–1.2x. On riverbed, though, cpu-used 4 (158.4 s) actually took longer than 3 (153.9 s), and this reversal also showed up at CRF 28 and 36 (CPU time 196.4 s and 166.1 s versus 181.5 s and 158.7 s). It is hard to dismiss as noise alone.
- At the same CRF, changing only the setting changes the file size. At CRF 28 and 36, cpu-used 2 to 4 gave files 3–16% larger than 5 and above (for example, riverbed CRF 28 is 32,096,050 B at cpu-used 4 and 27,748,383 B at 5 and above). Yet VMAF is practically the same (riverbed CRF 28: 99.982 versus 99.980). Do not carry a CRF value over unchanged from one setting to another.
- cpu-used 8 was slow too. The speed by rtime (fps_rt) at cpu-used 8 ranged from 4.29 to 18.98 fps (across all CRF values in the CSV; riverbed CRF 28 was the slowest). On this PC with 4 threads, it could not encode 1080p in real time. Speed fluctuates because of the IDLE priority, so treat it only as a rough guide.
Is any kind of video worth the extra time?
Our starting question was whether some kind of video is worth spending more time on a slow setting. In this data, the answer is "we did not find one." The static blue_sky (1% smaller) and the crowded pedestrian_area (2% smaller) were the only cases where cpu-used 2 saved file size, and the price was 1.6–1.8x the CPU time, while on the complex riverbed and rush_hour every slower setting came out larger. Even the two clips with savings are within the interpolation error, so claiming that slower settings win would need a re-measurement with CRF points placed more densely.
How long would a long video take?
If you assume CPU time scales roughly with video length, multiplying the 10-second clip values by 60 gives a rough figure for a 10-minute video. For example, riverbed, the heaviest clip in this test, took about 129.7 s at cpu-used 8 → about 2 hours 10 minutes, and 208.9 s at cpu-used 2 → about 3 hours 30 minutes (both are summed 4-thread CPU time). Because utime is summed CPU time, it is not the same as the actual wall-clock time, and this data did not confirm that time scales exactly with length. For your own estimate, you can try the encode time estimator.
Limitations
- Only four 10-second clips. They differ in character (scenery, city, ripples), but animation, screen recordings and dark footage are missing.
- Only 8-bit yuv420p was measured. 10-bit and HDR are not covered.
- Only six values were tested: cpu-used 2, 3, 4, 5, 6 and 8. We did not measure 0 and 1 (the slower end) or 7, so this article cannot say whether slower settings pay off. We also did not change other options such as
-deadline,-tile-columns,-auto-alt-refor-lag-in-frames. - The effects of row-mt and 4 threads are mixed in. Multithreading efficiency may differ by setting, so the time multiples include differences in thread utilization as well as pure algorithm cost. With a different thread count, the multiples could change too.
- Only four CRF points (28, 36, 44, 52) were measured, and the interpolation is coarse. With a spacing of 8, estimates around the reference VMAF can differ from reality. On riverbed in particular, VMAF at CRF 36 and 44 is more than 11 apart, and a 1–2% difference is within the error. On blue_sky we dropped the two saturated points and interpolated from just two. 2-pass and target-bitrate modes were not covered.
- The reference VMAF differs by clip (95 for blue_sky and riverbed, 93 for the others). The ratios could differ at other quality levels.
- Only one VMAF model (the default) was used. The same score can still look different in texture. PSNR (psnr_y) is in the CSV but we did not interpret it, and we did not check whether the ranking of settings changes with the metric.
- One PC, one run. We did not repeat measurements to estimate error. With IDLE priority, elapsed time fluctuates (even utime varied by 1–4% across three settings that produced identical output), so speed is for reference only.
- Only software libvpx was measured. File sizes in the tables are video-stream sizes and do not reflect audio, playback compatibility or hardware decoding support.
Practical recommendations
- When using VP9 with FFmpeg, start with cpu-used 5. In this data, 5, 6 and 8 produced identical output, and 5 was generally smaller than or similar to 2 to 4 at the same VMAF while 2 to 4 took 1.1 to 1.8x as much time as 5 and above. Moving up to 6 or 8 gained nothing.
- This data does not support the hope of saving file size by dropping to cpu-used 2 to 4. Time went up while only 2 of the 12 cells were 1–2% smaller and the other 10 were 1–7% larger. If you really need it, measure VMAF and file size on your own footage.
- If you change the setting, do not carry the CRF over unchanged. Even at the same CRF, file size varied by 3–16%. To hold a quality target, re-measure VMAF. File size and quality by CRF are in the CRF test and the CRF by content type test, and you can see suggested values in the CRF recommender.
- For VP9 versus AV1, see the VP9 vs libaom test; for the codec ranking at similar encoding time, see the codec showdown at similar speeds. For the speed settings of other encoders, see the x264, x265 and SVT-AV1 tests. You can build the command with the FFmpeg command builder.
The full raw data can be downloaded from the CSV at the bottom of the page.
Raw data: vp9-cpu-used-efficiency-v1.csv