Lab · 2026-11-23한국어日本語

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)

The short answer

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.

What this article shows, and what it doesn't

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

ItemDetails
FFmpeg9.0.2 (gyan.dev full_build)
PCOne machine: AMD Ryzen 5 PRO 4650G (6 cores, 12 threads), 16 GB RAM
Threads per job4 (pools=4). Process priority set to IDLE
Input formatyuv420p 8-bit, 1920x1080, 25 fps. Input is the original y4m; output is mkv (no audio)
LengthOnly the first 250 frames (10 seconds) of each clip
VMAFlibvmaf default model (vmaf_v0.6.1), measured frame by frame against the source. The NEG model was not used
PSNRpsnr_y in the CSV. This is luma (Y) PSNR, the average of per-frame values against the source
Measured on2026-11-22 (4 clips × 24 encodes = 96 encodes)

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).

Name (CSV preset column)Option changedQuality values (CRF), 4 stepsCommand (key options)
medium (baseline)None (psy-rd=2.0, aq-mode=2)22, 28, 34, 40-c:v libx265 -preset medium -crf Q -x265-params pools=4:log-level=error
medium+psy0psy-rd=022, 28, 34, 40-c:v libx265 -preset medium -crf Q -x265-params pools=4:log-level=error:psy-rd=0
medium+psy1psy-rd=1.022, 28, 34, 40-c:v libx265 -preset medium -crf Q -x265-params pools=4:log-level=error:psy-rd=1.0
medium+aq1aq-mode=122, 28, 34, 40-c:v libx265 -preset medium -crf Q -x265-params pools=4:log-level=error:aq-mode=1
medium+aq3aq-mode=322, 28, 34, 40-c:v libx265 -preset medium -crf Q -x265-params pools=4:log-level=error:aq-mode=3
medium+aq4aq-mode=422, 28, 34, 40-c:v libx265 -preset medium -crf Q -x265-params pools=4:log-level=error:aq-mode=4

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

60708090100500k1M2M5MBitrate (bps, log scale)VMAFx265 (HEVC) · preset medium q=40: 489.1 kbps, VMAF 75.054x265 (HEVC) · preset medium q=34: 1,077.3 kbps, VMAF 92.235x265 (HEVC) · preset medium q=28: 2,481.5 kbps, VMAF 99.428x265 (HEVC) · preset medium q=22: 6,348.2 kbps, VMAF 99.977x265 (HEVC) · preset medium+psy0 q=40: 442.3 kbps, VMAF 72.999x265 (HEVC) · preset medium+psy0 q=34: 994.4 kbps, VMAF 91.028x265 (HEVC) · preset medium+psy0 q=28: 2,338.2 kbps, VMAF 98.918x265 (HEVC) · preset medium+psy0 q=22: 6,061.8 kbps, VMAF 99.977x265 (HEVC) · preset medium+psy1 q=40: 467.3 kbps, VMAF 74.488x265 (HEVC) · preset medium+psy1 q=34: 1,037.9 kbps, VMAF 91.766x265 (HEVC) · preset medium+psy1 q=28: 2,416.1 kbps, VMAF 99.236x265 (HEVC) · preset medium+psy1 q=22: 6,214.6 kbps, VMAF 99.977x265 (HEVC) · preset medium+aq1 q=40: 350 kbps, VMAF 64.054x265 (HEVC) · preset medium+aq1 q=34: 793.7 kbps, VMAF 85.311x265 (HEVC) · preset medium+aq1 q=28: 1,798.2 kbps, VMAF 97.343x265 (HEVC) · preset medium+aq1 q=22: 4,441.9 kbps, VMAF 99.958x265 (HEVC) · preset medium+aq3 q=40: 503.4 kbps, VMAF 75.413x265 (HEVC) · preset medium+aq3 q=34: 1,107.9 kbps, VMAF 92.294x265 (HEVC) · preset medium+aq3 q=28: 2,558.4 kbps, VMAF 99.431x265 (HEVC) · preset medium+aq3 q=22: 6,630.9 kbps, VMAF 99.977x265 (HEVC) · preset medium+aq4 q=40: 312.1 kbps, VMAF 61.954x265 (HEVC) · preset medium+aq4 q=34: 715.2 kbps, VMAF 83.901x265 (HEVC) · preset medium+aq4 q=28: 1,606.1 kbps, VMAF 96.81x265 (HEVC) · preset medium+aq4 q=22: 3,871.3 kbps, VMAF 99.949
x265 (HEVC) · preset mediumx265 (HEVC) · preset medium+psy0x265 (HEVC) · preset medium+psy1x265 (HEVC) · preset medium+aq1x265 (HEVC) · preset medium+aq3x265 (HEVC) · preset medium+aq4
blue_sky — blue sky and tree branches — bitrate vs. VMAF (defaults vs. psy-rd and aq-mode variants)
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
x265 (HEVC) · preset medium226,348.2 kbps99.98100.0041.1417.6257.1
x265 (HEVC) · preset medium+psy0226,061.8 kbps99.98100.0041.0119.2351.9
x265 (HEVC) · preset medium+psy1226,214.6 kbps99.98100.0041.1118.2255.4
x265 (HEVC) · preset medium+aq1224,441.9 kbps99.96100.0039.9621.0747.4
x265 (HEVC) · preset medium+aq3226,630.9 kbps99.98100.0041.1717.1958.5
x265 (HEVC) · preset medium+aq4223,871.3 kbps99.95100.0039.7116.4756.8
x265 (HEVC) · preset medium282,481.5 kbps99.4396.3238.4526.1438.3
x265 (HEVC) · preset medium+psy0282,338.2 kbps98.9294.4038.2326.2837.2
x265 (HEVC) · preset medium+psy1282,416.1 kbps99.2495.3538.3826.4237.9
x265 (HEVC) · preset medium+aq1281,798.2 kbps97.3491.1237.0028.9333.7
x265 (HEVC) · preset medium+aq3282,558.4 kbps99.4396.4238.4825.8238.5
x265 (HEVC) · preset medium+aq4281,606.1 kbps96.8190.3636.7120.2245.1
x265 (HEVC) · preset medium341,077.3 kbps92.2383.5135.2532.7129.8
x265 (HEVC) · preset medium+psy034994.4 kbps91.0382.0035.0534.0528.1
x265 (HEVC) · preset medium+psy1341,037.9 kbps91.7782.7035.1932.8729.3
x265 (HEVC) · preset medium+aq134793.7 kbps85.3176.0633.6534.7227.4
x265 (HEVC) · preset medium+aq3341,107.9 kbps92.2983.4335.2832.0430.0
x265 (HEVC) · preset medium+aq434715.2 kbps83.9075.7533.3422.7139.5
x265 (HEVC) · preset medium40489.1 kbps75.0566.2131.7438.3725.0
x265 (HEVC) · preset medium+psy040442.3 kbps73.0064.1431.4539.6923.5
x265 (HEVC) · preset medium+psy140467.3 kbps74.4965.2431.6638.924.4
x265 (HEVC) · preset medium+aq140350 kbps64.0554.1029.9940.0623.4
x265 (HEVC) · preset medium+aq340503.4 kbps75.4166.4831.7937.6224.9
x265 (HEVC) · preset medium+aq440312.1 kbps61.9552.3029.6523.7135.1
blue_sky — blue sky and tree branches — all measurements (including PSNR column)

pedestrian_area — pedestrian street

405060708090100500k1M2M5MBitrate (bps, log scale)VMAFx265 (HEVC) · preset medium q=40: 443.3 kbps, VMAF 53.875x265 (HEVC) · preset medium q=34: 924.9 kbps, VMAF 76.503x265 (HEVC) · preset medium q=28: 1,873.7 kbps, VMAF 90.834x265 (HEVC) · preset medium q=22: 4,357.1 kbps, VMAF 97.842x265 (HEVC) · preset medium+psy0 q=40: 407.1 kbps, VMAF 51.566x265 (HEVC) · preset medium+psy0 q=34: 794 kbps, VMAF 74.61x265 (HEVC) · preset medium+psy0 q=28: 1,587.4 kbps, VMAF 89.817x265 (HEVC) · preset medium+psy0 q=22: 3,650.9 kbps, VMAF 97.458x265 (HEVC) · preset medium+psy1 q=40: 419.5 kbps, VMAF 52.984x265 (HEVC) · preset medium+psy1 q=34: 845.2 kbps, VMAF 76.089x265 (HEVC) · preset medium+psy1 q=28: 1,705.5 kbps, VMAF 90.701x265 (HEVC) · preset medium+psy1 q=22: 3,977.4 kbps, VMAF 97.786x265 (HEVC) · preset medium+aq1 q=40: 378.7 kbps, VMAF 45.744x265 (HEVC) · preset medium+aq1 q=34: 802 kbps, VMAF 70.408x265 (HEVC) · preset medium+aq1 q=28: 1,622.4 kbps, VMAF 87.362x265 (HEVC) · preset medium+aq1 q=22: 3,603.8 kbps, VMAF 96.38x265 (HEVC) · preset medium+aq3 q=40: 488.4 kbps, VMAF 55.939x265 (HEVC) · preset medium+aq3 q=34: 1,005.4 kbps, VMAF 77.884x265 (HEVC) · preset medium+aq3 q=28: 2,049.2 kbps, VMAF 91.655x265 (HEVC) · preset medium+aq3 q=22: 4,978.3 kbps, VMAF 98.138x265 (HEVC) · preset medium+aq4 q=40: 376.6 kbps, VMAF 44.501x265 (HEVC) · preset medium+aq4 q=34: 801.1 kbps, VMAF 69.294x265 (HEVC) · preset medium+aq4 q=28: 1,620.1 kbps, VMAF 86.84x265 (HEVC) · preset medium+aq4 q=22: 3,561.6 kbps, VMAF 96.147
x265 (HEVC) · preset mediumx265 (HEVC) · preset medium+psy0x265 (HEVC) · preset medium+psy1x265 (HEVC) · preset medium+aq1x265 (HEVC) · preset medium+aq3x265 (HEVC) · preset medium+aq4
pedestrian_area — pedestrian street — bitrate vs. VMAF (defaults vs. psy-rd and aq-mode variants)
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
x265 (HEVC) · preset medium224,357.1 kbps97.8495.0641.4812.678.6
x265 (HEVC) · preset medium+psy0223,650.9 kbps97.4694.4741.4513.8671.6
x265 (HEVC) · preset medium+psy1223,977.4 kbps97.7994.9241.5212.8976.7
x265 (HEVC) · preset medium+aq1223,603.8 kbps96.3893.5440.9814.170.8
x265 (HEVC) · preset medium+aq3224,978.3 kbps98.1495.4041.6612.3180.7
x265 (HEVC) · preset medium+aq4223,561.6 kbps96.1593.1640.9111.6783.4
x265 (HEVC) · preset medium281,873.7 kbps90.8388.0939.3717.2157.8
x265 (HEVC) · preset medium+psy0281,587.4 kbps89.8286.8639.2718.0554.9
x265 (HEVC) · preset medium+psy1281,705.5 kbps90.7087.8039.3917.0358.4
x265 (HEVC) · preset medium+aq1281,622.4 kbps87.3684.5738.6818.3254.0
x265 (HEVC) · preset medium+aq3282,049.2 kbps91.6688.8239.5916.8358.6
x265 (HEVC) · preset medium+aq4281,620.1 kbps86.8484.1038.5713.9767.3
x265 (HEVC) · preset medium34924.9 kbps76.5073.5136.6921.446.4
x265 (HEVC) · preset medium+psy034794 kbps74.6171.1436.5722.2344.3
x265 (HEVC) · preset medium+psy134845.2 kbps76.0973.1036.7021.1746.6
x265 (HEVC) · preset medium+aq134802 kbps70.4167.2235.8622.7943.3
x265 (HEVC) · preset medium+aq3341,005.4 kbps77.8874.9036.9521.146.8
x265 (HEVC) · preset medium+aq434801.1 kbps69.2966.0835.7316.2358.0
x265 (HEVC) · preset medium40443.3 kbps53.8849.9933.6026.2736.6
x265 (HEVC) · preset medium+psy040407.1 kbps51.5747.1633.4627.535.4
x265 (HEVC) · preset medium+psy140419.5 kbps52.9848.7833.5726.2537.3
x265 (HEVC) · preset medium+aq140378.7 kbps45.7441.5132.6527.5834.6
x265 (HEVC) · preset medium+aq340488.4 kbps55.9452.1733.8725.7538.1
x265 (HEVC) · preset medium+aq440376.6 kbps44.5039.5732.5318.5949.7
pedestrian_area — pedestrian street — all measurements (including PSNR column)

riverbed — riverbed (small ripples)

20304050607080901002M5M10M20MBitrate (bps, log scale)VMAFx265 (HEVC) · preset medium q=40: 1,799.1 kbps, VMAF 38.373x265 (HEVC) · preset medium q=34: 4,533.4 kbps, VMAF 63.208x265 (HEVC) · preset medium q=28: 9,535.6 kbps, VMAF 86.4x265 (HEVC) · preset medium q=22: 19,060.6 kbps, VMAF 99.592x265 (HEVC) · preset medium+psy0 q=40: 1,624.6 kbps, VMAF 36.443x265 (HEVC) · preset medium+psy0 q=34: 3,876.2 kbps, VMAF 61.28x265 (HEVC) · preset medium+psy0 q=28: 8,338.1 kbps, VMAF 85.404x265 (HEVC) · preset medium+psy0 q=22: 17,090.5 kbps, VMAF 99.445x265 (HEVC) · preset medium+psy1 q=40: 1,699.2 kbps, VMAF 37.53x265 (HEVC) · preset medium+psy1 q=34: 4,173.6 kbps, VMAF 62.871x265 (HEVC) · preset medium+psy1 q=28: 8,826 kbps, VMAF 86.091x265 (HEVC) · preset medium+psy1 q=22: 17,793.7 kbps, VMAF 99.536x265 (HEVC) · preset medium+aq1 q=40: 1,240.6 kbps, VMAF 29.784x265 (HEVC) · preset medium+aq1 q=34: 3,372.9 kbps, VMAF 52.988x265 (HEVC) · preset medium+aq1 q=28: 7,456.5 kbps, VMAF 78.192x265 (HEVC) · preset medium+aq1 q=22: 15,057.7 kbps, VMAF 96.234x265 (HEVC) · preset medium+aq3 q=40: 1,920.6 kbps, VMAF 39.281x265 (HEVC) · preset medium+aq3 q=34: 4,764.9 kbps, VMAF 64.249x265 (HEVC) · preset medium+aq3 q=28: 9,973.8 kbps, VMAF 87.225x265 (HEVC) · preset medium+aq3 q=22: 19,955.6 kbps, VMAF 99.758x265 (HEVC) · preset medium+aq4 q=40: 1,236.5 kbps, VMAF 28.077x265 (HEVC) · preset medium+aq4 q=34: 3,323.7 kbps, VMAF 50.686x265 (HEVC) · preset medium+aq4 q=28: 7,391.7 kbps, VMAF 76.279x265 (HEVC) · preset medium+aq4 q=22: 14,957.4 kbps, VMAF 95.06
x265 (HEVC) · preset mediumx265 (HEVC) · preset medium+psy0x265 (HEVC) · preset medium+psy1x265 (HEVC) · preset medium+aq1x265 (HEVC) · preset medium+aq3x265 (HEVC) · preset medium+aq4
riverbed — riverbed (small ripples) — bitrate vs. VMAF (defaults vs. psy-rd and aq-mode variants)
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
x265 (HEVC) · preset medium2219,060.6 kbps99.5998.1138.694.05241.8
x265 (HEVC) · preset medium+psy02217,090.5 kbps99.4497.7438.744.3228.3
x265 (HEVC) · preset medium+psy12217,793.7 kbps99.5497.8938.754.06242.3
x265 (HEVC) · preset medium+aq12215,057.7 kbps96.2393.0837.554.47220.0
x265 (HEVC) · preset medium+aq32219,955.6 kbps99.7698.6038.844.02244.1
x265 (HEVC) · preset medium+aq42214,957.4 kbps95.0691.6237.314.22231.7
x265 (HEVC) · preset medium289,535.6 kbps86.4081.9435.595.36184.1
x265 (HEVC) · preset medium+psy0288,338.1 kbps85.4080.7035.665.46179.7
x265 (HEVC) · preset medium+psy1288,826 kbps86.0981.6435.685.21188.7
x265 (HEVC) · preset medium+aq1287,456.5 kbps78.1973.3634.395.9166.0
x265 (HEVC) · preset medium+aq3289,973.8 kbps87.2282.8635.765.21188.6
x265 (HEVC) · preset medium+aq4287,391.7 kbps76.2871.2834.125.63174.3
x265 (HEVC) · preset medium344,533.4 kbps63.2157.7932.367.2136.3
x265 (HEVC) · preset medium+psy0343,876.2 kbps61.2855.3232.467.38133.3
x265 (HEVC) · preset medium+psy1344,173.6 kbps62.8757.2832.446.96141.3
x265 (HEVC) · preset medium+aq1343,372.9 kbps52.9947.4931.138.18120.2
x265 (HEVC) · preset medium+aq3344,764.9 kbps64.2558.6432.527.03139.8
x265 (HEVC) · preset medium+aq4343,323.7 kbps50.6945.3130.897.6129.5
x265 (HEVC) · preset medium401,799.1 kbps38.3733.2829.1610.5892.8
x265 (HEVC) · preset medium+psy0401,624.6 kbps36.4431.3129.3011.2887.4
x265 (HEVC) · preset medium+psy1401,699.2 kbps37.5332.3029.2710.7391.7
x265 (HEVC) · preset medium+aq1401,240.6 kbps29.7825.0427.9913.0475.9
x265 (HEVC) · preset medium+aq3401,920.6 kbps39.2834.0229.3210.3395.3
x265 (HEVC) · preset medium+aq4401,236.5 kbps28.0823.4927.7711.2286.9
riverbed — riverbed (small ripples) — all measurements (including PSNR column)

rush_hour — rush-hour road

405060708090100200k500k1M2M5MBitrate (bps, log scale)VMAFx265 (HEVC) · preset medium q=40: 270.9 kbps, VMAF 51.041x265 (HEVC) · preset medium q=34: 684.4 kbps, VMAF 71.433x265 (HEVC) · preset medium q=28: 1,644.7 kbps, VMAF 85.76x265 (HEVC) · preset medium q=22: 4,009.4 kbps, VMAF 93.759x265 (HEVC) · preset medium+psy0 q=40: 251 kbps, VMAF 49.089x265 (HEVC) · preset medium+psy0 q=34: 590 kbps, VMAF 69.316x265 (HEVC) · preset medium+psy0 q=28: 1,409.2 kbps, VMAF 84.48x265 (HEVC) · preset medium+psy0 q=22: 3,434 kbps, VMAF 93.193x265 (HEVC) · preset medium+psy1 q=40: 261.2 kbps, VMAF 50.2x265 (HEVC) · preset medium+psy1 q=34: 635.8 kbps, VMAF 70.73x265 (HEVC) · preset medium+psy1 q=28: 1,529.2 kbps, VMAF 85.546x265 (HEVC) · preset medium+psy1 q=22: 3,718.5 kbps, VMAF 93.682x265 (HEVC) · preset medium+aq1 q=40: 223.1 kbps, VMAF 43.901x265 (HEVC) · preset medium+aq1 q=34: 557.1 kbps, VMAF 65.622x265 (HEVC) · preset medium+aq1 q=28: 1,368.7 kbps, VMAF 81.748x265 (HEVC) · preset medium+aq1 q=22: 3,430.4 kbps, VMAF 91.597x265 (HEVC) · preset medium+aq3 q=40: 299.9 kbps, VMAF 52.882x265 (HEVC) · preset medium+aq3 q=34: 751.4 kbps, VMAF 72.851x265 (HEVC) · preset medium+aq3 q=28: 1,825.6 kbps, VMAF 86.455x265 (HEVC) · preset medium+aq3 q=22: 4,722.1 kbps, VMAF 94.171x265 (HEVC) · preset medium+aq4 q=40: 221.8 kbps, VMAF 43.906x265 (HEVC) · preset medium+aq4 q=34: 562.4 kbps, VMAF 65.68x265 (HEVC) · preset medium+aq4 q=28: 1,383.3 kbps, VMAF 81.904x265 (HEVC) · preset medium+aq4 q=22: 3,401.4 kbps, VMAF 91.671
x265 (HEVC) · preset mediumx265 (HEVC) · preset medium+psy0x265 (HEVC) · preset medium+psy1x265 (HEVC) · preset medium+aq1x265 (HEVC) · preset medium+aq3x265 (HEVC) · preset medium+aq4
rush_hour — rush-hour road — bitrate vs. VMAF (defaults vs. psy-rd and aq-mode variants)
EncoderQualityBitrateVMAF meanVMAF 5th pctPSNR-YEncode fpsCPU time (s)
x265 (HEVC) · preset medium224,009.4 kbps93.7692.0641.7711.6984.8
x265 (HEVC) · preset medium+psy0223,434 kbps93.1991.4741.8612.6478.2
x265 (HEVC) · preset medium+psy1223,718.5 kbps93.6892.0641.8511.8383.0
x265 (HEVC) · preset medium+aq1223,430.4 kbps91.6089.6741.3612.4379.6
x265 (HEVC) · preset medium+aq3224,722.1 kbps94.1792.5941.9010.7891.3
x265 (HEVC) · preset medium+aq4223,401.4 kbps91.6789.8141.3810.4891.9
x265 (HEVC) · preset medium281,644.7 kbps85.7683.2840.0817.1557.8
x265 (HEVC) · preset medium+psy0281,409.2 kbps84.4881.5840.1018.6753.1
x265 (HEVC) · preset medium+psy1281,529.2 kbps85.5582.9540.1317.2257.4
x265 (HEVC) · preset medium+aq1281,368.7 kbps81.7578.6939.4618.4753.2
x265 (HEVC) · preset medium+aq3281,825.6 kbps86.4584.0540.2616.2860.8
x265 (HEVC) · preset medium+aq4281,383.3 kbps81.9078.9839.4813.7168.4
x265 (HEVC) · preset medium34684.4 kbps71.4367.9137.6824.1740.5
x265 (HEVC) · preset medium+psy034590 kbps69.3265.5237.5925.637.1
x265 (HEVC) · preset medium+psy134635.8 kbps70.7367.1237.6924.3739.7
x265 (HEVC) · preset medium+aq134557.1 kbps65.6261.9736.8826.1736.7
x265 (HEVC) · preset medium+aq334751.4 kbps72.8569.4437.9223.4241.7
x265 (HEVC) · preset medium+aq434562.4 kbps65.6861.8536.9017.3552.2
x265 (HEVC) · preset medium40270.9 kbps51.0446.8834.6029.3430.0
x265 (HEVC) · preset medium+psy040251 kbps49.0944.9134.4930.7227.8
x265 (HEVC) · preset medium+psy140261.2 kbps50.2045.8534.5630.4729.6
x265 (HEVC) · preset medium+aq140223.1 kbps43.9039.7533.6931.4127.1
x265 (HEVC) · preset medium+aq340299.9 kbps52.8848.7034.9029.629.9
x265 (HEVC) · preset medium+aq440221.8 kbps43.9139.2733.7318.7341.4
rush_hour — rush-hour road — all measurements (including PSNR column)

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.

psy-rd=0CRF 22CRF 28CRF 34CRF 40
blue_sky0.00 / −0.13 / −4.5%−0.51 / −0.21 / −5.8%−1.21 / −0.20 / −7.7%−2.06 / −0.29 / −9.6%
pedestrian_area−0.38 / −0.03 / −16.2%−1.02 / −0.10 / −15.3%−1.89 / −0.11 / −14.2%−2.31 / −0.14 / −8.2%
riverbed−0.15 / +0.06 / −10.3%−1.00 / +0.07 / −12.6%−1.93 / +0.10 / −14.5%−1.93 / +0.14 / −9.7%
rush_hour−0.57 / +0.09 / −14.4%−1.28 / +0.02 / −14.3%−2.12 / −0.08 / −13.8%−1.95 / −0.11 / −7.4%

Differences of CSV values, against the baseline at the same CRF (x265 medium, psy-rd=2.0).

psy-rd=1.0CRF 22CRF 28CRF 34CRF 40
blue_sky0.00 / −0.03 / −2.1%−0.19 / −0.07 / −2.6%−0.47 / −0.07 / −3.7%−0.57 / −0.08 / −4.5%
pedestrian_area−0.06 / +0.04 / −8.7%−0.13 / +0.02 / −9.0%−0.41 / +0.01 / −8.6%−0.89 / −0.03 / −5.4%
riverbed−0.06 / +0.06 / −6.6%−0.31 / +0.08 / −7.4%−0.34 / +0.08 / −7.9%−0.84 / +0.11 / −5.6%
rush_hour−0.08 / +0.08 / −7.3%−0.21 / +0.05 / −7.0%−0.70 / +0.01 / −7.1%−0.84 / −0.03 / −3.6%

Differences of CSV values, against the baseline at the same CRF (x265 medium, psy-rd=2.0).

aq-mode=1CRF 22CRF 28CRF 34CRF 40
blue_sky−0.02 / −1.18 / −30.0%−2.09 / −1.45 / −27.5%−6.92 / −1.61 / −26.3%−11.00 / −1.75 / −28.4%
pedestrian_area−1.46 / −0.50 / −17.3%−3.47 / −0.69 / −13.4%−6.10 / −0.83 / −13.3%−8.13 / −0.95 / −14.6%
riverbed−3.36 / −1.14 / −21.0%−8.21 / −1.21 / −21.8%−10.22 / −1.23 / −25.6%−8.59 / −1.17 / −31.0%
rush_hour−2.16 / −0.41 / −14.4%−4.01 / −0.62 / −16.8%−5.81 / −0.79 / −18.6%−7.14 / −0.91 / −17.7%

Differences of CSV values, against the baseline at the same CRF (x265 medium, aq-mode=2).

aq-mode=3CRF 22CRF 28CRF 34CRF 40
blue_sky0.00 / +0.03 / +4.5%0.00 / +0.03 / +3.1%+0.06 / +0.03 / +2.8%+0.36 / +0.05 / +2.9%
pedestrian_area+0.30 / +0.17 / +14.3%+0.82 / +0.22 / +9.4%+1.38 / +0.26 / +8.7%+2.06 / +0.28 / +10.2%
riverbed+0.17 / +0.16 / +4.7%+0.83 / +0.16 / +4.6%+1.04 / +0.16 / +5.1%+0.91 / +0.16 / +6.8%
rush_hour+0.41 / +0.13 / +17.8%+0.70 / +0.19 / +11.0%+1.42 / +0.25 / +9.8%+1.84 / +0.30 / +10.7%

Differences of CSV values, against the baseline at the same CRF (x265 medium, aq-mode=2).

aq-mode=4CRF 22CRF 28CRF 34CRF 40
blue_sky−0.03 / −1.43 / −39.0%−2.62 / −1.74 / −35.3%−8.33 / −1.92 / −33.6%−13.10 / −2.09 / −36.2%
pedestrian_area−1.70 / −0.58 / −18.3%−3.99 / −0.80 / −13.5%−7.21 / −0.96 / −13.4%−9.37 / −1.06 / −15.0%
riverbed−4.53 / −1.38 / −21.5%−10.12 / −1.48 / −22.5%−12.52 / −1.47 / −26.7%−10.30 / −1.39 / −31.3%
rush_hour−2.09 / −0.39 / −15.2%−3.86 / −0.60 / −15.9%−5.75 / −0.77 / −17.8%−7.14 / −0.87 / −18.1%

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)

VMAF 90Default (kbps)psy-rd=0psy-rd=1.0aq-mode=1aq-mode=3aq-mode=4
blue_sky972950 (−2.3%)957 (−1.6%)1,092 (+12.3%)995 (+2.4%)1,048 (+7.8%)
pedestrian_area1,7981,619 (−10.0%)1,649 (−8.3%)2,049 (+13.9%)1,881 (+4.6%)2,117 (+17.7%)
riverbed11,51910,546 (−8.4%)10,821 (−6.1%)11,811 (+2.5%)11,630 (+1.0%)12,372 (+7.4%)
rush_hour2,6382,478 (−6.1%)2,487 (−5.7%)2,956 (+12.1%)2,825 (+7.1%)2,916 (+10.6%)

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.

VMAF 80Default (kbps)psy-rd=0psy-rd=1.0aq-mode=1aq-mode=3aq-mode=4
blue_sky614606 (−1.3%)603 (−1.8%)647 (+5.4%)624 (+1.6%)617 (+0.5%)
pedestrian_area1,0991,015 (−7.6%)1,020 (−7.2%)1,195 (+8.7%)1,122 (+2.1%)1,231 (+12.1%)
riverbed7,7667,023 (−9.6%)7,252 (−6.6%)8,000 (+3.0%)7,907 (+1.8%)8,500 (+9.4%)
rush_hour1,1561,090 (−5.8%)1,101 (−4.8%)1,242 (+7.4%)1,198 (+3.6%)1,245 (+7.7%)

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