If you've got a better graphics card than the x264 in OBS settings, select the graphics card you want. Select rate control to CBR and set the bitrate to 40000. If you have low-end specs, you will need to downscale the bitrate to 15000-25000. If your computer can handle it, you can upscale bitrate.