How to Check if FFmpeg Has NVENC Support

This article explains how to quickly verify if your installed FFmpeg binary was compiled with NVIDIA NVENC support for hardware-accelerated video encoding. You will learn how to check the compilation configuration and query the available encoders directly from your command line.

Method 1: Check the Encoders List

The most direct way to verify NVENC support is to list the compiled encoders and filter for NVIDIA-related codecs.

Open your terminal (Linux/macOS) or Command Prompt/PowerShell (Windows) and run the following command:

ffmpeg -encoders | grep nvenc

For Windows users using Command Prompt, use findstr instead of grep:

ffmpeg -encoders | findstr nvenc

If your FFmpeg binary supports NVENC, you will see output listing the available hardware encoders, such as:

 V....D h264_nvenc            NVIDIA NVENC H.264 encoder (codec h264)
 V....D hevc_nvenc            NVIDIA NVENC hevc encoder (codec hevc)

If the command returns no output, NVENC is not compiled into your FFmpeg binary.

Method 2: Check the Compilation Configuration Banner

When you run FFmpeg without any arguments, it prints its configuration banner. You can check this banner to see if the required NVENC and CUDA flags were enabled during compilation.

Run the following command:

ffmpeg -version

Look at the configuration line (starting with configuration:). For NVENC to work, you should see the following configuration flags enabled:

If these flags are missing from the configuration string, the binary was built without NVIDIA hardware acceleration support.

Method 3: Query the Specific Encoder

You can also ask FFmpeg to display detailed help information for a specific NVENC encoder. Run the following command:

ffmpeg -h encoder=h264_nvenc

If NVENC is supported, FFmpeg will output a detailed list of options and capabilities for the H.264 NVENC encoder. If you receive an error stating Codec 'h264_nvenc' is not found, your FFmpeg binary does not support NVENC.