Recording error: An encoder error occurred while recording

Sunfor

New Member
Hi guys,

I get the above error while recording and the recording will stop.

Below is the error from the log file.

09:31:05.307: [NVENC encoder: 'simple_h264_recording'] nvenc_encode: Error encoding: Unknown error occurred
09:31:05.307: Error encoding with encoder 'simple_h264_recording'

Any ideas what could be the cause of this?
 

FerretBomb

Active Member
We'd need to see more for context. Preferably the entire logfile. You can just drag and drop it here to attach it as a textfile.
 

Sunfor

New Member

FerretBomb

Active Member
Hello the drivers for my graphics card is already the latest version but I will try seeing if there's a later OBS update.
An update for the drivers was released Oct 12, 2021:
1634926122155.png

Recommend updating after a DDU clean-uninstall (not their driver updater, JUST the uninstaller).

Past that, I'm... not actually sure how NVENC is even starting on your machine; it appears that OBS is running on your Intel Iris iGPU, not the nVidia card.
09:17:55.364: [jim-nvenc] init_session: nv.nvEncOpenEncodeSessionEx(&params, &enc->session) failed: 2 (NV_ENC_ERR_UNSUPPORTED_DEVICE)
09:17:55.371: ---------------------------------
09:17:55.371: [NVENC encoder: 'simple_h264_recording'] settings:
...
09:17:55.371: GPU: 0
GPU 0 is the Intel one. As far as I am aware, you need to go in and set OBS to run on the nVidia card, to use NVENC. Here's instructions on how to do that:
 
Top