Hmm, can you try this?
Press Windows key + R and type in %appdata%\OBS and then click on the Profiles folder. Open the name of whichever profile you are using for OBS, and under the [Video Encoding] section, can you change the line "Encoder=" to read "Encoder=x264"