It actually depends on your needs. But generally speaking, OBS Studio is better than Nvidia. One of the biggest advantages is that OBS Studio is a free and open-source screen recorder, which means there is no limitation. However, if you want to use an Nvidia screen recorder, you need an Nvidia graphic card. Otherwise, you cannot use it successfully.