Are you getting an “NEVC Error: get_encoded_packet: nv.nvEncLockBitstream” recording error on OBS?
Here’s the full error message, “(s, &lock) failed: 8 (NV_ENC_ERR_INVALID_PARM)”.
OBS Studio is a free, open-source software for video recording and live streaming.
It provides real-time video/audio capturing, scene creation, and more.
If you’ve recently updated your NVIDIA driver, you might not be able to record.
In this guide, you’ll learn how to fix “NEVC Error: get_encoded_packet: nv.nvEncLockBitstream” on OBS.
How to Fix “NEVC Error: get_encoded_packet: nv.nvEncLockBitstream” on OBS
To fix “NEVC Error: get_encoded_packet: nv.nvEncLockBitstream” on OBS, you need to download an older version of your NVIDIA driver.
This is because the latest NVIDIA driver update is incompatible with OBS.
Here’s how to fix the NEVC error on OBS:
- Search for “Device manager” using Windows Search and open it.
- Expand “Display adapters” and take note of your NVIDIA graphics card (e.g. NVIDIA GeForce RTX 4070).
- Go to https://www.nvidia.com/en-in/geforce/drivers/.
- Provide your graphics card information and select “Start search” (example below).
- Product type: GeForce
- Product series: GeForce RTX 40 Series
- Product: NVIDIA GeForce RTX 4070
- Operating system: Windows 11
- Language: English
- Download type: Studio Driver
- Download the second driver from the list (don’t download the latest one, download the older one).
- Run the .exe file > Yes > OK > Agree and continue > Next.
- Once the installation is complete, launch OBS and you should be able to record a video!
In summary, the fix is to download the previous version of your NVIDIA graphics card.
This is because the latest version might not be compatible with OBS.
Further reading
How to Fix Bluestacks Error 2004 “Something Went Wrong Installation Failed”