OBS NVENC error: "Failed to open NVENC codec" and fixes
Fix OBS NVENC errors like "Failed to open NVENC codec" or "NVENC Error: init_encoder: nvEncInitializeEncoder failed": drivers, session limits and settings.
What it looks like in your log
[jim-nvenc] init_encoder: nvEncInitializeEncoder failed: 15 (NV_ENC_ERR_INVALID_VERSION)How do I fix NVENC errors in OBS?
NVENC errors almost always come from an outdated NVIDIA driver, OBS running on the wrong GPU, too many simultaneous encoder sessions (other apps like ShadowPlay or Discord also use NVENC), or a setting the GPU does not support (e.g. AV1 on a pre-RTX 40 card).
How to fix it
- Update your NVIDIA driver (clean install) and restart.
- Close other apps that use NVENC: GeForce Experience/NVIDIA App instant replay, Discord streaming, other recorders.
- Make sure OBS runs on the NVIDIA GPU (Windows Graphics settings → High performance).
- Pick a codec your GPU supports: H.264 on all, HEVC on GTX 900+, AV1 only on RTX 40 series and newer.
- Reset encoder settings to defaults (preset P5, High Quality).
- Update OBS to the latest version.
Not sure this is your problem?
Upload your OBS log and StreamRx will tell you exactly what is wrong in 60 seconds, free.
Diagnose my log📬 The StreamRx newsletter
One short email with OBS fixes, settings for Twitch/YouTube/Kick, and new StreamRx features. Unsubscribe anytime with one click.
No spam. Every email has an unsubscribe link, or reply "unsubscribe" to [email protected].