Same Settings, Different Encode Time: How Video Content Changes Encoding Speed in x264, x265, SVT-AV1, VP9 and libaom (Measured)
We fixed the preset and CRF, changed only the clip, and timed the encode of four 10-second 1080p25 clips. riverbed (fine ripples) took the longest in all five codecs. Compared with the fastest of the other clips, its wall-clock time was 4.2–5.0x for x265, 2.4–2.5x for libaom, 1.8–2.0x for VP9, 1.5–2.3x for x264, and 1.3–1.4x for SVT-AV1 preset 8.
The test PC, FFmpeg and VMAF settings shared by every lab article are collected on the methodology page. Methodology (common to all tests)
With the same preset and CRF, encode time varied by up to 5x depending on the video, and x265 had the widest spread. In all five codecs, riverbed, with its fine ripples, took the longest. Relative to the fastest clip, riverbed's wall-clock time (rtime) was 4.2–5.0x for x265, 2.4–2.5x for libaom, 1.5–2.3x for x264, 1.8–2.0x for VP9, and 1.3–1.4x for SVT-AV1 preset 8. Among the other three clips (blue_sky, pedestrian_area, rush_hour), the differences were mostly small except for x265.
Why we ran this
"I used the same settings, but this one video takes forever" is a common experience. If you estimate encoding time from the fps measured on one video and apply it to another, how far off can you be? Our earlier encode time vs. CRF test held the video fixed and varied CRF. This article does the opposite: it fixes the preset and CRF and varies the video content, and looks at how many times longer the encode gets, per codec.
Jobs ran at IDLE priority with 4 threads per job, and each condition was run only once. Wall-clock time (rtime) can fluctuate with other processes, so we list CPU time (utime) alongside it. Preset and CRF numbers mean different things in each codec, so we do not compare speed between codecs; we look only at the ratio between clips within the same codec.
Test setup
VMAF is a quality metric created by Netflix. It compares the source and the encoded result frame by frame and scores them from 0 to 100. The closer to 100, the harder it is to tell the encode from the source, but it is not a complete substitute for human judgment. utime is the CPU time summed over all threads, so with multiple threads it is larger than rtime.
Encoder settings
Input and output paths omitted. Each of the CRF values above was substituted for Q in turn. In the tables below, "low / mid / high CRF" means the first, second and third of these three levels for each codec.
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 says "Restrictions of use: No restrictions" and "Copyright: No Copyright" (checked 2026-11-08).
Results by clip
The curves, with bitrate on the horizontal axis and VMAF on the vertical axis, are supporting material. The focus of this article is the rtime, utime and fps columns in the tables.
blue_sky — blue sky and tree branches
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| AV1 (libaom) | 28 | 3,361.3 kbps | 99.97 | 100.00 | 40.72 | 4.07 | 195.0 |
| AV1 (libaom) | 40 | 1,479.2 kbps | 99.82 | 98.89 | 38.15 | 5.34 | 147.1 |
| AV1 (libaom) | 52 | 709.4 kbps | 93.19 | 86.40 | 35.40 | 6.75 | 115.5 |
| SVT-AV1 (AV1) | 28 | 5,945.4 kbps | 99.98 | 100.00 | 41.09 | 69.06 | 26.1 |
| SVT-AV1 (AV1) | 40 | 2,409 kbps | 99.96 | 100.00 | 38.72 | 71.23 | 25.0 |
| SVT-AV1 (AV1) | 52 | 1,292.8 kbps | 98.43 | 94.11 | 36.83 | 66.07 | 28.1 |
| VP9 (libvpx) | 28 | 7,940.8 kbps | 99.98 | 100.00 | 41.00 | 7.75 | 93.9 |
| VP9 (libvpx) | 40 | 2,443.8 kbps | 99.82 | 98.54 | 37.73 | 11.29 | 62.7 |
| VP9 (libvpx) | 52 | 862.2 kbps | 89.46 | 83.54 | 34.02 | 14.88 | 46.8 |
| x264 (H.264) | 20 | 9,140.9 kbps | 99.98 | 100.00 | 41.10 | 17.76 | 35.6 |
| x264 (H.264) | 28 | 2,490.2 kbps | 99.51 | 97.44 | 37.25 | 33.97 | 21.6 |
| x264 (H.264) | 36 | 961.5 kbps | 83.58 | 75.26 | 32.55 | 44.27 | 17.2 |
| x265 (HEVC) | 22 | 6,348.2 kbps | 99.98 | 100.00 | 41.14 | 16.13 | 61.9 |
| x265 (HEVC) | 30 | 1,874.4 kbps | 98.08 | 92.61 | 37.42 | 26.1 | 37.3 |
| x265 (HEVC) | 38 | 638.4 kbps | 81.81 | 72.80 | 32.95 | 33.97 | 28.3 |
pedestrian_area — pedestrian street
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| AV1 (libaom) | 28 | 2,410.2 kbps | 97.93 | 95.08 | 41.42 | 4.35 | 191.1 |
| AV1 (libaom) | 40 | 1,148.8 kbps | 90.81 | 88.19 | 39.53 | 5.6 | 146.6 |
| AV1 (libaom) | 52 | 557.5 kbps | 77.79 | 73.89 | 37.13 | 6.92 | 119.6 |
| SVT-AV1 (AV1) | 28 | 4,132.3 kbps | 98.22 | 95.27 | 41.49 | 65.39 | 28.1 |
| SVT-AV1 (AV1) | 40 | 1,789 kbps | 92.51 | 89.48 | 39.79 | 65.89 | 28.2 |
| SVT-AV1 (AV1) | 52 | 805.1 kbps | 81.02 | 74.98 | 37.52 | 67.49 | 27.8 |
| VP9 (libvpx) | 28 | 4,768.6 kbps | 98.38 | 95.36 | 41.16 | 8.07 | 95.2 |
| VP9 (libvpx) | 40 | 1,826.6 kbps | 91.09 | 87.11 | 38.98 | 12.44 | 59.8 |
| VP9 (libvpx) | 52 | 815.5 kbps | 74.84 | 69.19 | 36.17 | 16.76 | 42.8 |
| x264 (H.264) | 20 | 7,819.9 kbps | 98.75 | 95.97 | 41.65 | 16.88 | 45.6 |
| x264 (H.264) | 28 | 2,480 kbps | 88.67 | 85.91 | 38.72 | 29.84 | 29.1 |
| x264 (H.264) | 36 | 1,054.6 kbps | 65.05 | 62.30 | 34.95 | 39.73 | 22.6 |
| x265 (HEVC) | 22 | 4,357.1 kbps | 97.84 | 95.06 | 41.48 | 11.52 | 85.1 |
| x265 (HEVC) | 30 | 1,472.2 kbps | 87.05 | 84.36 | 38.54 | 16.76 | 59.3 |
| x265 (HEVC) | 38 | 570.8 kbps | 62.10 | 58.76 | 34.67 | 22.17 | 43.6 |
riverbed — riverbed (fine ripples)
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| AV1 (libaom) | 28 | 14,434.9 kbps | 99.93 | 100.00 | 38.68 | 1.83 | 451.2 |
| AV1 (libaom) | 40 | 6,525 kbps | 87.43 | 84.47 | 35.41 | 2.21 | 377.0 |
| AV1 (libaom) | 52 | 2,695.3 kbps | 59.51 | 55.50 | 31.88 | 3.04 | 269.3 |
| SVT-AV1 (AV1) | 28 | 19,493.8 kbps | 99.97 | 100.00 | 39.30 | 48.07 | 39.7 |
| SVT-AV1 (AV1) | 40 | 8,703 kbps | 92.25 | 86.22 | 36.20 | 51.9 | 36.3 |
| SVT-AV1 (AV1) | 52 | 3,591.6 kbps | 65.70 | 56.11 | 32.58 | 53.06 | 37.8 |
| VP9 (libvpx) | 28 | 22,198.7 kbps | 99.98 | 100.00 | 39.80 | 4.06 | 202.1 |
| VP9 (libvpx) | 40 | 9,686.8 kbps | 92.01 | 85.79 | 36.43 | 6.19 | 129.8 |
| VP9 (libvpx) | 52 | 4,026.7 kbps | 66.46 | 57.09 | 32.72 | 9.31 | 85.1 |
| x264 (H.264) | 20 | 29,769.2 kbps | 99.96 | 100.00 | 39.77 | 11.81 | 87.8 |
| x264 (H.264) | 28 | 11,622.6 kbps | 88.97 | 86.99 | 35.38 | 14.79 | 71.0 |
| x264 (H.264) | 36 | 4,446.8 kbps | 52.61 | 49.61 | 30.79 | 19.38 | 48.1 |
| x265 (HEVC) | 22 | 19,060.6 kbps | 99.59 | 98.11 | 38.69 | 3.66 | 267.9 |
| x265 (HEVC) | 30 | 7,534.2 kbps | 79.56 | 74.65 | 34.54 | 5.19 | 188.0 |
| x265 (HEVC) | 38 | 2,512.6 kbps | 46.32 | 41.08 | 30.21 | 8.01 | 122.3 |
rush_hour — evening rush-hour traffic
| Encoder | Quality | Bitrate | VMAF mean | VMAF 5th pct | PSNR-Y | Encode fps | CPU time (s) |
|---|---|---|---|---|---|---|---|
| AV1 (libaom) | 28 | 2,489.9 kbps | 92.88 | 91.33 | 41.76 | 3.85 | 211.0 |
| AV1 (libaom) | 40 | 1,023.1 kbps | 83.64 | 81.12 | 40.04 | 5.26 | 154.0 |
| AV1 (libaom) | 52 | 431 kbps | 69.67 | 66.27 | 37.85 | 7.37 | 109.2 |
| SVT-AV1 (AV1) | 28 | 3,825.6 kbps | 93.55 | 90.78 | 41.92 | 66.19 | 27.4 |
| SVT-AV1 (AV1) | 40 | 1,553 kbps | 84.84 | 80.72 | 40.25 | 69.95 | 26.8 |
| SVT-AV1 (AV1) | 52 | 633.3 kbps | 71.98 | 65.92 | 38.16 | 65.34 | 26.0 |
| VP9 (libvpx) | 28 | 4,911.9 kbps | 95.68 | 93.81 | 41.84 | 7.08 | 107.2 |
| VP9 (libvpx) | 40 | 1,767.8 kbps | 87.78 | 84.59 | 40.11 | 11.49 | 64.9 |
| VP9 (libvpx) | 52 | 703.2 kbps | 72.66 | 68.36 | 37.59 | 16.76 | 43.8 |
| x264 (H.264) | 20 | 8,033 kbps | 95.62 | 94.09 | 42.04 | 16.47 | 51.8 |
| x264 (H.264) | 28 | 2,275.6 kbps | 84.82 | 82.40 | 39.84 | 30.65 | 29.3 |
| x264 (H.264) | 36 | 875.7 kbps | 63.43 | 59.94 | 36.45 | 42.36 | 20.5 |
| x265 (HEVC) | 22 | 4,009.4 kbps | 93.76 | 92.06 | 41.77 | 10.54 | 93.1 |
| x265 (HEVC) | 30 | 1,233.5 kbps | 81.82 | 78.95 | 39.35 | 17.34 | 56.7 |
| x265 (HEVC) | 38 | 370.5 kbps | 58.30 | 54.34 | 35.69 | 26.69 | 34.7 |
How to read it, and what we saw
1. How many times longer did riverbed take than the fastest clip?
For each codec and CRF level, we divided riverbed's rtime by the rtime of whichever of the four clips was fastest. In all 15 comparisons (5 codecs × 3 levels), riverbed was the slowest clip. Ratios were computed from the raw CSV values and rounded to one decimal place.
rtime_s from the CSV. Each cell is "riverbed rtime / fastest clip's rtime = ratio". These are single runs, so ratios in short-time ranges such as SVT-AV1 may fall within run-to-run noise.
- x265 had the widest spread. The ratio was 4.2x or more at all three levels, and 5.0x at mid CRF (48.19 s vs. 9.58 s). SVT-AV1, by contrast, had the narrowest spread, 1.3–1.4x at all three levels.
- x264's ratio changed with the CRF level. It was 1.5x at low CRF but 2.3x at mid and high CRF. This data cannot pin down the cause, but comparing with the utime ratio in section 2 below (2.5x), rtime alone does not fully show the difference in CPU use.
- libaom and VP9 ratios did not change much across levels. libaom was 2.4–2.5x and VP9 was 1.8–2.0x.
2. By utime (CPU time)
Since rtime can be affected by other processes, we ran the same calculation with utime. The baseline is the clip with the shortest utime, computed the same way.
utime_s from the CSV. "riverbed utime / shortest clip's utime = ratio".
- For x264, the rtime and utime ratios differed. At low CRF, the rtime ratio is 1.5x and the utime ratio is 2.5x. At x264 low CRF, utime ÷ rtime was about 2.5 for blue_sky (35.58 ÷ 14.07) and about 4.1 for riverbed (87.78 ÷ 21.16). So on the easy clip, x264 apparently could not fill the 4 threads it was given, which shrank the difference in actual time. We covered per-codec thread utilization separately in the thread utilization test.
- For x265, SVT-AV1 and libaom, the two ratios were similar. The rtime and utime ratios differed by 0.2x or less (for example, x265 4.4x/4.3x, libaom 2.4x/2.4x, SVT-AV1 1.4x/1.5x).
3. How different were the other three clips from each other?
Leaving out riverbed and looking only at blue_sky, pedestrian_area and rush_hour, the differences were much smaller. Here we use rtime at mid CRF.
rtime_s from the CSV. Max ÷ min was computed from the raw values and given to two decimal places.
Only x265 spread by as much as 1.56x within these three clips (the static blue_sky was fastest). The other codecs were at 1.06–1.14x, so in this data the time difference between a static scene like sky and a scene with moving crowds and cars was not large except for x265. This is, however, a result for just these three clips.
4. Does a higher bitrate mean a longer encode?
You might guess that at the same CRF, a video with a larger file size (bitrate) means more work. We check this at x265 low CRF (22).
x265 medium CRF 22. kbps, rtime_s and vmaf_mean from the CSV.
- riverbed, with the highest bitrate, was indeed the slowest, but among the other three the order was reversed. blue_sky had a higher bitrate (6,348 kbps) than pedestrian_area and rush_hour, yet it was the fastest. Estimating time from bitrate alone gets it wrong.
- The same CRF does not mean the same quality. At the same CRF 22, VMAF is 99.977 for blue_sky and 93.759 for rush_hour. So the time comparisons above are for "the same settings," not "the same quality." On easy clips, VMAF saturates near 100 at low CRF (blue_sky scored 99.97 or higher at low CRF in all five codecs), so read quality as a supporting metric only.
5. The hard clip was still slower even at a higher CRF
We compared riverbed's time at high CRF with the other three clips' time at low CRF. In effect, this asks whether raising CRF to save time can cancel out the difference between videos.
rtime_s from the CSV. High CRF is the third of each codec's three levels (x264 36, x265 38, the rest 52); low CRF is the first (x264 20, x265 22, the rest 28).
For x265, libaom and SVT-AV1, riverbed at the highest CRF still took longer than the other clips at their lowest CRF, while for x264 and VP9 it was the other way around. Note, though, that riverbed at high CRF is a point where VMAF fell to 46.3 for x265 and 52.6 for x264, which is not practical quality. Read this only as: for some codecs, the effect of the content is not offset by CRF.
6. Converted to fps (low CRF)
Unit: fps (250 frames ÷ rtime), fps_rt in the CSV. The clips are 25fps, so a value of 25 or more means the encode finished faster than the video's running time on this PC.
At low CRF, only SVT-AV1 preset 8 reached 25fps, on all four clips. With the same codec and the same settings, x265 dropped from 16.13fps (blue_sky) to 3.66fps (riverbed), and libaom from 4.35fps (pedestrian_area) to 1.83fps (riverbed). If you estimate the job time for one video from the fps measured on another, this is the size of error you can get.
Limitations
- Only four 10-second clips. riverbed is the only clip with complex texture, so it is more accurate to read this as "this riverbed took long" than as "complex video takes long." Animation, screen recordings, dark footage and noisy footage are missing.
- Each condition was measured once. We did not repeat the same combination to estimate error. Differences of around 1.1x in the ratio may not be distinguishable from noise.
- IDLE priority, one PC (Ryzen 5 PRO 4650G), 4 threads per job. Absolute rtime and fps values are for reference; only the ratios between clips within the same codec on this PC mean anything.
- We fixed one preset per codec. Other presets may give different ratios. In particular, SVT-AV1's small spread is a result for preset 8.
- CRF numbers mean different things in each codec, so we did not compare speed between codecs. For a comparison of codecs at equal quality, see the CRF sweep test.
- We did not measure the cause. This experiment cannot tell why the time grew (motion search, number of transform blocks, etc.); we only report the observed ratios.
- Only 8-bit yuv420p was measured.
Practical recommendations
- To estimate encode time, don't trust the fps of one representative video; time your hardest video. In this data, x265 varied by up to 5.0x and libaom by 2.5x depending on the video. When planning workloads, it is safer to leave headroom based on the slowest video.
- SVT-AV1 preset 8 was less sensitive to the type of video (1.3–1.4x). That makes time easier to predict for large batches of varied videos. Note that this article measured only preset 8.
- x265 medium can get especially slow on hard video. On riverbed at low CRF it took 68.39 s (3.66fps). If your batch includes videos like that, try a faster preset first. The x265 preset test shows time per preset.
- Raising CRF does not erase the difference between videos. For the relationship between CRF and time, see the encode time vs. CRF test; for the fact that the CRF needed to reach the same quality differs per video, see the CRF by content test.
- If you need real-time processing, start with the fast preset fps test. The fps in this article was measured at IDLE priority and its stability was not verified.
The full raw data can be downloaded as a CSV at the bottom of the page. You can recompute the ratios in the tables yourself from the CSV's rtime_s, utime_s, fps_rt and kbps.
Raw data: content-complexity-encode-time-v1.csv