OBS

OBS Encoder Settings: NVENC, AMF, QuickSync and x264

Nemo · · 7 min read

The best OBS encoder settings for recording are: your graphics card’s hardware encoder (NVENC on NVIDIA, AMF on AMD, QuickSync on Intel), a quality-based rate control (CQP on hardware encoders, CRF on x264) at a level of about 18 to 23, and a preset in the middle of the range. Use CBR only when you need a fixed bitrate.

These settings live in Settings > Output. Switch Output Mode to Advanced and open the Recording tab to see them all. This post is about recording to a file; streaming has different needs.

Which encoder should you pick in OBS?

The encoder is the part that compresses the video. A hardware encoder runs on a dedicated part of the GPU and leaves the game almost untouched. A software encoder (x264) runs on the CPU the game also needs.

Encoder Name in OBS Runs on Quality-based rate control Pick it when
NVENC NVIDIA NVENC H.264 / HEVC / AV1 NVIDIA GPU CQP You have a GeForce card
AMF AMD HW H.264 (AVC) / H.265 (HEVC) / AV1 AMD GPU CQP You have a Radeon card
QuickSync QuickSync H.264 / HEVC / AV1 Intel GPU CQP or ICQ You have Intel graphics or an Arc card
x264 x264 CPU CRF You have no hardware encoder, or CPU to spare
Apple VT Apple VT H264 / HEVC Hardware Encoder Apple silicon or Mac GPU Quality setting You record on a Mac

OBS only lists the encoders your hardware and drivers offer, so the list on your computer is shorter. If the hardware encoder is missing, update the GPU driver first.

H.264 is the safe codec: every editor and player opens it. HEVC makes smaller files at the same quality and needs an editor that reads it. AV1 is smaller again but only newer GPUs encode it, and editor support is less complete. If you are not sure, record H.264.

Should you use CQP, CRF or CBR for recording?

Rate control decides how the encoder spends data.

  • CBR (constant bitrate) spends the same amount every second. It exists for streaming, where your upload speed is fixed. In a recording it wastes data on menus and can starve a busy fight.
  • CQP (constant quantization) keeps the compression level constant and lets the bitrate follow the picture. Quiet scenes make small files; fights get the data they need.
  • CRF is x264’s version of the same idea, tuned a little more to what the eye notices.
  • VBR sits between: a target bitrate with a ceiling.

For a file on your own disk, use CQP (or CRF on x264). You choose a quality and stop thinking about bitrate. The number works backwards: lower means better quality and bigger files, and 0 is lossless and enormous.

What values should you start with?

Recording Rate control Starting value
1080p60, long sessions CQP or CRF 21 to 23
1080p60, footage for a montage CQP or CRF 18 to 20
1440p60 or 4K60 CQP or CRF 20 to 23, HEVC if your editor reads it
1080p60, if you must use CBR CBR About 40 to 50 Mbps

Treat these as a first test, not a rule. A fast shooter with foliage needs more data than a card game at the same number. Record a minute of your busiest game, watch it, and move the value by 2 at a time.

In Simple output mode you don’t see these numbers. Recording Quality offers High Quality, Medium File Size and Indistinguishable Quality, Large File Size, which are quality-based presets, and you only choose the encoder.

How do you set the encoder step by step?

  1. Open Settings > Output and set Output Mode to Advanced.
  2. Open the Recording tab.
  3. Under Video Encoder, pick the hardware encoder for your GPU. Avoid (Use stream encoder), which ties the recording to your streaming settings.
  4. Set Rate Control to CQP (or CRF with x264).
  5. Set the quality level: CQ Level for NVENC, CRF for x264. Start at 20.
  6. Leave Keyframe Interval on 0 (auto).
  7. Pick the preset as described below, click Apply, and record a one-minute test.

What do presets, tuning and multipass do?

The preset trades encoding effort for quality at the same size.

  • NVENC: presets run from P1 (fastest) to P7 (slowest, best quality). P5 or P6 suits recording. Tuning should be High Quality; the low latency options are for streaming. Multipass Mode on Quarter Resolution is a good default. The OBS knowledge base says the Ultra High Quality tuning added in OBS 31 is not recommended for gaming content.
  • AMF: the presets are Speed, Balanced and Quality. Start with Quality and drop to Balanced if the recording skips frames.
  • QuickSync: the Target Usage setting plays the same role. Start in the middle.
  • x264: CPU Usage Preset defaults to veryfast. Slower presets look better and cost more CPU; go slower only if the game still runs well.

If a recording stutters while the game is smooth, the encoder is overloaded. Go one preset faster, or cap the game’s frame rate a little below your monitor’s refresh rate so the GPU has room. OBS’s Stats window shows the frames skipped by the encoder.

Do these settings also apply to the Replay Buffer?

Yes. In Advanced output mode the Replay Buffer uses the Recording tab’s encoder, so replays look like your recordings. With CQP or CRF the buffer’s size is limited by a memory setting, explained in the OBS Replay Buffer guide.

For the settings around the encoder (format, resolution, audio tracks), see OBS settings for recording gameplay. If you are starting from zero, how to use OBS to record gameplay comes first.

Where does GameClip fit?

GameClip is a desktop app for macOS and Windows that turns a gameplay recording into clips: one highlights video and vertical cuts for Shorts, Reels and TikTok. It opens what OBS records (MP4, MOV, MKV), and its OBS mode can start and stop OBS’s recording and mark plays while you play. It does not touch any of the settings on this page: the encoder, the rate control and the quality stay OBS’s, and GameClip’s exports read the original file. So a clean recording here is what makes a clean clip later.

The connection is described in the guide to connecting OBS Studio, and you can download GameClip here.

FAQ

What is the best encoder for OBS recording?

The hardware encoder of your graphics card: NVENC on NVIDIA, AMF on AMD, QuickSync on Intel, Apple VT on a Mac. It records with a small effect on the game. x264 is the fallback when there is no hardware encoder.

What bitrate should I use for recording in OBS?

With CQP or CRF you don’t set one: pick a level of 18 to 23 and the bitrate follows the picture. If you need CBR, about 40 to 50 Mbps is a reasonable start for 1080p at 60 fps.

Is CQP better than CBR for recording?

For a local file, yes. CQP holds the quality steady and lets the file size vary. CBR holds the bitrate steady, which matters for streaming and not for a file on your disk.

What CQP value should I use?

Start at 20. Go down to 18 for footage you will edit heavily, up to 22 or 23 for long sessions where file size matters. Lower numbers mean better quality and bigger files.

Should I record in H.264, HEVC or AV1?

H.264 opens everywhere. HEVC and AV1 make smaller files at the same quality, but your GPU must encode them and your editor must read them. Test one short file before a long session.

Why does my OBS recording lag when the game is smooth?

The encoder is not keeping up, usually because the GPU is fully used by the game. Use a faster preset, cap the game’s frame rate, or lower the output resolution, then check OBS’s Stats window for skipped frames.

Contact

Licence keys, billing, bugs and ideas. We reply by email.