ffmpeg compilation error AMD support zorin 17 core

I'm trying to compile FFmpeg with support for AMD video card. but I get this: gonzalo@gonzalo-zorin:~/FFmpeg$ ./configure --enable-amf
ERROR: amf requested but not found

If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem. apparently I need to enable or install the AMF libraries.? En On Ubuntu 22.04 I didn't have this problem.

What about the rest of the output?

Following the instructions from the ffmpeg documentation page, I would try to install this driver manually.

I followed the steps at Activate AMD Radeon Graphics Card - Zorin Help and instead of running "amdgpu-install -y --usecase=workstation" I ran "sudo amdgpu-install - and --usecase=workstation,amf" as stated in Driver Linux · GPUOpen-LibrariesAndSDKs/AMF Wiki · GitHub but I get: "E: Package amf-amdgpu-pro could not be located"

In Ubuntu 22.04 I did not have this problem, perhaps because it was the Ubuntu wsl version of Windows. Now that I've switched to Zorin, I wanted to compile ffmpeg again to support AMD GPU, but I can't.

Maybe you need to use the bare repository instead of installing through apt, or in addition to this. According to the docs you need the header files, so you probably need to clone the AMF repository and then create a dedicated directory in /usr/local/include.

I found this other thread that seems to suggest this as well:

Is the intention here to convert files to different formats or am I missing something?
Apparently Winff now supports amf. Winff is available in Software.