Choose the (or a similar GPL/full version). These builds typically include h264_nvenc and hevc_nvenc by default.
Navigate to the official FFmpeg download page and select the . ffmpeg with nvenc download
Get the latest GPL build from BtbN's GitHub releases . Choose the (or a similar GPL/full version)
Many standard distributions (like Debian and Ubuntu) now include NVENC support in their default ffmpeg packages, provided you have the proprietary NVIDIA drivers installed. ffmpeg with nvenc download