For most people streaming to Twitch or YouTube, the answer is the hardware encoder built into your graphics card: NVENC (NVIDIA), AMF (AMD), or QuickSync (Intel). It offloads encoding from your CPU, keeps your game smooth, and delivers quality that is close enough to software x264 that viewers will not notice the difference at normal bitrates. Choose x264 only if you have a strong multi-core CPU and a modest GPU, or if you are recording for maximum quality with no performance pressure. The setting lives in OBS under Settings > Output > Streaming > Encoder. Labels can differ slightly between OBS versions, so treat the names below as a guide and match them to what you see.

What You'll Need

  • OBS Studio installed from the official obsproject.com download (not a reuploaded build).
  • Up-to-date graphics card drivers from NVIDIA, AMD or Intel, since the hardware encoder ships with the driver.
  • Your stream key or a linked account already set up in Settings > Stream.
  • A rough idea of your upload speed, so you can pick a bitrate the encoder can actually feed.

Step-by-Step

  1. Open Settings > Output. If you use the simple setup, switch Output Mode from Simple to Advanced at the top. Advanced exposes the encoder list, the rate control mode and the preset, which is what you need to make an informed choice.
  2. Open the Streaming tab and find the Encoder dropdown. This is the whole decision. You will see options roughly matching x264 (software), NVIDIA NVENC H.264, NVIDIA NVENC HEVC, AMD HW H.264, AMD HW HEVC, and Intel QuickSync H.264/HEVC, depending on your hardware. Only the encoders your GPU actually supports will appear.
  3. Pick the hardware encoder for your card. NVIDIA card: choose NVENC H.264. AMD card: choose AMD HW H.264. Intel integrated graphics: choose QuickSync H.264. H.264 is the safe default because every platform accepts it and every viewer can decode it. Save HEVC for recording or for platforms that explicitly accept it, because browser and mobile playback support is narrower.
  4. Set Rate Control to CBR (constant bitrate) for live streaming. Variable bitrate causes buffering on the viewer side because the platform cannot predict your data rate. Set the Bitrate to roughly 70 to 80 percent of your measured upload speed, and stay within what your platform recommends for your resolution and frame rate.
  5. Set the Preset. With NVENC, start at Quality (or P5/Quality on newer versions) and drop to a faster preset only if you see encoder overload. With x264, use veryfast or faster as a starting point. Faster presets cost quality at the same bitrate; slower presets cost CPU or GPU headroom.
  6. Set the Profile to high and leave Look-ahead and Psycho Visual Tuning on if they are available and your GPU is not already maxed out. These improve quality slightly at a small performance cost.
  7. Match the output resolution in Settings > Video. Set Canvas Resolution to your monitor resolution and Output (Scaled) Resolution to what you actually stream, typically 1920x1080 or 1280x720. Scaling in OBS with a good filter beats streaming at native 4K and letting the platform crush it.
  8. Check FPS. 60 fps looks smoother for fast games but needs roughly double the bitrate of 30 fps to look clean. If your upload is tight, 30 fps at a higher resolution generally looks better than 60 fps at a low bitrate.
  9. Test before you go live. Close other apps, start a short private or unlisted stream, and watch the stats dock: open View > Docks > Stats. Look at CPU usage, dropped frames (should stay near zero) and encoder overload. If encoding lag climbs, your encoder is the bottleneck; if network drops climb, your bitrate or connection is.
  10. Adjust in one variable at a time. If quality looks blocky in fast motion, raise the bitrate first, then the preset. If your game stutters, lower the preset speed or cap your in-game frame rate. Change one setting, retest, then move on.

Common Mistakes

  • Leaving Output Mode on Simple and assuming you are choosing an encoder when OBS is picking one for you.
  • Choosing x264 on a mid-range CPU, which starves the game of threads and causes stutter in both the game and the stream.
  • Picking HEVC because it sounds newer, then wondering why viewers on some browsers or phones get no picture.
  • Setting the bitrate to your full upload speed. The stream needs headroom for everything else on your network; 70 to 80 percent is the practical ceiling.
  • Using CBR with a resolution and frame rate combination your bitrate cannot support, then blaming the encoder for the blockiness.
  • Streaming at 4K or 1440p to a platform that will re-encode down anyway, wasting bitrate and GPU time.
  • Ignoring driver updates. Hardware encoders ship in the driver; an old driver can mean missing encoder options or degraded quality.

Tips

  • Record locally with a high-quality preset and stream with a faster one. You are not limited to one encoder setting for both.
  • If you have two GPUs or an integrated GPU plus a discrete card, the integrated one can handle encoding while the discrete card handles the game.
  • Keep game capture on Game Capture, not Display Capture, where possible. It is lighter and avoids capturing desktop clutter.
  • A lightly loaded GPU encodes better. Cap your in-game frame rate slightly below your monitor refresh so the encoder always has a slice of GPU time.
  • Write down your working settings once you find them. Driver updates and OBS updates occasionally reset or rename options.

Troubleshooting

Encoder overload warning. Lower the preset to a faster setting, reduce output resolution or frame rate, or switch from x264 to your GPU encoder. Check the Stats dock to confirm encoding lag is the problem before changing anything.

No hardware encoder in the list. Update your graphics driver from the card maker's official site, restart the PC, and reopen OBS. Laptops with switchable graphics sometimes hide the discrete GPU from OBS; setting OBS to run on the high-performance GPU in Windows graphics settings usually fixes it.

Stream looks blurry or blocky in motion. This is almost always bitrate, not the encoder. Raise the bitrate within your platform's limits and your upload headroom, or drop the resolution or frame rate so the same bitrate buys more quality per pixel.

Dropped frames. If the network drop counter climbs while encoding lag stays at zero, the issue is your connection, not the encoder. Lower the bitrate, use a wired connection, and close bandwidth-hungry apps.

Black screen or no game audio. Re-add the source, make sure Game Capture is set to the right window, and check that the audio device is selected in the mixer. This is a capture issue, not an encoder one.

Stream crashes on start. Restart OBS, update both OBS and your driver, and try the other hardware encoder (for example H.264 instead of HEVC) to isolate the cause.

Frequently Asked Questions

Is NVENC worse quality than x264?

At the same bitrate, x264 on a slow preset can edge ahead, but on current GPUs the gap is small and the performance saving is large. For live streaming, hardware encoding is the better trade.

Should I use H.264 or HEVC?

Use H.264 for live streaming for maximum compatibility. HEVC saves bandwidth but not every browser or device can decode it, so reserve it for local recordings or platforms that clearly support it.

What bitrate should I use?

Stay within your platform's recommended range for your resolution and frame rate, and keep it at about 70 to 80 percent of your measured upload speed.

Can I stream and record with different encoders?

Yes. In Advanced output mode, the Recording tab has its own encoder dropdown, so you can stream with NVENC and record with a slower, higher-quality setting.

Why does my stream stutter but my game runs fine?

Usually encoding lag from an overloaded encoder or a preset that is too slow. Switch to a faster preset or the GPU encoder and retest.