According to this table; It seems like Nvidia NVENC is available for Tesla T4 GPUs.
If you install FFmpeg with NVIDIA GPU Hardware Acceleration using this link
I’m getting the following error.
[h264_nvenc @ 0x563ee55e6f40] Driver does not support the required nvenc API version. Required: 12.0 Found: 11.1
[h264_nvenc @ 0x563ee55e6f40] The minimum required Nvidia driver for nvenc is 520.56.06 or newer
If you check the latest available version of the Nvidia GPU driver for the Tesla T4 using this link driver-version;
The latest version is 515.65.01
So How can I use NVENC with Tesla T4 GPU, If this API is not available for Tesla T4 please remove it from the NVENC matrix.