- Converting a video file to HEVC with NVENC hardware encoder (NVIDIA GPUs ONLY)
ffmpeg -i "some_video_file.ext" -c:v hevc_nvenc -pixel_format yuv444p -preset medium -c:a copy output2.mp4
- Downloading a Youtube video and converting to NVENC-HEVC along the way
youtube-dl https://www.youtube.com/watch?v=hpgQsKtf7AA -f 'bestvideo[height>=1080]+bestaudio/best[height>=1080]' -o '%(title)s.%(ext)s' --postprocessor-args "-c:v hevc_nvenc -pixel_format yuv444p -preset medium -c:a copy"