how to run ffmpeg in ubuntu and in gpu. https://jcutrer.com/howto/ffmpeg-amd-nvidia-hardware-video-encoding-h264-h265
I am using the codes on this site. but gpu commands do not work. I'm not sure if my GPU driver is installed.
I write ffmpeg -i input.avi -c:v h264_amf output.mp4 when ,Unknown encoder 'h264_amf