Ahmad PC logo Ahmad PCThoughtful PC builds and game-ready habits
Software

The Best OBS Settings for Recording Gameplay Without Lag

You recorded a great match, opened the file and found a stuttering, blocky video with audio drifting out of sync. Getting OBS settings for recording right fixes almost all of that, and it does not require a new GPU.

A gaming PC monitor showing the OBS Studio window with a game preview and audio meters, next to a keyboard with RGB lighting

You recorded a great match, opened the file and found a stuttering, blocky video with audio drifting out of sync. Getting OBS settings for recording right fixes almost all of that, and it does not require a new GPU. It requires choosing the right encoder, the right quality mode and the right file format for your hardware.

I have used OBS Studio for recording gameplay on four different PCs, from a GTX 1060 build to a current RTX card and an AMD laptop. Below are the exact settings I use, why each one matters, and how to adjust them for weaker systems. Everything here applies to the current OBS Studio 31 release on Windows.

Before you change OBS settings for recording

Run the basics first, because no encoder setting can save a PC that is already struggling.

  • Update your GPU driver if it is more than a few months old. Our guide on when to update your GPU driver and when to wait explains how to pick a stable version.
  • Close background apps that compete for the encoder or disk, such as browser tabs playing video and launchers downloading updates.
  • Record to an SSD, not a hard drive. A 1440p recording at high quality can write 50 to 100 MB per minute, and slow drives cause dropped frames.
  • Run OBS as administrator. This lets Windows give it priority for GPU access, which reduces encoding lag when a game pushes your card hard.

The output settings that matter most

Open Settings, then Output, and switch Output Mode to Advanced. Go to the Recording tab. These are the settings I use on a mid-range PC.

SettingRecommended valueWhy
Recording formatHybrid MP4 or MKVSurvives crashes without corrupting the file
Video encoderNVENC, AMF or QuickSync (hardware)Offloads encoding from the CPU
Rate controlCQP or CQKeeps quality steady across scenes
CQ level18 to 22Lower is higher quality and bigger files
Keyframe interval2 secondsEasy to scrub and edit
PresetP5 Slow or QualityBest balance on modern GPUs
Audio tracksTracks 1 and 2Separates game audio from microphone

Choose the right encoder

If you have an Nvidia GTX 16 series or newer, use NVIDIA NVENC H.264, or HEVC if your editor supports it. On AMD Radeon cards, use AMD HW H.264. On Intel CPUs with integrated graphics, QuickSync is a good option. Avoid x264 (the CPU encoder) unless you have 12 or more cores, because it competes directly with the game for CPU time.

Why CQP beats CBR for recording

CBR, or constant bitrate, is designed for streaming, where your upload speed has a hard limit. For local recordings, it wastes space on simple scenes and starves fast action scenes. CQP keeps visual quality consistent and only uses more data when the scene needs it. Start at 20. If files are too large, try 22. If you see blockiness in fast motion, drop to 18.

Video settings for smooth gameplay recording

In Settings, then Video, set these:

  1. Base canvas resolution: match your monitor, for example 2560 x 1440.
  2. Output scaled resolution: same as the canvas if your PC handles it. On weaker systems, use 1920 x 1080.
  3. Downscale filter: Lanczos for the sharpest result, or Bicubic if you are short on GPU headroom.
  4. FPS: 60 for most games. Use 30 only for slow strategy or simulation titles where motion matters less.

Then go to Advanced and set Color Format to NV12 and Color Space to Rec. 709. These defaults are safe for every editor and video platform.

Fixing lag and dropped frames

OBS tells you exactly where the problem is. Open the Stats dock from the Docks menu while recording and watch three numbers.

  • Frames missed due to rendering lag means your GPU is maxed out. Cap the game's frame rate a few frames below your monitor refresh, for example 141 on a 144 Hz screen. This leaves the GPU headroom for OBS.
  • Skipped frames due to encoding lag means the encoder cannot keep up. Switch to a faster preset such as P4, or lower the output resolution.
  • Dropped frames apply to streaming, not recording, so ignore them here.

Not sure if your system is GPU or CPU bound? Learning how to read an FPS overlay to find your real bottleneck will show you in a few minutes.

Quick fixes for older PCs

On my old GTX 1060 build with a 6 core CPU, three changes made the difference between choppy and smooth recordings. First, I recorded at 1080p even though the game ran at 1440p, which cut encoder load by about 40 percent. Second, I switched the preset from P5 to P4. Third, I turned off Windows Game Bar recording, which was quietly capturing in the background at the same time as OBS. After those changes, encoding lag dropped from around 8 percent of frames to under 0.5 percent.

The common OBS advice I disagree with

A lot of guides tell you to set a huge bitrate like 50,000 or 100,000 kbps for "lossless" quality. I tested this extensively, and on modern hardware encoders the visual gain over CQ 18 to 20 is almost impossible to see at normal viewing distance.

What you do get is files of 700 MB or more per minute, a drive that fills in an afternoon and an editor that chokes on playback. Unless you are recording footage for heavy colour grading or professional upscaling, a sensible CQ value gives you the same perceived quality at a fraction of the size. Save the extreme settings for the rare clip that truly needs them.

Audio settings and the replay buffer

In Settings, then Audio, set the sample rate to 48 kHz to match most games and video editors. This prevents slow audio drift in longer recordings. Assign your game audio to track 1 and your microphone to track 2 in the Advanced Audio Properties window, so you can adjust them separately later.

Finally, enable the Replay Buffer in the Output tab and set it to 60 or 120 seconds. Bind a hotkey such as Ctrl plus F10 to save the replay. This lets you capture great moments after they happen without recording entire sessions, which saves hours of scrubbing and a lot of disk space.

Frequently asked questions

What is the best OBS setting for recording games without lag?

Use a hardware encoder such as NVENC or AMD AMF, set rate control to CQP or CQ at around 20, and record in Hybrid MP4 or MKV. Cap your game's frame rate slightly below your monitor refresh rate to leave GPU headroom for OBS.

Should I record in MP4 or MKV in OBS?

MKV and the newer Hybrid MP4 are safer because a crash or power cut will not corrupt the whole file. Plain MP4 can become unreadable if recording stops unexpectedly. If you record in MKV, use File then Remux Recordings to convert to MP4 afterwards.

Is NVENC better than x264 for recording?

For most gamers, yes. Modern NVENC on GTX 16 series and newer cards gives quality close to x264 at medium preset while using almost no CPU. That leaves your processor free for the game, which means fewer frame drops.

DP
Dika Pratama

Dika tests maintenance routines and software settings that help a personal computer stay predictable without needless tweaking.

More posts by Dika

More in Software

01doorganico 084goad 3hot8 4465456 after5internprogram ahandfulofblessings ahomcybersecurity allodialresources annodex antiquesandperiodcollectibles aotc asianworldkashmir beedlectrics bloggertemplatefree bluefeatheragency bodyweightsolution campaign08blog carfixadvisor catstreetcollective cbstvsports cnfanspurchasing committeeof500yearsofdignityandresistance covertopsdjs cs-kaiyuangame cuestacomunicaciontotal cxoutlet dancebetgame deskgearhub destinyvillastay detectmagazine di33 diamondsteelbuildings donmo dyanadropship emarsysfinance emimattl escapechan eskitarih evautoplay everythingweddings-orlando farmzone feedviewerapp foxstudiosscratch gamevui123 gleasongrade greetingsday hacklabasu haskell iw-kaiyun jagoanproperti jilidskripsi joltbusinessfinance juegodepokergratis juegospucca kaeru-festival latestmehndidesigns lestanzediottaviano litemagazines localcommunityhero lustrsazan mariashebets menswheels newwebstechs1 nikkit ootheday oxigenvpn plurfitness prefetial probudgetcarpetcleaning psychicmrsmartin pyaten qvantor rejoignezlogis rexzbot riselayouts ruchin rwxqsgd5 sakaltime shibiaowang shop-bot skrtips strcoding tetapatrium topselller uneplanteartificielle vipertechcr webtech1223411 wo-kygaming yamaha-mekar yeknava yoybuysheets zenunwa yamaha-mekar jilidskripsi ankertoto ankertoto ankertoto ankertoto