When I tried using OBS just to make a video of a game, it was laggy and had many dropped frames. It was hard to use and I couldn't figure out how to stop the lagging. Whereas, the Xbox Game bar was way simpler and the clip had no dropped frames or lag. I prefer to use Xbox Game Bar nowadays. Sometimes I go back to OBS and try it again to see it was a bug and had been patched but I had no success.
OBS Studio - Free and open source software for video recording and live streaming for Mac, Windows and Linux.
ReplaySorcery - An open-source, instant-replay solution for Linux.
VokoscreenNG - VokscreenNG is a user friendly screencaster for Linux and Windows.
Gecata - Grab in-game video from any major title with your PC.
Nvidia ShadowPlay - ShadowPlay
Camtasia - Camtasia 2018 makes it easy to record your screen and create polished, professional-looking videos.