Question / Help Possible NVENC encoder causes crashes when I switch scenes?

Harold

Active Member
You're probably not actually getting a crash. If you aren't getting a "Whoops, OBS has crashed" screen, it's probably not a crash.
 

sam686

Member
OBS Studio log did show something, that happens 6 minutes after NVENC started.

This might be the graphics card or drivers failing to correctly stop NVDEC (Nvidia decoder) from media source (ffmpeg_source) causing problems with NVENC. You can try to turn off "Use Hardware decoding when available" on your "Countdown" and other video sources.

Right after switching away from 'Transition to Whatever':
16:26:50.362: error: Failed locking nvenc input buffer: invalid version (15)
16:26:50.362: [NVENC encoder: 'streaming_h264'] nvenc_encode: Error encoding: Invalid argument
16:26:50.362: error: EncodePicture failed!: invalid version (15)
 

Joshua Knight

New Member
OBS Studio log did show something, that happens 6 minutes after NVENC started.

This might be the graphics card or drivers failing to correctly stop NVDEC (Nvidia decoder) from media source (ffmpeg_source) causing problems with NVENC. You can try to turn off "Use Hardware decoding when available" on your "Countdown" and other video sources.

Right after switching away from 'Transition to Whatever':
16:26:50.362: error: Failed locking nvenc input buffer: invalid version (15)
16:26:50.362: [NVENC encoder: 'streaming_h264'] nvenc_encode: Error encoding: Invalid argument
16:26:50.362: error: EncodePicture failed!: invalid version (15)

Started my stream tonight and guess what didn't happen? A crash. Guess it was the Hardware decoding. Thanks for the help!
 
Top