

Note that this encode method lacks 10-bit support and is in the 4:2:0 color space.Įxtra notes: For full hardware-accelerated transcodes, you may also want to use one of the many Nvidia CUVID-based accelerated decoders available in your FFmpeg build. qmin 15 -qmax 20 -2pass 1 -c:a copy /dev/null & ffmpeg -i -pass 2 \ c:v hevc_nvenc -profile main -preset slow -rc vbr_2pass \

filter:v hwupload_cuda,scale_npp=w=1920:h=1080:format=nv12:interp_algo=lanczos,hwdownload,format=nv12 \ Now, to do a simple NVENC encode in 1080p, (that will even work for Maxwell Gen 2 (GM200x) series), start with: ffmpeg -i -pass 1 \ If you've built ffmpeg as instructed here on Linux and the ffmpeg binary is in your path, you can do fast HEVC encodes as shown below, using NVIDIA's NPP's libraries to vastly speed up the process. Encoding high-quality HEVC content in a two-pass manner with FFmpeg - based NVENC encoder on supported hardware:
