The short version
- Change one OBS setting. On an NVIDIA card, recording at quality 23 instead of 16 used 60% less disk and scored 0.9 points lower out of 100.
- Smallest files: AV1 on the CPU (SVT-AV1) made files 11 to 46% smaller than the standard H.264 encoder on three of the four games, at about the same speed.
- Fast and close: NVIDIA HEVC came within 5% of x264 on the three busy games and ran 1.9× faster. On the calm card game it needed 55% more space.
- Do not copy numbers between encoders: at 23, NVIDIA H.264 files were 1.87× the size of x264 files.
- A hidden ceiling: in ffmpeg, NVIDIA HEVC ignored high-quality settings on two games until one flag was added.
The same number does not mean the same thing
x264, x265 and SVT-AV1 call their quality dial CRF, NVIDIA calls it CQ, Intel calls it global quality. The numbers look alike and are not. This is what happened when each one was set to 23, compared with x264 medium.
- x264 veryfast (CPU)0.89×
- x264 medium (CPU)1.00×
- x265 medium (CPU)1.02×
- Intel HEVC (Quick Sync)1.35×
- Intel H.264 (Quick Sync)1.71×
- NVIDIA HEVC (NVENC)1.82×
- NVIDIA H.264 (NVENC)1.87×
Average of four games. SVT-AV1 uses a different scale (0 to 63), so 23 means nothing comparable there.
| Encoder | Size at 23 | VMAF at 23 | Setting that matches x264 23 | Size at that setting |
|---|---|---|---|---|
| x264 veryfast (CPU) | 0.89× | 90.4 | ≈ 19.5 | 1.47× |
| x264 medium (CPU) | 1.00× | 95.2 | 23 | 1.00× |
| x265 medium (CPU) | 1.02× | 94.9 | ≈ 22.7 | 1.06× |
| Intel HEVC (Quick Sync) | 1.35× | 96.3 | ≈ 24.0 | 1.17× |
| Intel H.264 (Quick Sync) | 1.71× | 96.8 | ≈ 24.4 | 1.39× |
| NVIDIA HEVC (NVENC) | 1.82× | 97.6 | ≈ 26.8 | 1.13× |
| NVIDIA H.264 (NVENC) | 1.87× | 97.8 | ≈ 26.7 | 1.19× |
| SVT-AV1 preset 8 (CPU) | — | — | ≈ 39.7 | 0.82× |
x264 veryfast (CPU)
Size at 230.89×
VMAF at 2390.4
Setting that matches x264 23≈ 19.5
Size at that setting1.47×
x264 medium (CPU)
Size at 231.00×
VMAF at 2395.2
Setting that matches x264 2323
Size at that setting1.00×
x265 medium (CPU)
Size at 231.02×
VMAF at 2394.9
Setting that matches x264 23≈ 22.7
Size at that setting1.06×
Intel HEVC (Quick Sync)
Size at 231.35×
VMAF at 2396.3
Setting that matches x264 23≈ 24.0
Size at that setting1.17×
Intel H.264 (Quick Sync)
Size at 231.71×
VMAF at 2396.8
Setting that matches x264 23≈ 24.4
Size at that setting1.39×
NVIDIA HEVC (NVENC)
Size at 231.82×
VMAF at 2397.6
Setting that matches x264 23≈ 26.8
Size at that setting1.13×
NVIDIA H.264 (NVENC)
Size at 231.87×
VMAF at 2397.8
Setting that matches x264 23≈ 26.7
Size at that setting1.19×
SVT-AV1 preset 8 (CPU)
Size at 23—
VMAF at 23—
Setting that matches x264 23≈ 39.7
Size at that setting0.82×
The matching setting is the one that reaches the same VMAF as x264 medium at CRF 23 (95.2). It moved from game to game: for NVIDIA between 25 and 29.
A bigger file at the same number does not mean a worse encoder, because it also scores higher. To compare encoders, hold the quality equal and look at the size. That is the next table.
At the same visual score, who makes the smallest file?
Every encoder re-compressed the same recordings, aiming at VMAF 95. Published studies suggest that around 95 viewers on average cannot tell a video from its source, and that gaps under 2 points are hard to see. Here the score is measured against the recording.
- SVT-AV1 preset 8 (CPU)5.6 GB
- x264 medium (CPU)6.1 GB
- NVIDIA HEVC (NVENC)6.4 GB
- x265 medium (CPU)6.6 GB
- Intel HEVC (Quick Sync)6.6 GB
- NVIDIA H.264 (NVENC)6.7 GB
- Intel H.264 (Quick Sync)8.1 GB
- x264 veryfast (CPU)8.8 GB
The recordings themselves averaged 34.8 GB per hour.
| Encoder | CS:GO | GTA V | Minecraft | Hearthstone |
|---|---|---|---|---|
| The recording | 19.7 GB | 58.7 GB | 56.1 GB | 4.8 GB |
| SVT-AV1 preset 8 (CPU) | 3.1 GB | 9.2 GB | 9.5 GB | 0.7 GB |
| x264 medium (CPU) | 3.5 GB | 10.7 GB | 9.0 GB | 1.3 GB |
| NVIDIA HEVC (NVENC) | 3.4 GB | 10.7 GB | 9.4 GB | 2.0 GB |
| x265 medium (CPU) | 3.6 GB | 10.8 GB | 10.7 GB | 1.3 GB |
| Intel HEVC (Quick Sync) | 3.6 GB | 10.9 GB | 9.8 GB | 2.0 GB |
| NVIDIA H.264 (NVENC) | 3.6 GB | 12.0 GB | 9.0 GB | 2.0 GB |
| Intel H.264 (Quick Sync) | 5.1 GB | 13.8 GB | 11.4 GB | 2.0 GB |
| x264 veryfast (CPU) | 5.7 GB | 15.1 GB | 12.5 GB | 1.9 GB |
The recording
CS:GO19.7 GB
GTA V58.7 GB
Minecraft56.1 GB
Hearthstone4.8 GB
SVT-AV1 preset 8 (CPU)
CS:GO3.1 GB
GTA V9.2 GB
Minecraft9.5 GB
Hearthstone0.7 GB
x264 medium (CPU)
CS:GO3.5 GB
GTA V10.7 GB
Minecraft9.0 GB
Hearthstone1.3 GB
NVIDIA HEVC (NVENC)
CS:GO3.4 GB
GTA V10.7 GB
Minecraft9.4 GB
Hearthstone2.0 GB
x265 medium (CPU)
CS:GO3.6 GB
GTA V10.8 GB
Minecraft10.7 GB
Hearthstone1.3 GB
Intel HEVC (Quick Sync)
CS:GO3.6 GB
GTA V10.9 GB
Minecraft9.8 GB
Hearthstone2.0 GB
NVIDIA H.264 (NVENC)
CS:GO3.6 GB
GTA V12.0 GB
Minecraft9.0 GB
Hearthstone2.0 GB
Intel H.264 (Quick Sync)
CS:GO5.1 GB
GTA V13.8 GB
Minecraft11.4 GB
Hearthstone2.0 GB
x264 veryfast (CPU)
CS:GO5.7 GB
GTA V15.1 GB
Minecraft12.5 GB
Hearthstone1.9 GB
Per hour of footage at VMAF 95. The content matters as much as the encoder: the recordings ran from 4.8 to 58.7 GB per hour.
Three things stand out:
- On the three busy games NVIDIA HEVC was within 5% of x264 medium. On Hearthstone, a calm card game, the hardware encoders needed 55 to 60% more space than x264 medium.
- x265 (H.265 on the CPU) never beat x264 medium here. That is one score on four clips with one preset, measured against an H.264 recording, so it is not proof that H.265 is worse.
- x264 veryfast, the preset OBS uses when it records on the CPU, needed 47% more space than x264 medium for the same score.
Speed: how long one hour of footage takes
Timed on 40 seconds of footage (the four recordings joined), each encoder at its tested setting closest to VMAF 95, three runs, median.
- NVIDIA H.264 (NVENC)277
- x264 veryfast (CPU)206
- NVIDIA HEVC (NVENC)185
- Intel H.264 (Quick Sync)161
- Intel HEVC (Quick Sync)113
- SVT-AV1 preset 8 (CPU)99
- x264 medium (CPU)97
- x265 medium (CPU)38
| Encoder | Frames per second | Minutes per hour of footage |
|---|---|---|
| NVIDIA H.264 (NVENC) | 277 | 13.0 |
| x264 veryfast (CPU) | 206 | 17.5 |
| NVIDIA HEVC (NVENC) | 185 | 19.4 |
| Intel H.264 (Quick Sync) | 161 | 22.4 |
| Intel HEVC (Quick Sync) | 113 | 31.9 |
| SVT-AV1 preset 8 (CPU) | 99 | 36.3 |
| x264 medium (CPU) | 97 | 37.0 |
| x265 medium (CPU) | 38 | 94.1 |
NVIDIA H.264 (NVENC)
Frames per second277
Minutes per hour of footage13.0
x264 veryfast (CPU)
Frames per second206
Minutes per hour of footage17.5
NVIDIA HEVC (NVENC)
Frames per second185
Minutes per hour of footage19.4
Intel H.264 (Quick Sync)
Frames per second161
Minutes per hour of footage22.4
Intel HEVC (Quick Sync)
Frames per second113
Minutes per hour of footage31.9
SVT-AV1 preset 8 (CPU)
Frames per second99
Minutes per hour of footage36.3
x264 medium (CPU)
Frames per second97
Minutes per hour of footage37.0
x265 medium (CPU)
Frames per second38
Minutes per hour of footage94.1
Just reading the recording topped out at 334 frames per second on this CPU, so the hardware encoders were partly waiting for it. Letting the graphics card decode too (the -hwaccel option) took NVIDIA HEVC from 185 to 263 frames per second, about 14 minutes per hour of footage, and Intel H.264 from 161 to 202. The other two hardware encoders barely moved.
Fix it before you record: one OBS setting
In OBS, under Settings → Output (Simple mode), the Recording Quality menu offers “Indistinguishable Quality, Large File Size” and “High Quality, Medium File Size”. At 1080p they correspond to quality 16 and 23 (OBS source code). I encoded the untouched clips both ways and scored them against the originals.
| Setting | Per hour | VMAF vs original |
|---|---|---|
| NVIDIA, 16 (Indistinguishable) | 34.8 GB | 98.9 |
| NVIDIA, 23 (High Quality) | 13.9 GB | 98.0 |
| x264 veryfast, 16 (Indistinguishable) | 17.4 GB | 97.8 |
| x264 veryfast, 23 (High Quality) | 6.1 GB | 90.1 |
NVIDIA, 16 (Indistinguishable)
Per hour34.8 GB
VMAF vs original98.9
NVIDIA, 23 (High Quality)
Per hour13.9 GB
VMAF vs original98.0
x264 veryfast, 16 (Indistinguishable)
Per hour17.4 GB
VMAF vs original97.8
x264 veryfast, 23 (High Quality)
Per hour6.1 GB
VMAF vs original90.1
These are ffmpeg's encoders at OBS's quality values, not OBS itself: OBS's own tuning differs slightly. VMAF has little room near 100, so check one recording of your own before changing your habits.
The ceiling: when the quality setting stops working
With -rc vbr -cq and no maximum bitrate, ffmpeg's hevc_nvenc chose HEVC level 4.1 for 1080p60, and the average stalled near 16 Mbit/s. On GTA V, settings 20, 23 and 24 produced practically the same file:
| Setting | ffmpeg default | With -maxrate |
|---|---|---|
| CQ 20 | 20.4 MB · VMAF 89.1 | 55.7 MB · VMAF 99.3 |
| CQ 23 | 20.2 MB · VMAF 89.1 | 38.5 MB · VMAF 97.5 |
| CQ 24 | 20.1 MB · VMAF 89.0 | 33.8 MB · VMAF 96.5 |
| CQ 28 | 19.0 MB · VMAF 89.3 | 20.4 MB · VMAF 90.7 |
CQ 20
ffmpeg default20.4 MB · VMAF 89.1
With -maxrate55.7 MB · VMAF 99.3
CQ 23
ffmpeg default20.2 MB · VMAF 89.1
With -maxrate38.5 MB · VMAF 97.5
CQ 24
ffmpeg default20.1 MB · VMAF 89.0
With -maxrate33.8 MB · VMAF 96.5
CQ 28
ffmpeg default19.0 MB · VMAF 89.3
With -maxrate20.4 MB · VMAF 90.7
GTA V, 10 seconds, RTX 3060 Laptop, ffmpeg 8.0.1. Each cell shows file size and score.
The fix is to give the encoder room:
-maxrate 200M -bufsize 400MNVIDIA H.264 showed a milder version at setting 19. Changing only the tier (-tier high) did not help. If a quality slider in any tool seems to stop doing anything past a certain point, check this.
Commands you can copy
Replace input.mp4 with your file. All four keep every audio track as it is.
Smallest files: AV1 on the CPU (check that your player or editor opens AV1)
ffmpeg -i input.mp4 -map 0:v:0 -map "0:a?" -c:v libsvtav1 -preset 8 -crf 38 -pix_fmt yuv420p -c:a copy output.mp4Most compatible: H.264 on the CPU
ffmpeg -i input.mp4 -map 0:v:0 -map "0:a?" -c:v libx264 -preset medium -crf 23 -pix_fmt yuv420p -c:a copy output.mp4Fast: NVIDIA HEVC, the graphics card does the whole job
ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i input.mp4 -map 0:v:0 -map "0:a?" -c:v hevc_nvenc -preset p5 -tune hq -rc vbr -cq 27 -b:v 0 -multipass qres -maxrate 200M -bufsize 400M -c:a copy output.mp4Fast: Intel HEVC (Quick Sync)
ffmpeg -hwaccel qsv -hwaccel_output_format qsv -i input.mp4 -map 0:v:0 -map "0:a?" -c:v hevc_qsv -preset medium -global_quality 24 -c:a copy output.mp4The settings aim near VMAF 95 on the test clips; your footage may differ. Keep the original until you have watched the result.
Why there is no hardware AV1 here
The RTX 3060 Laptop and the 13th-generation Intel graphics in this PC cannot encode AV1: both returned an error. NVIDIA's support table shows AV1 encoding on the RTX 40 and 50 series, Intel's documentation lists it for Arc cards, and Intel's driver notes add newer processors such as Core Ultra. I have not tested any of them.
How this was measured, and its limits
- Footage: the first 10 seconds of four public-domain 1080p60 game captures from Xiph's test collection: CS:GO, GTA V, Minecraft and Hearthstone.
- The recording: each clip encoded with NVIDIA H.264 at constant quality 16, the number behind OBS's top Simple-mode preset.
- Settings: x264 veryfast and medium, x265 medium, SVT-AV1 preset 8; NVIDIA H.264 and HEVC preset p5, high-quality tuning, with -maxrate; Intel H.264 and HEVC preset medium.
- Score: VMAF (default model), each result against its recording. Sizes at 95 are interpolated between tested settings.
- PC: Core i9-13900HK, GeForce RTX 3060 Laptop, Iris Xe graphics, Windows 11, ffmpeg 8.0.1, Balanced power plan. 272 size and quality encodes, including the capped first NVIDIA run.
Limits: one laptop, four games, ten seconds each. VMAF is a model, not your eyes. Newer graphics cards will likely do better, AMD was not tested, and audio is not counted.
Questions people ask
Does compressing an OBS recording lose quality?
Yes, every re-encode loses something. At VMAF 95 it is usually hard to see, and in this test the file was about 82% smaller. Keep the original until you have watched the result.
Which NVENC CQ is the same as x264 CRF 23?
About 27 on these four games (between 25 and 29), with preset p5 and high-quality tuning.
Is NVENC worse than x264?
On busy footage, NVIDIA HEVC needed about the same space as x264 medium for the same score and ran about 1.9× faster. On calm footage it needed about 55% more.
Why does changing CQ do nothing?
In ffmpeg, hevc_nvenc without a maximum bitrate can stall near 16 Mbit/s at 1080p60. Add -maxrate 200M -bufsize 400M.
Should I use AV1?
SVT-AV1 gave the smallest files on three of the four games at about the speed of x264 medium. Check first that your editor, player or upload site accepts AV1.
Sources
- OBS Studio source code: Simple mode recording quality
- NVIDIA: video encode and decode support table
- Intel: video features and formats by processor
- Intel media driver: supported codecs by platform
- VMAF 93 to 95: summary of the published studies (Streaming Learning Center)
- Netflix VMAF: frequently asked questions
- Xiph.org test media, including the game captures
- FFmpeg codec documentation
About
Patrick Chen, the indie developer behind Sublimearts.io. I ran these tests because my own app has to translate one quality number into another, and I wanted to know how well it does that.