The encoder name was changed from "nvenc_h264" to "h264_nvenc", and will throw a warning in the log file if you use the former, so try the latter first, then the former.
The encoder name was changed from "nvenc_h264" to "h264_nvenc", and will throw a warning in the log file if you use the former, so try the latter first, then the former.