If you’re experiencing video stuttering, that probably means your CPU is struggling to keep up with encoding. You can fix it by:
Downscaling your output resolution
Lowering your framerate
Choosing a faster x264 preset
Switching to GPU-based encoders
Cutting down on background processes.
You’ll find your best OBS settings for recording only by testing. So, get out there and experiment!