x265 psy-rd and aq-mode Tested: File Size, VMAF and PSNR at the Same CRF
We encoded four 10-second 1080p25 clips with x265 medium at CRF 22, 28, 34 and 40, and measured how much psy-rd 0 and 1.0 and aq-mode 1, 3 and 4 change file size, VMAF and PSNR compared with the defaults (psy-rd=2.0, aq-mode=2). At the same CRF, lowering psy-rd cut file size by 4.5–16.2% and VMAF dropped by 0 to 2.3 points, while only aq-mode 3 made files bigger (+2.8 to +17.8%) and raised both VMAF and PSNR. Interpolated to VMAF 90 and 80, the lower psy-rd settings were 1.3–10.0% smaller, and aq-mode 1, 3 and 4 were all larger.
The test PC, FFmpeg and VMAF settings shared by every lab article are collected on the methodology page. Methodology (common to all tests)
With x265 medium at the same CRF, lowering psy-rd from the default 2.0 to 0 made the file smaller in all 16 cells (−4.5% to −16.2%), with VMAF down by 0 to 2.31 points and PSNR changing by −0.29 to +0.14 dB depending on the cell. aq-mode 1 and 4 shrink files by 13–39% at the same CRF, but VMAF fell by up to 13 points and PSNR dropped in all 16 cells. aq-mode 3 went the other way: files got bigger in all 16 cells (+2.8% to +17.8%) while VMAF and PSNR stayed the same or rose. Interpolated to the same VMAF, psy-rd 0 and 1.0 were smaller than the default (−1.3% to −10.0% across the 8 comparisons at VMAF 90 and 80), and aq-mode 1, 3 and 4 were larger in all 8 comparisons (+0.5% to +17.7%). Keep in mind, though, that psy-rd and aq are options meant to improve how the video looks, not to raise scores, so these numbers alone can't tell you which one looks better.
Why this matters
Search for x265 options and psy-rd and aq-mode come up constantly. Claims like "turn off psy-rd to shrink the file and raise PSNR" or "aq-mode 3 is best for high-quality encodes" circulate mostly as opinion. These two options leave the CRF number alone but change where the bits go and how many each region gets. So if you compare at the same CRF, both file size and score change together, and if you compare at the same score, you have to look separately at how file size changes. This article measures both ways, using the defaults as the baseline. A similar question about the x264 and x265 tune options is covered in x264 and x265 tune tested.
psy-rd is known as an option that gives up some of the PSNR and VMAF score in order to keep visually natural texture. aq-mode likewise changes how bits are distributed, putting more into flat areas, so the average score can drop while the video still looks better to the eye. This article measured only VMAF (mean, 5th percentile and minimum) and PSNR against the source, and did not compare by eye. We also couldn't measure the VMAF NEG model, because it isn't available on this PC. So don't read "the score went down" as "the quality got worse."
How we measured
VMAF is a quality metric developed by Netflix. It compares the source and the encoded result frame by frame and scores them from 0 to 100. In this article, "mean VMAF" is vmaf_mean in the CSV, "5th percentile" is vmaf_p5, and "minimum" is vmaf_min. PSNR converts the pixel-value difference between the source and the encoded result into dB; higher means closer to the source. For a general look at how the two metrics can disagree, see Is 40 dB PSNR good quality?.
Options and encoder settings
x265's defaults are psy-rd=2.0 and aq-mode=2, so the encode with no options added (the medium preset in the CSV's preset column) is the baseline. The other five change just one option from the baseline. The x265 documentation is known to describe aq-mode as follows: 1 is variance-based AQ, 2 is auto-variance AQ that adapts within the frame, 3 is a mode that protects dark scenes more, and 4 is a mode that uses edge information. We left aq-strength and the other values alone, and we didn't measure aq-mode 0 (off).
Input and output paths omitted. Q was replaced with 22, 28, 34 and 40 in turn.
How we interpolated
To get file size at the same VMAF, we found the two adjacent measurement points on either side of each target VMAF (90 and 80) and interpolated bitrate (kbps) linearly on a log scale against VMAF. Bitrate is proportional to file size. For all 4 clips and 6 settings, both targets fell inside the measured range, so nothing was extrapolated. The same-CRF comparisons involve no interpolation; they are plain differences of CSV values.
Test 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).
Per-clip results (raw data)
In each chart, the x-axis is bitrate and the y-axis is VMAF, with the baseline and the five variants on one graph. The table lists file size, VMAF (mean, 5th percentile, minimum) and PSNR for each CRF. On blue_sky, VMAF saturates at 99.9 or higher at CRF 22, so some cells have the same score across different settings. Speed was measured at IDLE priority and fluctuates, so treat it as a rough reference only.
blue_sky — blue sky and tree branches
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| x265 (HEVC) · preset medium | 22 | 6,348.2 kbps | 99.98 | 100.00 | 41.14 | 17.62 | 57.1 |
| x265 (HEVC) · preset medium+psy0 | 22 | 6,061.8 kbps | 99.98 | 100.00 | 41.01 | 19.23 | 51.9 |
| x265 (HEVC) · preset medium+psy1 | 22 | 6,214.6 kbps | 99.98 | 100.00 | 41.11 | 18.22 | 55.4 |
| x265 (HEVC) · preset medium+aq1 | 22 | 4,441.9 kbps | 99.96 | 100.00 | 39.96 | 21.07 | 47.4 |
| x265 (HEVC) · preset medium+aq3 | 22 | 6,630.9 kbps | 99.98 | 100.00 | 41.17 | 17.19 | 58.5 |
| x265 (HEVC) · preset medium+aq4 | 22 | 3,871.3 kbps | 99.95 | 100.00 | 39.71 | 16.47 | 56.8 |
| x265 (HEVC) · preset medium | 28 | 2,481.5 kbps | 99.43 | 96.32 | 38.45 | 26.14 | 38.3 |
| x265 (HEVC) · preset medium+psy0 | 28 | 2,338.2 kbps | 98.92 | 94.40 | 38.23 | 26.28 | 37.2 |
| x265 (HEVC) · preset medium+psy1 | 28 | 2,416.1 kbps | 99.24 | 95.35 | 38.38 | 26.42 | 37.9 |
| x265 (HEVC) · preset medium+aq1 | 28 | 1,798.2 kbps | 97.34 | 91.12 | 37.00 | 28.93 | 33.7 |
| x265 (HEVC) · preset medium+aq3 | 28 | 2,558.4 kbps | 99.43 | 96.42 | 38.48 | 25.82 | 38.5 |
| x265 (HEVC) · preset medium+aq4 | 28 | 1,606.1 kbps | 96.81 | 90.36 | 36.71 | 20.22 | 45.1 |
| x265 (HEVC) · preset medium | 34 | 1,077.3 kbps | 92.23 | 83.51 | 35.25 | 32.71 | 29.8 |
| x265 (HEVC) · preset medium+psy0 | 34 | 994.4 kbps | 91.03 | 82.00 | 35.05 | 34.05 | 28.1 |
| x265 (HEVC) · preset medium+psy1 | 34 | 1,037.9 kbps | 91.77 | 82.70 | 35.19 | 32.87 | 29.3 |
| x265 (HEVC) · preset medium+aq1 | 34 | 793.7 kbps | 85.31 | 76.06 | 33.65 | 34.72 | 27.4 |
| x265 (HEVC) · preset medium+aq3 | 34 | 1,107.9 kbps | 92.29 | 83.43 | 35.28 | 32.04 | 30.0 |
| x265 (HEVC) · preset medium+aq4 | 34 | 715.2 kbps | 83.90 | 75.75 | 33.34 | 22.71 | 39.5 |
| x265 (HEVC) · preset medium | 40 | 489.1 kbps | 75.05 | 66.21 | 31.74 | 38.37 | 25.0 |
| x265 (HEVC) · preset medium+psy0 | 40 | 442.3 kbps | 73.00 | 64.14 | 31.45 | 39.69 | 23.5 |
| x265 (HEVC) · preset medium+psy1 | 40 | 467.3 kbps | 74.49 | 65.24 | 31.66 | 38.9 | 24.4 |
| x265 (HEVC) · preset medium+aq1 | 40 | 350 kbps | 64.05 | 54.10 | 29.99 | 40.06 | 23.4 |
| x265 (HEVC) · preset medium+aq3 | 40 | 503.4 kbps | 75.41 | 66.48 | 31.79 | 37.62 | 24.9 |
| x265 (HEVC) · preset medium+aq4 | 40 | 312.1 kbps | 61.95 | 52.30 | 29.65 | 23.71 | 35.1 |
pedestrian_area — pedestrian street
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| x265 (HEVC) · preset medium | 22 | 4,357.1 kbps | 97.84 | 95.06 | 41.48 | 12.6 | 78.6 |
| x265 (HEVC) · preset medium+psy0 | 22 | 3,650.9 kbps | 97.46 | 94.47 | 41.45 | 13.86 | 71.6 |
| x265 (HEVC) · preset medium+psy1 | 22 | 3,977.4 kbps | 97.79 | 94.92 | 41.52 | 12.89 | 76.7 |
| x265 (HEVC) · preset medium+aq1 | 22 | 3,603.8 kbps | 96.38 | 93.54 | 40.98 | 14.1 | 70.8 |
| x265 (HEVC) · preset medium+aq3 | 22 | 4,978.3 kbps | 98.14 | 95.40 | 41.66 | 12.31 | 80.7 |
| x265 (HEVC) · preset medium+aq4 | 22 | 3,561.6 kbps | 96.15 | 93.16 | 40.91 | 11.67 | 83.4 |
| x265 (HEVC) · preset medium | 28 | 1,873.7 kbps | 90.83 | 88.09 | 39.37 | 17.21 | 57.8 |
| x265 (HEVC) · preset medium+psy0 | 28 | 1,587.4 kbps | 89.82 | 86.86 | 39.27 | 18.05 | 54.9 |
| x265 (HEVC) · preset medium+psy1 | 28 | 1,705.5 kbps | 90.70 | 87.80 | 39.39 | 17.03 | 58.4 |
| x265 (HEVC) · preset medium+aq1 | 28 | 1,622.4 kbps | 87.36 | 84.57 | 38.68 | 18.32 | 54.0 |
| x265 (HEVC) · preset medium+aq3 | 28 | 2,049.2 kbps | 91.66 | 88.82 | 39.59 | 16.83 | 58.6 |
| x265 (HEVC) · preset medium+aq4 | 28 | 1,620.1 kbps | 86.84 | 84.10 | 38.57 | 13.97 | 67.3 |
| x265 (HEVC) · preset medium | 34 | 924.9 kbps | 76.50 | 73.51 | 36.69 | 21.4 | 46.4 |
| x265 (HEVC) · preset medium+psy0 | 34 | 794 kbps | 74.61 | 71.14 | 36.57 | 22.23 | 44.3 |
| x265 (HEVC) · preset medium+psy1 | 34 | 845.2 kbps | 76.09 | 73.10 | 36.70 | 21.17 | 46.6 |
| x265 (HEVC) · preset medium+aq1 | 34 | 802 kbps | 70.41 | 67.22 | 35.86 | 22.79 | 43.3 |
| x265 (HEVC) · preset medium+aq3 | 34 | 1,005.4 kbps | 77.88 | 74.90 | 36.95 | 21.1 | 46.8 |
| x265 (HEVC) · preset medium+aq4 | 34 | 801.1 kbps | 69.29 | 66.08 | 35.73 | 16.23 | 58.0 |
| x265 (HEVC) · preset medium | 40 | 443.3 kbps | 53.88 | 49.99 | 33.60 | 26.27 | 36.6 |
| x265 (HEVC) · preset medium+psy0 | 40 | 407.1 kbps | 51.57 | 47.16 | 33.46 | 27.5 | 35.4 |
| x265 (HEVC) · preset medium+psy1 | 40 | 419.5 kbps | 52.98 | 48.78 | 33.57 | 26.25 | 37.3 |
| x265 (HEVC) · preset medium+aq1 | 40 | 378.7 kbps | 45.74 | 41.51 | 32.65 | 27.58 | 34.6 |
| x265 (HEVC) · preset medium+aq3 | 40 | 488.4 kbps | 55.94 | 52.17 | 33.87 | 25.75 | 38.1 |
| x265 (HEVC) · preset medium+aq4 | 40 | 376.6 kbps | 44.50 | 39.57 | 32.53 | 18.59 | 49.7 |
riverbed — riverbed (small ripples)
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| x265 (HEVC) · preset medium | 22 | 19,060.6 kbps | 99.59 | 98.11 | 38.69 | 4.05 | 241.8 |
| x265 (HEVC) · preset medium+psy0 | 22 | 17,090.5 kbps | 99.44 | 97.74 | 38.74 | 4.3 | 228.3 |
| x265 (HEVC) · preset medium+psy1 | 22 | 17,793.7 kbps | 99.54 | 97.89 | 38.75 | 4.06 | 242.3 |
| x265 (HEVC) · preset medium+aq1 | 22 | 15,057.7 kbps | 96.23 | 93.08 | 37.55 | 4.47 | 220.0 |
| x265 (HEVC) · preset medium+aq3 | 22 | 19,955.6 kbps | 99.76 | 98.60 | 38.84 | 4.02 | 244.1 |
| x265 (HEVC) · preset medium+aq4 | 22 | 14,957.4 kbps | 95.06 | 91.62 | 37.31 | 4.22 | 231.7 |
| x265 (HEVC) · preset medium | 28 | 9,535.6 kbps | 86.40 | 81.94 | 35.59 | 5.36 | 184.1 |
| x265 (HEVC) · preset medium+psy0 | 28 | 8,338.1 kbps | 85.40 | 80.70 | 35.66 | 5.46 | 179.7 |
| x265 (HEVC) · preset medium+psy1 | 28 | 8,826 kbps | 86.09 | 81.64 | 35.68 | 5.21 | 188.7 |
| x265 (HEVC) · preset medium+aq1 | 28 | 7,456.5 kbps | 78.19 | 73.36 | 34.39 | 5.9 | 166.0 |
| x265 (HEVC) · preset medium+aq3 | 28 | 9,973.8 kbps | 87.22 | 82.86 | 35.76 | 5.21 | 188.6 |
| x265 (HEVC) · preset medium+aq4 | 28 | 7,391.7 kbps | 76.28 | 71.28 | 34.12 | 5.63 | 174.3 |
| x265 (HEVC) · preset medium | 34 | 4,533.4 kbps | 63.21 | 57.79 | 32.36 | 7.2 | 136.3 |
| x265 (HEVC) · preset medium+psy0 | 34 | 3,876.2 kbps | 61.28 | 55.32 | 32.46 | 7.38 | 133.3 |
| x265 (HEVC) · preset medium+psy1 | 34 | 4,173.6 kbps | 62.87 | 57.28 | 32.44 | 6.96 | 141.3 |
| x265 (HEVC) · preset medium+aq1 | 34 | 3,372.9 kbps | 52.99 | 47.49 | 31.13 | 8.18 | 120.2 |
| x265 (HEVC) · preset medium+aq3 | 34 | 4,764.9 kbps | 64.25 | 58.64 | 32.52 | 7.03 | 139.8 |
| x265 (HEVC) · preset medium+aq4 | 34 | 3,323.7 kbps | 50.69 | 45.31 | 30.89 | 7.6 | 129.5 |
| x265 (HEVC) · preset medium | 40 | 1,799.1 kbps | 38.37 | 33.28 | 29.16 | 10.58 | 92.8 |
| x265 (HEVC) · preset medium+psy0 | 40 | 1,624.6 kbps | 36.44 | 31.31 | 29.30 | 11.28 | 87.4 |
| x265 (HEVC) · preset medium+psy1 | 40 | 1,699.2 kbps | 37.53 | 32.30 | 29.27 | 10.73 | 91.7 |
| x265 (HEVC) · preset medium+aq1 | 40 | 1,240.6 kbps | 29.78 | 25.04 | 27.99 | 13.04 | 75.9 |
| x265 (HEVC) · preset medium+aq3 | 40 | 1,920.6 kbps | 39.28 | 34.02 | 29.32 | 10.33 | 95.3 |
| x265 (HEVC) · preset medium+aq4 | 40 | 1,236.5 kbps | 28.08 | 23.49 | 27.77 | 11.22 | 86.9 |
rush_hour — rush-hour road
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| x265 (HEVC) · preset medium | 22 | 4,009.4 kbps | 93.76 | 92.06 | 41.77 | 11.69 | 84.8 |
| x265 (HEVC) · preset medium+psy0 | 22 | 3,434 kbps | 93.19 | 91.47 | 41.86 | 12.64 | 78.2 |
| x265 (HEVC) · preset medium+psy1 | 22 | 3,718.5 kbps | 93.68 | 92.06 | 41.85 | 11.83 | 83.0 |
| x265 (HEVC) · preset medium+aq1 | 22 | 3,430.4 kbps | 91.60 | 89.67 | 41.36 | 12.43 | 79.6 |
| x265 (HEVC) · preset medium+aq3 | 22 | 4,722.1 kbps | 94.17 | 92.59 | 41.90 | 10.78 | 91.3 |
| x265 (HEVC) · preset medium+aq4 | 22 | 3,401.4 kbps | 91.67 | 89.81 | 41.38 | 10.48 | 91.9 |
| x265 (HEVC) · preset medium | 28 | 1,644.7 kbps | 85.76 | 83.28 | 40.08 | 17.15 | 57.8 |
| x265 (HEVC) · preset medium+psy0 | 28 | 1,409.2 kbps | 84.48 | 81.58 | 40.10 | 18.67 | 53.1 |
| x265 (HEVC) · preset medium+psy1 | 28 | 1,529.2 kbps | 85.55 | 82.95 | 40.13 | 17.22 | 57.4 |
| x265 (HEVC) · preset medium+aq1 | 28 | 1,368.7 kbps | 81.75 | 78.69 | 39.46 | 18.47 | 53.2 |
| x265 (HEVC) · preset medium+aq3 | 28 | 1,825.6 kbps | 86.45 | 84.05 | 40.26 | 16.28 | 60.8 |
| x265 (HEVC) · preset medium+aq4 | 28 | 1,383.3 kbps | 81.90 | 78.98 | 39.48 | 13.71 | 68.4 |
| x265 (HEVC) · preset medium | 34 | 684.4 kbps | 71.43 | 67.91 | 37.68 | 24.17 | 40.5 |
| x265 (HEVC) · preset medium+psy0 | 34 | 590 kbps | 69.32 | 65.52 | 37.59 | 25.6 | 37.1 |
| x265 (HEVC) · preset medium+psy1 | 34 | 635.8 kbps | 70.73 | 67.12 | 37.69 | 24.37 | 39.7 |
| x265 (HEVC) · preset medium+aq1 | 34 | 557.1 kbps | 65.62 | 61.97 | 36.88 | 26.17 | 36.7 |
| x265 (HEVC) · preset medium+aq3 | 34 | 751.4 kbps | 72.85 | 69.44 | 37.92 | 23.42 | 41.7 |
| x265 (HEVC) · preset medium+aq4 | 34 | 562.4 kbps | 65.68 | 61.85 | 36.90 | 17.35 | 52.2 |
| x265 (HEVC) · preset medium | 40 | 270.9 kbps | 51.04 | 46.88 | 34.60 | 29.34 | 30.0 |
| x265 (HEVC) · preset medium+psy0 | 40 | 251 kbps | 49.09 | 44.91 | 34.49 | 30.72 | 27.8 |
| x265 (HEVC) · preset medium+psy1 | 40 | 261.2 kbps | 50.20 | 45.85 | 34.56 | 30.47 | 29.6 |
| x265 (HEVC) · preset medium+aq1 | 40 | 223.1 kbps | 43.90 | 39.75 | 33.69 | 31.41 | 27.1 |
| x265 (HEVC) · preset medium+aq3 | 40 | 299.9 kbps | 52.88 | 48.70 | 34.90 | 29.6 | 29.9 |
| x265 (HEVC) · preset medium+aq4 | 40 | 221.8 kbps | 43.91 | 39.27 | 33.73 | 18.73 | 41.4 |
How to read it, and what we saw
1. At the same CRF: how much did size, VMAF and PSNR change?
Each cell in the tables below is "variant − baseline (defaults)" for the same clip at the same CRF. The format is mean VMAF change / PSNR change (dB) / file size change.
Differences of CSV values, against the baseline at the same CRF (x265 medium, psy-rd=2.0).
Differences of CSV values, against the baseline at the same CRF (x265 medium, psy-rd=2.0).
Differences of CSV values, against the baseline at the same CRF (x265 medium, aq-mode=2).
Differences of CSV values, against the baseline at the same CRF (x265 medium, aq-mode=2).
Differences of CSV values, against the baseline at the same CRF (x265 medium, aq-mode=2).
- Lowering psy-rd always made files smaller. psy-rd=0 cut size by 4.5% to 16.2% in all 16 cells, and psy-rd=1.0 cut it by 2.1% to 9.0% in all 16. The reduction was larger on pedestrian_area, rush_hour and riverbed and smaller on blue_sky. Lower values (2.0 → 1.0 → 0) generally shrank the file more.
- The cost was a small drop in mean VMAF. With psy-rd=0, mean VMAF fell in 15 cells (−0.15 to −2.31) and stayed the same in 1 (blue_sky at CRF 22, 99.977 for both). With psy-rd=1.0 it fell by 0.06 to 0.89 in 15 cells, with the same one cell unchanged. The drop was generally larger at higher CRF (lower quality).
- PSNR did not rise consistently. With psy-rd=0, PSNR rose in only 6 of 16 cells (all 4 riverbed cells, +0.06 to +0.14, and 2 rush_hour cells, +0.09 and +0.02); the other 10 fell by 0.03 to 0.29 dB. On blue_sky all 4 fell. With psy-rd=1.0, 10 cells rose (+0.01 to +0.11) and 6 fell (−0.03 to −0.08). So the claim that turning psy-rd off raises PSNR depended on the clip in this data. This experiment did not check why.
- In some cells the 5th-percentile score fell more than the mean. On blue_sky at CRF 28 with psy-rd=0, the mean dropped 0.51 while the 5th percentile went from 96.323 to 94.403 (−1.92). On pedestrian_area at CRF 40, the mean fell 2.31 and the 5th percentile fell 2.84. In other cells, such as rush_hour at CRF 22, the two were nearly the same, so we can't generalize that harder scenes always lose more.
- aq-mode 1 and 4 cut file size a lot at the same CRF, but scores dropped a lot too. aq-mode=1 changed size by −13.3% to −31.0% with VMAF down by as much as 11.00; aq-mode=4 changed size by −13.4% to −39.0% with VMAF down by as much as 13.10. PSNR fell in all 16 cells for both settings (aq1 −0.41 to −1.75 dB, aq4 −0.39 to −2.09 dB). Spending fewer bits at the same CRF naturally lowers the score, so this comparison alone doesn't tell us about efficiency. We look at efficiency at the same VMAF in section 2 below.
- aq-mode=3 went the opposite way. File size rose in all 16 cells (+2.8% to +17.8%), VMAF stayed the same or rose (0.00 to +2.06), and PSNR rose in all 16 (+0.03 to +0.30 dB). The increase was larger on pedestrian_area and rush_hour and smaller on blue_sky.
- blue_sky at CRF 22 is in the saturated range. The baseline, psy0, psy1 and aq3 all have a mean VMAF of 99.977, yet file size differs, from 7,577,277 to 8,288,605 bytes. There's no room for the score to go higher there, so the "same score, different size" comparison in this cell isn't very meaningful.
2. At the same VMAF: file size comparison (interpolated)
Bitrate interpolated to a mean VMAF of 90. Parentheses show the change versus the default (x265 medium). For a 10-second clip, kbps × 1.25 ÷ 1,000 gives the size in MB.
Bitrate interpolated to a mean VMAF of 80. Parentheses show the change versus the default (x265 medium).
- The lower-psy-rd settings were smaller at the same VMAF, too. psy-rd=0 was 1.3% to 10.0% smaller in all 8 comparisons, and psy-rd=1.0 was 1.6% to 8.3% smaller in all 8. At the same CRF, VMAF fell as the file shrank; viewed along the curve, though, the file shrank by more than the score dropped. The savings were smallest on blue_sky (−1.3% to −2.3%) and larger on pedestrian_area and riverbed.
- The gap between psy-rd=0 and 1.0 was mostly small. In 7 of the 8 comparisons psy-rd=0 was smaller, and the two settings differed by at most 3.0 percentage points (riverbed at VMAF 80, −9.6% vs. −6.6%). On blue_sky at VMAF 80, psy-rd=1.0 was actually slightly smaller (−1.8% vs. −1.3%).
- aq-mode 1, 3 and 4 were larger than the default at the same VMAF in all 8 comparisons. aq-mode=1 was +2.5% to +13.9%, aq-mode=3 was +1.0% to +7.1%, and aq-mode=4 was +0.5% to +17.7%. Even aq-mode 1 and 4, which shrank files at the same CRF, needed more bits to reach the same score. aq-mode=3 raised both score and size at the same CRF, and when matched on score it was still slightly larger than the default.
- These are VMAF and PSNR results. Changing aq-mode changes how bits are split between flat and complex areas, and averaged metrics like VMAF and PSNR may not fully capture how that split looks to the eye. That a setting was larger at the same VMAF doesn't mean it's worse to look at. Conversely, this data gives no evidence that aq-mode 1 and 4, whose scores fell, look fine.
3. Speed (for reference)
Encoding CPU time (utime) with psy-rd=0 was lower than the default in all 16 cells (4 clips × 4 CRFs), by 2.2% to 9.1% (for example, blue_sky at CRF 22 went from 57.141 s to 51.922 s). With aq-mode=4, 11 of the 16 cells actually took longer. For example, blue_sky at CRF 40 went from 25.0 s to 35.125 s (+40.5%), pedestrian_area at CRF 40 from 36.578 s to 49.672 s (+35.8%), and rush_hour at CRF 40 from 30.016 s to 41.391 s (+37.9%), while riverbed was lower in all 4 (for example, at CRF 22, 241.844 s to 231.688 s). This PC runs jobs at IDLE priority, so timings fluctuate; use them for direction only. Decoding CPU time (4 threads, dec_utime_s) ranged from 1.2 to 4.9 s. Higher-bitrate settings generally took slightly longer, but the differences between settings were small, so we draw no conclusion (for example, riverbed at CRF 22 took 4.75 s at 23.8 MB for the default and 4.188 s at 18.7 MB for aq-mode=4).
Limitations
- A score is not visible quality. psy-rd and aq-mode are known to be options for the texture and flat areas that people see, and this article measured only VMAF and PSNR without comparing by eye. Don't conclude that a lower score means worse quality or that a higher score means better quality.
- We couldn't compare with the NEG model. The VMAF NEG model isn't available on this PC, so we report only default-model numbers.
- The values are interpolated. We didn't encode to hit VMAF 90 or 80 directly. Where the VMAF gap between CRF points is wider than 10 points, interpolation error can be large (for example, the default's VMAF 90 and 80 on blue_sky were computed between CRF 34 (92.2) and CRF 40 (75.1), and VMAF 90 for psy-rd=0 on pedestrian_area between CRF 22 and CRF 28). Treat differences within 1–2% as direction only.
- Only a few option values. We tested only three psy-rd values (0, 1.0 and 2.0) and aq-mode 1, 2, 3 and 4. We didn't measure psy-rdoq, aq-strength or aq-mode 0, and there are no combinations that change both options together. The preset is medium only.
- Only four 10-second clips. They differ in character (scenery, city, ripples), but animation, screen recordings, dark footage and film-grain footage are missing. aq-mode 3 is known as an option for dark scenes, and we didn't test a dark clip.
- 8-bit yuv420p, 4 threads per job, one PC, one measurement run. Speed is for reference only because of the IDLE priority.
Practical recommendations
- This data gave us no score-based reason to change the defaults (psy-rd=2.0, aq-mode=2). Changing the values only traded file size against score at the same CRF. The simplest way to trade size against score is CRF, so before touching these options, see how much size changes when you raise CRF by a few steps (CRF step size rule).
- Lowering psy-rd gave files about 1–10% smaller at the same VMAF. If you're shrinking files based on scores (score-based comparisons, benchmarks), be aware this effect exists when you compare. Whether that size saving keeps the quality people actually see has to be checked by eye. The risk of comparing the same video by score alone is also covered in sharpening and VMAF.
- Don't line up scores from encodes made with different options and pick a winner. Even at the same CRF, file size differed by −39% to +18% depending on aq-mode. When comparing, match on the same file size or the same VMAF.
- The harder the footage (like riverbed, with ripples and high-frequency detail), the larger the absolute size change from option differences. At CRF 22, riverbed was 18.8 MB with aq-mode=1 and 23.8 MB with the default. For how CRF differs by footage type, see why CRF should be set per video; for interpreting scores, see the VMAF score interpreter and the VMAF 5th-percentile measurements.
- To check for yourself, use the VMAF FFmpeg command builder to measure VMAF the same way, and compare the same segments side by side by eye. For time and size by x265 preset, see x265 preset measurements.
You can download all the raw data from the CSV at the bottom of the page. The same-CRF differences and interpolated values can be recomputed from the vmaf_mean, vmaf_p5, psnr_y, size_bytes, kbps and utime_s columns of the CSV.
Raw data: x265-psy-rd-aq-mode-size-vmaf-v1.csv