Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#8968 closed defect (invalid)

NVENC no longer supported in 4.3.1 and above

Reported by: AdamEsslinger Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: Any version of FFMpeg above 4.3 gives error about NVENC and API version. Driver does not support the required nvenc API version.
How to reproduce:

& $PathToFFMpeg -y -hwaccel_output_format cuda -vsync 0 -i $OldName -c:a ac3 -b:a 640k -c:s copy -pix_fmt yuv420p -c:v hevc_nvenc -level 4 -tier high -g 24 -preset slow -rc vbr_hq -spatial_aq 1 -aq-strength 8 -strict_gop 1 -surfaces 32 -no-scenecut 1 -rc-lookahead:v 48 -color_primaries bt709 -color_trc bt709 -colorspace bt709 $NewName

ffmpeg version
built on ...4.3.1 and ffmpeg-N-99865-ga125e08130

Version 4.3.1 I get an error about API version. Driver does not support the required nvenc API version. Required: 10.0 Found: 9.1

I also tried with one of the nightly builds ffmpeg-N-99865-ga125e08130-win64-gpl.zip and I got a different error Driver does not support the required nvenc API version. Required: 11.0 Found: 9.1

I have the latest nvidia driver for my Quadro M2000, driver version 441.66. This new API/driver version requirement effectively breaks hardware acceleration with all 5th and 6th generation Nvidia cards.

Change History (3)

comment:2 by Hendrik, 3 years ago

Resolution: invalid
Status: newclosed

There is no "bug", or even any "change".

Which driver version is required depends on how the binary was build. If you build it with the very latest version of the NVENC/NVDEC headers, then it'll require a very recent driver. But the code, both 4.3 and git master still work with older versions of those headers, just like before.

In short, this is down to the binaries you are using, and not anything in the FFmpeg code. Someone wanting to support older drivers could still provide binaries that do that. FFmpeg does not officially distribute any binaries.

Last edited 3 years ago by Hendrik (previous) (diff)

comment:3 by Carl Eugen Hoyos, 3 years ago

Component: ffmpegundetermined
Priority: importantnormal
Note: See TracTickets for help on using tickets.