ffmpeg: AMD & NVIDIA hardware video encoding (h264, h265)
I recently needed to export some video from an Enterprise Video Surveillance system. The system will only export mjpeg avi videos, which are huge files. I ended up using ffmpeg to encode these videos into h.264 mp4 files. I performed the video encoding on a machine with an AMD GPU. This article documents some of the ffmpeg
command line switches require to perform hardware video encoding on both NVIDIA and AMD GPUs.