Firstly, at the top of the Output Setting screen, switch the output mode from simple to advanced. This will allow you to access settings that you will not see in simple mode. The Output settings have multiple sections. Be sure to go through the settings for each section in the Output tab as the settings relate to each other.
In the first section of the streaming tab, find encoder and change it to NVIDIA NVENC H.264 if possible.
Changing to NVENC H.264 allows your computer to use your graphics card to encode the stream or recording while the default setting, x264, will use your CPU, or processor, to do the encoding.
If you don't have NVIDIA NVENC H.264 as an option, don't worry. Using x264 won't cause any problems with your stream or recording.
Next, in the Encoder Settings section, select the drop down menu for rate control and select CBR.
Bit rate is, generally speaking, around 4500-6000 kbps. Test a value within that range.
Bitrate is the next setting and can be a bit tricky to set up. Essentially, your bitrate will depend on your internet speed so, if you'd like, you can check your internet upload and download speeds and then select your bitrate based on that. Bitrate will also depend on your resolution as you should have a higher bitrate for higher resolutions and a lower bitrate for lower resolutions. Lastly, bit rate will depend on the streaming service being used as some service have a maximum bitrate that streamers are able to set their OBS to (ex. Twitch was a maximum bitrate of 6000kbps).
Now go to keyframe interval and ensure it is set at 2 seconds.
Using the dropdown menu, set your preset to "Quality".
Your preset will tell your encoder how fast to run. Generally speaking, many will use the "Quality" preset but feel free to use the "High Quality" preset if your computer is able to handle it.
If you use the "High Quality" preset, it is possible that you may experience choppiness with gameplay and/or other quality issues . If this happens, change your preset to the next lowest option. Presets are semi-flexible and can be messed around with. With this being said, make sure to find a well balanced preset for your PC as having a preset with too low or high settings can have a negative impact on content quality.
Set Profile to "high"
Check "Psycho Visual Tuning.
For GPU, set it to zero.
Set your Max B-frames to 2.
Set type of standard.
For recording path, click on the "Browse" button and select where you would like the recording videos to be saved.
If you plan to record a lot, be sure that you will have the space for the videos as they can be large. An external hard drive is suggested if you intended to record long videos.
It is suggested that you use flv for your recording format but mp4 also works the same
For recording format, the default is set to mp4. While mp4 is one of the most well known format for videos, it is suggested that you change the format to flv. If you record in mp4 and you have technical issues while you are recording (e.g. PC crashing, software crashing, powerloss, etc.), the video usually comes out as corrupt. Using the flv format, you will be able to obtain your video without the file being corrupt up until the technical issues.
Set your encoder to "(Use stream encoder)" by clicking the drop down menu.
Selecting this will automatically use the same settings we previously put in for the stream encoder.
If you have multiple audio tracks, you can add them in here. Generally speaking, most people have one audio track that everything goes through.
Replay buffer allows you to set a hotkey in the "Hotkeys" section that will capture a set length of the recording and/or stream. This could be useful if you are looking to clip gameplay and don't have any other clipping software to do so.
If you want to use replay buffer, check the box and then change the maximum replay time to your desired length.
Be sure to click the "Apply" button at the bottom to ensure that your settings have saved