Crashing in nvcuda64.dll when using hevc_nvenc with ffmpeg

I’m having some trouble running ffmpeg using hevc_nvenc on the latest graphics driver (536.99) on Windows 11 22H2. I’m currently using an RTX 3080 Ti. When I do the following:

ffmpeg -y -i test1.mp4 -c:v hevc_nvenc out.mp4

The output of the mp4 file is 0 bytes. Windows Event Log comes up with the following:

Faulting application name: ffmpeg.exe, version:, time stamp: 0x64da003b
Faulting module name: nvcuda64.dll, version:, time stamp: 0x64cd7941
Exception code: 0xc0000005
Fault offset: 0x00000000001a8785
Faulting process id: 0x0x8CDC
Faulting application start time: 0x0x1D9D0836E40CDDB
Faulting application path: C:\Encoding\ffmpeg\bin\ffmpeg.exe
Faulting module path: C:\Windows\system32\DriverStore\FileRepository\nv_dispig.inf_amd64_1ddf203f8d876fdf\nvcuda64.dll
Report Id: 2beda3b2-b5cc-44c5-8fc6-9fbad46f9f4b
Faulting package full name:
Faulting package-relative application ID:

This appears to happen with both a build and the current nightly build at However if I push this command-line instead:

ffmpeg -y -hwaccel_output_format d3d11 -hwaccel d3d11va -i test1.mp4 -c:v hevc_nvenc out.mp4

Then the output comes out fine. This used to work under 536.67 under Windows 10 and Windows 11, but for some reason is now failing under 536.99 under Windows 11.

Hello @velocity7 and welcome to the NVIDIA developer forums!

Thank you for bringing this to our attention. I forwarded the information to the relevant teams to check.