Hardware-accelerated encoding with NVENC

compression

// shell

$ ffmpeg -i input.mp4 -c:v h264_nvenc -preset p7 -cq 23 output.mp4