Ffmpeg: amf video support with ROCm base?

Hi there, with help of ChatCPT I found that my GFX card Radeon RX7600 is capable of transcoding with AMF support to achieve best results. I’d like to stay with the open source driver amdgpu with ROCm.
ffmpeg fails with this error: ‘DLL libamfrt64.so.1 failed to open’ ffmpeg has amf capability, but where may I get the o.a. library from?

Best regards,

steve1

pacman -Fy libamfrt64.so.1

?

$ sudo pacman -Fy libamfrt64.so.1
:: Paketdatenbanken werden synchronisiert …
 core ist aktuell
 extra ist aktuell
 multilib ist aktuell

It seems you would need amf-amdgpu-pro from the AUR. See also AMDGPU PRO - ArchWiki.

2 Likes

https://www.phoronix.com/news/FFmpeg-AMD-AMF-Decoder-FSR
4 February 2025

FFmpeg already has supported AMD’s Advanced Media Framework “AMF” on the video encode side while FFmpeg has landed initial “AMFDEC” support as video decoding support using AMD AMF.

This commit introduces AMFDEC to FFmpeg’s libavcodec library. FFmpeg’s AMFDEC support covers H.264, H.265/HEVC, and AV1 video decoding

ffmpeg in Manjaro extra repository has not been updated since Dec 2025, but git versions in AUR might have this commit:
AUR (en) - ffmpeg-full-git
AUR (en) - ffmpeg-amd-full-git

FFmpeg Wiki – Hardware/AMF - Transcode

2 Likes

I had presumed the amf-amdgpu-pro package would only be usable in combination with proprietary driver - but it works now. Thx! :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.