When I use ffmpeg 9.0 to run NVENC command on a PC with NVIDIA Pascal GPUs like 
GTX 1050ti inside. (The PC has already installed the last version of driver 
that support the GPU in Pascal architecture (version 580). ) It will pop up an 
error:
 [h264_nvenc @ 000001b381cdfe80] Driver does not support the required 
nvenc API version. Required: 13.1 Found: 13.0 [h264_nvenc @ 
000001b381cdfe80] The minimum required Nvidia driver for nvenc is 610.00 or 
newer
Unfortunately, NVENC API 13.1 (or newer) and NVIDIA driver 610 (or newer) no 
longer support NVIDIA GPUs with the Pascal architecture. NVENC API 13.0 and 
NVIDIA driver 580 is the last version that support these GPUs (Include GTX 1080 
Ti, Quadro P6000 and so on).

Because of this strict compatibility requirement, in order to use NVENC on GPUs 
in Pascal architecture, I have to keep ffmpeg at version 8.1.2 and cannot 
upgrade anymore.

Though the Pascal architecture is relatively old, But the truth is that even 
the entry-level GPU (like GTX 1050 Ti) in Pascal architecture can run NVENC 
fluently and in fast speed (test in ffmpeg 8.1.2). There's no reason to stop 
these GPUs from using NVENC. 

I sincerely hope you can fix the compatibility problem and lower the minimum 
version requirement for the NVENC API to lessen this limit, Thank You!

Test command:
 ffmpeg -i input.mp4 -c:v h264_nvenc -cq 34 -pix_fmt yuv420p -preset p7 
-profile:v high -q:a 0.4 output.mp4
full output:
 R:\>ffmpeg -i input.mp4 -c:v h264_nvenc -cq 34 -pix_fmt yuv420p 
-preset p7 -profile:v high -q:a 0.4 output.mp4
 ffmpeg version 9.0.1-full_build-www.gyan.dev Copyright (c) 2000-2026 the 
FFmpeg developers
   built with gcc 16.1.0 (Rev2, Built by MSYS2 project)
   configuration: --enable-gpl --enable-version3 --enable-shared 
--disable-w32threads --disable-autodetect --enable-cairo --enable-fontconfig 
--enable-iconv --enable-gnutls --enable-lcms2 --enable-libxml2 --enable-gmp 
--enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist 
--enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth 
--enable-libbluray --enable-libcaca --enable-libdvdnav --enable-libdvdread 
--enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d 
--enable-libdavs2 --enable-libopenjpeg --enable-libquirc --enable-libuavs3d 
--enable-libxevd --enable-libzvbi --enable-liboapv --enable-libqrencode 
--enable-librav1e --enable-libsvtav1 --enable-libvvenc --enable-libwebp 
--enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve 
--enable-libxvid --enable-libaom --enable-libjxl --enable-libsvtjpegxs 
--enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r 
--enable-libfreetype --enable-libfribidi --enable-libharfbuzz 
--enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg 
--enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va 
--enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec 
--enable-nvenc --enable-vaapi --enable-vulkan --enable-libplacebo 
--enable-opencl --enable-libcdio --enable-openal --enable-libgme 
--enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb 
--enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame 
--enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm 
--enable-liblc3 --enable-libopencore-amrnb --enable-libopus --enable-libspeex 
--enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite 
--enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint 
--enable-whisper
   libavutil      61.  1.101 / 61.  1.101
   libavcodec     63.  1.101 / 63.  1.101
   libavformat    63.  1.101 / 63.  1.101
   libavdevice    63.  1.101 / 63.  1.101
   libavfilter    12.  1.101 / 12.  1.101
   libswscale     10.  1.101 / 10.  1.101
   libswresample   7.  1.101 /  7.  1.101
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf57.71.100
   Duration: 00:00:04.92, start: 0.080000, bitrate: 513 kb/s
   Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), 
yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 379 kb/s, 25 fps, 25 tbr, 
25k tbn, start 0.080000 (default)
     Metadata:
       handler_name    : VideoHandler
   Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 
stereo, fltp, 127 kb/s, start 0.088000 (default)
     Metadata:
       handler_name    : SoundHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_nvenc))
   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
 Press [q] to stop, [?] for help
 [h264_nvenc @ 000001b381cdfe80] Driver does not support the required 
nvenc API version. Required: 13.1 Found: 13.0
 [h264_nvenc @ 000001b381cdfe80] The minimum required Nvidia driver for 
nvenc is 610.00 or newer
 [vost#0:0/h264_nvenc @ 000001b3fe29cb40] [enc:h264_nvenc @ 
000001b381d3bd40] Error while opening encoder - maybe incorrect parameters such 
as bit_rate, rate, width or height.
 [vf#0:0 @ 000001b381cccec0] Error sending frames to consumers: Function 
not implemented
 [vf#0:0 @ 000001b381cccec0] Task finished with error code: -40 (Function 
not implemented)
 [vf#0:0 @ 000001b381cccec0] Terminating thread with return code -40 
(Function not implemented)
 [vost#0:0/h264_nvenc @ 000001b3fe29cb40] [enc:h264_nvenc @ 
000001b381d3bd40] Could not open encoder before EOF
 [vost#0:0/h264_nvenc @ 000001b3fe29cb40] Task finished with error code: 
-22 (Invalid argument)
 [vost#0:0/h264_nvenc @ 000001b3fe29cb40] Terminating thread with return 
code -22 (Invalid argument)
 [out#0/mp4 @ 000001b381d35fc0] Nothing was written into output file, 
because at least one of its streams received no packets.
 frame=    0 fps=0.0 q=0.0 Lsize=       0KiB 
time=00:00:00.49 bitrate=   0.0kbits/s speed=   8x elapsed=0:00:00.06
 [aac @ 000001b3820b6a80] Qavg: 47.000
 Conversion failed!
 ?6?7
 R:\>
_______________________________________________
ffmpeg-user mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to