2-Pass vs CRF Tested: Is Quality Really Different at the Same File Size, and How Far Off Is the Target Bitrate? (x264, x265)
We encoded x264 and x265 at 5 CRF levels and with 5 two-pass targets (800–12,000 kbps), then compared mean, 5th-percentile and minimum VMAF at the same file size. Mean VMAF differed by only -1.1 to +1.0 points in all 25 comparisons, and the actual two-pass bitrate missed its target by up to 13.2%. Two-pass took 1.01–1.10× the time of same-size CRF for x264 and 1.65–1.88× for x265.
The test PC, FFmpeg and VMAF settings shared by every lab article are collected on the methodology page. Methodology (common to all tests)
At the same file size, two-pass and CRF scored almost the same mean VMAF. The value of two-pass was not quality but 'fixing the file size in advance', and even that missed its target by up to 13.2%. Across the 25 points left after excluding the saturated range (13 for x264, 12 for x265), two-pass mean VMAF was -1.1 to +1.0 points relative to CRF, and the average difference was +0.1 points for x264 and +0.3 points for x265. The actual bitrate was -11.6 to +9.9% off target for x264 and -13.2 to -1.9% for x265, and for both codecs the biggest miss was on blue_sky (-9.6 to -13.2%). The 5th-percentile and minimum VMAF were nearly the same for x265 (minimum -1.0 to +1.3 points), but for x264 the lower the bitrate, the lower two-pass's minimum VMAF was compared with CRF (down to -10.3 points). In time, x264 two-pass took 1.01–1.10× as long as same-size CRF, and x265 took 1.65–1.88×. These results are based on VMAF and do not mean the same thing as quality to the human eye.
Why we wanted to know
'ffmpeg two-pass encoding' is passed around as an old standard. You set a target bitrate, the first pass scans the whole video, and the second pass uses that information to distribute bits. CRF, on the other hand, finishes in one pass: quality is fixed and file size follows (how much smaller does the file get per CRF step). The common advice is 'two-pass if you have a size limit, CRF otherwise', but it is hard to see whether that holds up in numbers.
This article asks three questions. (1) When file size is matched, does two-pass beat CRF in mean, 5th-percentile and minimum VMAF? (2) By how many percent does the actual two-pass bitrate miss its target? (3) Do the results change with the type of footage and the codec? We also look at how much extra time it takes.
How we measured
VMAF is a quality metric developed by Netflix. It compares the original and the encoded result frame by frame and scores them from 0 to 100. The closer to 100, the harder the encode is to tell apart from the original. The 5th percentile (p5) is the score at the 5% mark when frames are ranked by score from the bottom, and the minimum (min) is the score of the single worst frame. Even when the means are equal, these two show how the bad frames are distributed (worst-frame VMAF tested). The score does not reproduce human perception exactly, so every 'higher quality' in this article means 'higher VMAF'.
Encoder settings
CRF numbers are on different scales across codecs, so do not compare them directly. The two-pass target kbps is the same for both codecs.
# x264 CRF
-c:v libx264 -preset medium -crf Q -threads 4
# x264 2-pass (Q = target kbps)
-c:v libx264 -preset medium -threads 4 -b:v Qk
# x265 CRF
-c:v libx265 -preset medium -crf Q -x265-params pools=4:log-level=error
# x265 2-pass (Q = target kbps)
-c:v libx265 -preset medium -x265-params pools=4:log-level=error -b:v QkThe two-pass entries ran a first and second pass with the options above (the FFmpeg -pass 1 and -pass 2 flags are omitted), and the times in the table (rtime_s and utime_s) are the sum of both passes. Bitrate (kbps) is the output file size divided by 10 seconds, so it includes a small amount of container overhead.
Test clip sources and license
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 the curves, the horizontal axis is bitrate and the vertical axis is VMAF. Each encoder setting gets one curve, and those marked '+2pass' are two-pass. A higher curve at the same horizontal position means higher quality at the same bitrate, so checking whether a codec's CRF curve and two-pass curve overlap answers the first question directly. The time columns in the tables fluctuate because the jobs ran at IDLE priority, so treat them as reference only.
blue_sky — blue sky and tree branches
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| x264 (H.264) · preset medium | 20 | 9,140.9 kbps | 99.98 | 100.00 | 41.10 | 20.51 | 34.1 |
| x264 (H.264) · preset medium | 25 | 3,868.7 kbps | 99.97 | 100.00 | 38.82 | 28.9 | 24.1 |
| x264 (H.264) · preset medium | 30 | 1,916.7 kbps | 98.22 | 93.78 | 36.15 | 38.89 | 18.9 |
| x264 (H.264) · preset medium | 35 | 1,068.6 kbps | 86.89 | 79.34 | 33.17 | 46.45 | 16.6 |
| x264 (H.264) · preset medium | 40 | 656.5 kbps | 68.11 | 58.80 | 30.07 | 50.7 | 15.0 |
| x264 (H.264) · preset medium+2pass | 800 | 722.9 kbps | 72.28 | 60.47 | 30.77 | 37.36 | 15.5 |
| x264 (H.264) · preset medium+2pass | 1500 | 1,333.8 kbps | 92.23 | 87.30 | 34.41 | 31.15 | 18.9 |
| x264 (H.264) · preset medium+2pass | 3000 | 2,651 kbps | 99.65 | 97.63 | 37.50 | 24.84 | 23.2 |
| x264 (H.264) · preset medium+2pass | 6000 | 5,323.8 kbps | 99.98 | 100.00 | 39.78 | 19.95 | 30.0 |
| x264 (H.264) · preset medium+2pass | 12000 | 10,672.9 kbps | 99.98 | 100.00 | 41.40 | 15.57 | 40.8 |
| x265 (HEVC) · preset medium | 22 | 6,348.2 kbps | 99.98 | 100.00 | 41.14 | 16.21 | 62.1 |
| x265 (HEVC) · preset medium | 27 | 2,882.1 kbps | 99.74 | 97.88 | 38.93 | 23.39 | 42.6 |
| x265 (HEVC) · preset medium | 32 | 1,420.9 kbps | 95.76 | 88.56 | 36.36 | 29.18 | 33.6 |
| x265 (HEVC) · preset medium | 37 | 728.9 kbps | 84.75 | 75.88 | 33.55 | 33.48 | 28.6 |
| x265 (HEVC) · preset medium | 42 | 369.4 kbps | 67.54 | 57.36 | 30.50 | 38.32 | 24.7 |
| x265 (HEVC) · preset medium+2pass | 800 | 694.6 kbps | 83.66 | 74.69 | 33.32 | 20.6 | 46.9 |
| x265 (HEVC) · preset medium+2pass | 1500 | 1,305.8 kbps | 94.67 | 86.51 | 36.00 | 17.09 | 57.8 |
| x265 (HEVC) · preset medium+2pass | 3000 | 2,612 kbps | 99.44 | 96.11 | 38.58 | 13.16 | 75.5 |
| x265 (HEVC) · preset medium+2pass | 6000 | 5,262.6 kbps | 99.97 | 100.00 | 40.65 | 9.28 | 107.1 |
| x265 (HEVC) · preset medium+2pass | 12000 | 10,567.7 kbps | 99.98 | 100.00 | 42.29 | 5.85 | 171.4 |
pedestrian_area — pedestrian street
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| x264 (H.264) · preset medium | 20 | 7,819.9 kbps | 98.75 | 95.97 | 41.65 | 17.46 | 42.8 |
| x264 (H.264) · preset medium | 25 | 3,563.2 kbps | 94.01 | 91.08 | 39.96 | 25.83 | 32.2 |
| x264 (H.264) · preset medium | 30 | 1,981.2 kbps | 84.21 | 81.33 | 37.85 | 34.35 | 25.7 |
| x264 (H.264) · preset medium | 35 | 1,164 kbps | 68.70 | 66.01 | 35.45 | 41.43 | 21.7 |
| x264 (H.264) · preset medium | 40 | 706.5 kbps | 48.43 | 45.60 | 32.85 | 46.42 | 18.8 |
| x264 (H.264) · preset medium+2pass | 800 | 845.5 kbps | 54.68 | 49.03 | 33.62 | 29.99 | 20.7 |
| x264 (H.264) · preset medium+2pass | 1500 | 1,541.8 kbps | 76.81 | 73.26 | 36.65 | 25.42 | 25.5 |
| x264 (H.264) · preset medium+2pass | 3000 | 3,014.9 kbps | 91.64 | 88.57 | 39.37 | 20.41 | 33.3 |
| x264 (H.264) · preset medium+2pass | 6000 | 5,964.9 kbps | 97.84 | 94.82 | 41.19 | 15.6 | 42.7 |
| x264 (H.264) · preset medium+2pass | 12000 | 11,889 kbps | 99.29 | 96.87 | 42.16 | 12.6 | 54.9 |
| x265 (HEVC) · preset medium | 22 | 4,357.1 kbps | 97.84 | 95.06 | 41.48 | 11.75 | 84.1 |
| x265 (HEVC) · preset medium | 27 | 2,123.4 kbps | 92.44 | 89.55 | 39.77 | 15.11 | 65.5 |
| x265 (HEVC) · preset medium | 32 | 1,164.4 kbps | 82.22 | 79.53 | 37.63 | 18.44 | 53.5 |
| x265 (HEVC) · preset medium | 37 | 647.8 kbps | 66.03 | 62.69 | 35.20 | 21.95 | 44.0 |
| x265 (HEVC) · preset medium | 42 | 341.1 kbps | 45.20 | 40.81 | 32.48 | 26.41 | 35.9 |
| x265 (HEVC) · preset medium+2pass | 800 | 780.4 kbps | 71.48 | 67.92 | 35.95 | 11.74 | 84.0 |
| x265 (HEVC) · preset medium+2pass | 1500 | 1,456.4 kbps | 86.76 | 83.86 | 38.48 | 9.4 | 105.0 |
| x265 (HEVC) · preset medium+2pass | 3000 | 2,942.3 kbps | 95.68 | 92.81 | 40.66 | 7.3 | 135.6 |
| x265 (HEVC) · preset medium+2pass | 6000 | 5,852 kbps | 98.65 | 96.07 | 41.94 | 5.54 | 179.5 |
| x265 (HEVC) · preset medium+2pass | 12000 | 11,663.2 kbps | 99.46 | 97.50 | 42.86 | 3.93 | 252.2 |
riverbed — riverbed (small ripples)
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| x264 (H.264) · preset medium | 20 | 29,769.2 kbps | 99.96 | 100.00 | 39.77 | 11.43 | 90.1 |
| x264 (H.264) · preset medium | 25 | 16,448.9 kbps | 97.93 | 96.24 | 37.05 | 12.96 | 79.3 |
| x264 (H.264) · preset medium | 30 | 9,188.1 kbps | 81.34 | 79.28 | 34.26 | 15.62 | 66.5 |
| x264 (H.264) · preset medium | 35 | 5,042.6 kbps | 57.62 | 54.52 | 31.39 | 20.04 | 51.5 |
| x264 (H.264) · preset medium | 40 | 2,576.3 kbps | 34.71 | 31.59 | 28.29 | 21.69 | 35.6 |
| x264 (H.264) · preset medium+2pass | 800 | 878.9 kbps | 21.99 | 18.47 | 24.64 | 19.88 | 23.9 |
| x264 (H.264) · preset medium+2pass | 1500 | 1,559.7 kbps | 26.31 | 22.46 | 26.18 | 18.03 | 29.2 |
| x264 (H.264) · preset medium+2pass | 3000 | 3,081.1 kbps | 39.71 | 35.34 | 29.00 | 14.86 | 41.4 |
| x264 (H.264) · preset medium+2pass | 6000 | 6,076.7 kbps | 64.97 | 61.59 | 32.25 | 11.95 | 58.2 |
| x264 (H.264) · preset medium+2pass | 12000 | 11,935.5 kbps | 89.70 | 87.56 | 35.51 | 9.79 | 75.6 |
| x265 (HEVC) · preset medium | 22 | 19,060.6 kbps | 99.59 | 98.11 | 38.69 | 3.62 | 272.1 |
| x265 (HEVC) · preset medium | 27 | 10,736.4 kbps | 89.47 | 85.28 | 36.12 | 4.43 | 221.6 |
| x265 (HEVC) · preset medium | 32 | 5,880.9 kbps | 71.63 | 66.24 | 33.45 | 5.72 | 170.8 |
| x265 (HEVC) · preset medium | 37 | 2,944.2 kbps | 50.57 | 45.15 | 30.73 | 7.42 | 132.3 |
| x265 (HEVC) · preset medium | 42 | 1,262.9 kbps | 31.42 | 26.54 | 28.14 | 11.3 | 87.5 |
| x265 (HEVC) · preset medium+2pass | 800 | 771 kbps | 24.57 | 21.25 | 26.86 | 8.37 | 118.3 |
| x265 (HEVC) · preset medium+2pass | 1500 | 1,447.1 kbps | 33.99 | 28.13 | 28.52 | 5.58 | 176.6 |
| x265 (HEVC) · preset medium+2pass | 3000 | 2,894.3 kbps | 50.11 | 43.72 | 30.68 | 4.37 | 224.9 |
| x265 (HEVC) · preset medium+2pass | 6000 | 5,800.5 kbps | 71.22 | 65.37 | 33.40 | 3.28 | 297.9 |
| x265 (HEVC) · preset medium+2pass | 12000 | 11,678.1 kbps | 91.48 | 87.25 | 36.50 | 2.49 | 392.4 |
rush_hour — rush-hour traffic
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| x264 (H.264) · preset medium | 20 | 8,033 kbps | 95.62 | 94.09 | 42.04 | 17.01 | 50.2 |
| x264 (H.264) · preset medium | 25 | 3,381.4 kbps | 89.93 | 87.94 | 40.79 | 26.54 | 33.6 |
| x264 (H.264) · preset medium | 30 | 1,778.7 kbps | 80.57 | 77.94 | 39.10 | 36 | 25.9 |
| x264 (H.264) · preset medium | 35 | 981.2 kbps | 66.75 | 63.43 | 36.94 | 44.54 | 20.2 |
| x264 (H.264) · preset medium | 40 | 534.7 kbps | 49.19 | 45.03 | 34.29 | 46.94 | 15.9 |
| x264 (H.264) · preset medium+2pass | 800 | 858.1 kbps | 62.50 | 57.18 | 36.30 | 29.5 | 20.8 |
| x264 (H.264) · preset medium+2pass | 1500 | 1,564.7 kbps | 77.68 | 74.03 | 38.63 | 24.86 | 26.3 |
| x264 (H.264) · preset medium+2pass | 3000 | 3,044.8 kbps | 88.54 | 86.20 | 40.51 | 19.89 | 35.5 |
| x264 (H.264) · preset medium+2pass | 6000 | 6,018.9 kbps | 94.31 | 92.60 | 41.72 | 15.28 | 46.6 |
| x264 (H.264) · preset medium+2pass | 12000 | 11,999.7 kbps | 96.60 | 94.91 | 42.38 | 12.08 | 62.9 |
| x265 (HEVC) · preset medium | 22 | 4,009.4 kbps | 93.76 | 92.06 | 41.77 | 11.69 | 84.3 |
| x265 (HEVC) · preset medium | 27 | 1,899.3 kbps | 87.41 | 85.13 | 40.41 | 16.04 | 61.5 |
| x265 (HEVC) · preset medium | 32 | 917.1 kbps | 76.91 | 73.68 | 38.54 | 21.81 | 45.1 |
| x265 (HEVC) · preset medium | 37 | 432.8 kbps | 61.86 | 58.21 | 36.21 | 27.63 | 33.8 |
| x265 (HEVC) · preset medium | 42 | 202 kbps | 43.39 | 39.13 | 33.47 | 31.9 | 26.9 |
| x265 (HEVC) · preset medium+2pass | 800 | 777.6 kbps | 73.86 | 70.62 | 38.05 | 13 | 74.9 |
| x265 (HEVC) · preset medium+2pass | 1500 | 1,463 kbps | 84.16 | 81.53 | 39.78 | 9.67 | 102.0 |
| x265 (HEVC) · preset medium+2pass | 3000 | 2,922.3 kbps | 91.56 | 89.77 | 41.27 | 7.02 | 140.1 |
| x265 (HEVC) · preset medium+2pass | 6000 | 5,886.6 kbps | 95.42 | 94.07 | 42.20 | 5.22 | 189.0 |
| x265 (HEVC) · preset medium+2pass | 12000 | 11,745.3 kbps | 97.20 | 95.98 | 42.91 | 3.79 | 260.8 |
How to read it, and what we observed
1. How far did the actual two-pass bitrate miss its target?
Each cell is actual kbps (% vs target). Actual kbps is the kbps column of the CSV, and the error is (actual − target) ÷ target rounded to one decimal place. A negative value means the result came in below the target.
Column headers are target kbps. x264 medium, two-pass.
Column headers are target kbps. x265 medium, two-pass.
- blue_sky always came in under the target for both codecs. All 10 points were -9.6 to -13.2%. Even at a 12000 kbps target, x264 reached only 10672.9 kbps and x265 only 10567.7 kbps. This data cannot tell us why. We can only note that this clip was an easy one whose CRF VMAF sat close to 100 even at high bitrates.
- x264 overshot at low targets, and the error shrank as the target grew. On the three clips other than blue_sky, an 800 kbps target gave +5.7 to +9.9%, 1500 gave +2.8 to +4.3%, 3000 gave +0.5 to +2.7%, 6000 gave -0.6 to +1.3%, and 12000 gave -0.9 to 0.0%.
- x265 on the three clips other than blue_sky was off by a small but one-sided -1.9 to -3.6%. All 15 cells came in a little below target. The range was similar regardless of clip or target, so if you want to use the full size budget you may need to compensate by setting the target a few percent higher. There is no guarantee that this correction holds for other footage.
- Of the 40 two-pass measurements, the largest absolute error was -13.2% (x265 blue_sky, 800 kbps target). If you must keep the file size under a fixed limit, you need at least this much headroom.
2. Do mean, 5th-percentile and minimum VMAF differ at the same file size?
No CRF measurement has exactly the same bitrate as a two-pass measurement. So using the actual kbps of each two-pass point as the reference, we read the value at the same file size off the curve connecting the 5 CRF points of the same codec and clip (linear interpolation between the two neighboring CRF points, with the log of the bitrate on the horizontal axis). Each cell is two-pass − interpolated CRF (points), so a positive value means two-pass is higher. Points outside the CRF curve's range, and points in the saturated range where the interpolated CRF value exceeds 98, were excluded (7 for x264 and 8 for x265 were dropped, leaving 25 comparisons). The values are hand-calculated approximations, so treat differences of around 0.5 points as meaningless.
x264 medium. Mean, 5th percentile and minimum are the VMAF difference (points) of two-pass versus the interpolated CRF value at the same file size. Time multiple is two-pass CPU time (utime, both passes summed) ÷ interpolated CPU time of CRF at the same file size. Log-interpolated values.
x265 medium. Read it the same way as the table above.
- Mean VMAF was effectively a tie for both codecs. The differences in the 25 comparisons range from -1.1 to +1.0 points, with an average of +0.1 points over the 13 x264 points and +0.3 points over the 12 x265 points. Two-pass was higher in slightly more places (8 of 13 for x264, 9 of 12 for x265), but the margin is about the size of the interpolation error, so it is not enough to say 'two-pass is better'.
- For x265, the 5th percentile and minimum were also nearly the same. The 5th percentile ranged from -1.4 to +0.8 points and the minimum from -1.0 to +1.3 points. In this data, x265 two-pass matched same-size CRF even in the per-frame quality distribution.
- For x264 at low bitrates, two-pass minimum VMAF was lower than CRF. In 8 of the 9 points where the actual two-pass bitrate was about 3100 kbps or less, the minimum was lower (-2.1 to -10.3 points), while all 4 points at about 5900 kbps or more were higher (+1.6 to +10.4 points). The 5th percentile pointed the same way but with a smaller spread (-3.9 to +2.5 points). With nearly equal means and only the worst frames differing, it looks as if two-pass distributes bits across frames differently from CRF, but this data could not confirm the reason.
- For x264, there were 4 cells where the means were the same but the minimum was -8 to -10 points (pedestrian_area 800 and 1500, rush_hour 800 and 1500). Frames at scene changes or where motion suddenly grows may have been vulnerable, but we did not measure which frames. A low-target two-pass x264 video should not be judged by its mean score alone.
- The differences by type of footage were small for x265, while for x264 the minimum flipped at the higher-bitrate end. riverbed at the x264 12000 target had a minimum 10.4 points higher, but the same footage in x265 was at 0.0 points at 12000. This data cannot support any codec-independent rule that two-pass is better for a certain type of footage.
3. How much more time does it take?
The time multiple in the tables above is the two-pass CPU time (utime, both passes summed) divided by the interpolated CPU time of CRF at the same file size. Because rtime fluctuates under IDLE priority, we used utime (multicore utilization tested).
- x264 two-pass took 1.01–1.10× the time of same-size CRF. That differs from the claim that 'two-pass takes twice as long'. For example, pedestrian_area at a 3000 kbps target took 33.297 seconds (utime), while same-size CRF took about 30.4 seconds. This is the result on this PC and these settings (medium), and how fast the first pass runs may differ with other settings.
- x265 two-pass took 1.65–1.88×. Compared with CRF finishing in a single pass at the same file size, two-pass took nearly twice as long. The biggest example is riverbed at a 12000 kbps target: two-pass took 392.391 seconds (utime), while same-size CRF took about 229 seconds.
- Two-pass time also grew as the target was raised. x265 pedestrian_area took 84.047 seconds at an 800 target and 252.235 seconds (utime) at 12000. Time followed bitrate and footage complexity, not quality (time differences by complexity).
4. The same target bitrate cannot guarantee quality
Two-pass fixes the file size, but the footage decides the quality. With x264 two-pass at the same 3000 kbps target, the four clips' mean VMAF was blue_sky 99.646, rush_hour 88.537, pedestrian_area 91.64 and riverbed 39.708, a spread of about 60 points. Conversely, x264 CRF 25 gave similar quality but different file sizes. The kbps was rush_hour 3381.4, pedestrian_area 3563.2, blue_sky 3868.7 and riverbed 16448.9, so the largest was about 4.9× the smallest (mean VMAF 89.933 to 99.965). Which is right depends on what you need to hold fixed (CRF differences by content type).
Limitations
- Only 4 clips of 10 seconds each. Landscape, city and ripple footage differ in character, but animation, screen recordings, dark footage and noisy footage are missing. Two-pass distributes bits after looking at the entire video, and 10 seconds may be too short for that advantage to show, so results may differ for videos that run minutes to hours.
- We measured only 8-bit yuv420p 1080p25. 10-bit, 4K and high fps are not covered.
- One preset (medium) and only two encoders, x264 and x265. We did not measure two-pass for other codecs such as SVT-AV1 and VP9. The accuracy of the target bitrate may differ by codec and setting.
- Because no measurement point had exactly the same file size, the values are approximations read off by log interpolation. With only 5 CRF points the gaps between points are wide, and 15 of the 40 two-pass points were dropped because they fell outside the CRF curve's range or were saturated. The differences are hand-calculated approximations, so around 0.5 points is meaningless.
- We did not use bitrate limits (-maxrate and -bufsize). Results when you cap the instantaneous bitrate for streaming are outside the scope of this article.
- This is VMAF, not human-eye quality. Even at the same score, the way detail gets smeared can differ. For important videos, compare the two results with your own eyes.
- Each point was measured once on a single PC at IDLE priority. Elapsed times fluctuate, and we did not run repeated measurements to estimate the error. Treat speed as a reference only.
Practical recommendations
- If you choose on quality alone, we found no reason in this data to spend extra time on two-pass. At the same file size, mean VMAF was a tie at -1.1 to +1.0 points. For x265 in particular, the same result took 1.65–1.88× the time.
- If you have a fixed size limit, two-pass makes sense, but do not cut the target too fine. The actual bitrate missed the target by up to 13.2%, and x265 almost always came out a little below target. If you want to use as much of the limit as possible, first run a short section and check the actual size. For the limit math, see maximum duration for an upload size limit, tested and the bitrate and file size calculator.
- When running x264 two-pass at a low target bitrate, check the minimum and 5th percentile, not just the mean score. In this data, at low bitrates the minimum was often 2 to 10 points lower than same-size CRF.
- With no size limit, a single CRF pass is simpler. It tunes the same quality level per video, and in this data the time difference for x264 was small, so two-pass cost little but gained nothing either. You can find a starting point with the CRF recommender.
- If you need better quality at the same file size, look at the preset rather than rate control. For results from changing the preset at the same file size, see raise the preset or lower the CRF?.
The full raw data can be downloaded from the CSV at the bottom of the page. You can recompute the errors in the tables from the kbps column of the CSV, and the differences and multiples from vmaf_mean, vmaf_p5, vmaf_min and utime_s.
Raw data: two-pass-vs-crf-same-size-vmaf-v1.csv