Home » How-To » How to Fix “NEVC Error: get_encoded_packet: nv.nvEncLockBitstream” on OBS

How to Fix “NEVC Error: get_encoded_packet: nv.nvEncLockBitstream” on OBS

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:

  1. Search for “Device manager” using Windows Search and open it.
  2. Expand “Display adapters” and take note of your NVIDIA graphics card (e.g. NVIDIA GeForce RTX 4070).
  3. Go to https://www.nvidia.com/en-in/geforce/drivers/.
  4. 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
  5. Download the second driver from the list (don’t download the latest one, download the older one).
  6. Run the .exe file > Yes > OK > Agree and continue > Next.
  7. 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”

How to Fix Clash of Clans Not Working on BlueStacks

How to Fix YouTube TV Showing the Wrong Local Stations

About the author

Lim How Wei

Lim How Wei is the founder of followchain.org, with 8+ years of experience in Social Media Marketing and 4+ years of experience as an active investor in stocks and cryptocurrencies. He has researched, tested, and written thousands of articles ranging from social media platforms to messaging apps.

Lim has been quoted and referenced by major publications and media companies like WikiHow, Fast Company, HuffPost, Vice, New York Post, The Conversation, and many others. One of his articles about the gig economy was quoted by Joe Rogan who hosts The Joe Rogan Experience (arguably the most popular podcast in the world), in the This Past Weekend podcast by Theo Von.

In his free time, Lim plays multiple games like Genshin Impact, League of Legends, Counter-Strike, Hearthstone, RuneScape, and many others. He creates guides, walkthroughs, solutions, and more on games that he plays to help other players with their progression.