Software⏱️ 3 min read📅 2026-06-11

How to Fix: ERROR: cuvid requested, but not all dependencies are satisfied: cuda/ffnvcodec

FFmpeg compilation issue with CUDA support on Debian 9.3.

Quick Answer: Check if the CUDA toolkit and drivers are properly installed and configured, and ensure that the cuvid library is built during compilation.

The ERROR: cuvid requested, but not all dependencies are satisfied: cuda/ffnvcodec error occurs when compiling FFMPEG with Nvidia Cuda support on Debian 9.3. This issue affects users who have installed Nvidia Cuda drivers but are unable to resolve the dependency issues.

This error can be frustrating for system administrators and developers who rely on FFMPEG for various applications. Fortunately, this guide will walk you through the steps to resolve this issue and get your FFMPEG compilation up and running.

🛑 Root Causes of the Error

  • The primary reason for this error is that the FFMPEG build process requires both CUDA and FFNVCodec libraries to be installed and linked correctly. However, it seems like one of these dependencies is not being satisfied, resulting in the error message.
  • Another possible cause could be related to the version of Nvidia Cuda drivers installed on your system. Sometimes, newer versions may introduce compatibility issues with older FFMPEG builds.

🚀 How to Resolve This Issue

Update and Install Required Dependencies

  1. Step 1: Firstly, update your package list by running the command `sudo apt-get update`. This ensures that you have access to the latest available dependencies.
  2. Step 2: Next, install the required Nvidia Cuda dependencies using the following commands: `sudo apt-get install libcuda-dev` and `sudo apt-get install libffnvcodec-dev`. These packages should be installed on your system if not already done so.
  3. Step 3: After installing the dependencies, remove the old versions of the packages by running `sudo apt-get autoremove` to ensure a clean build environment.

Check Nvidia Cuda Driver Version

  1. Step 1: Open the terminal and run the command `nvidia-smi -q | grep driverVersion`. This will display information about your current Nvidia Cuda driver version.
  2. Step 2: Compare this version with the recommended version for your FFMPEG build. If you're using an older version, consider updating to a newer one by downloading the latest drivers from the official Nvidia website.

💡 Conclusion

By following these steps, you should be able to resolve the ERROR: cuvid requested, but not all dependencies are satisfied: cuda/ffnvcodec error and successfully compile FFMPEG with Nvidia Cuda support on your Debian 9.3 system.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions