Page MenuHomeSolus

AMF headers
Closed, InvalidPublic


Name: AMF
Why should this be included in the repository?: This is the same as nvidia's nvenc but for amd cards. Recently support for AMF was added in ffmpeg 4.3 and these headers are required to recompile ffmpeg with the --enable-amf flags.
Is it Open Source: yes, mit
Who and how many users do you anticipate will use this software: Potentially, all AMD gpu users can, for encoding or streaming. There is vaapi ofc, but for now it's not really in the best shape ever (as of today)
Link to source tarball/zip file:

Event Timeline

Jacalz awarded a token.Aug 4 2020, 7:48 AM

I looked into this too, and found this in FFmpeg build documentation:

FFmpeg can use the AMD Advanced Media Framework library for accelerated H.264 and HEVC(only windows) encoding on hardware with Video Coding Engine (VCE).
To use h.264(AMD VCE) encoder on linux amdgru-pro version 19.20+ and amf-amdgpu-pro package(amdgru-pro contains, but does not install automatically) are required.
This driver can be installed using amdgpu-pro-install script in official amd driver archive.

So, HEVC encoder doesn't work on Linux at all and AVC encoder works only with AMDGPU-PRO. As we can't ship AMDGPU-PRO in repo, AMF support in FFmpeg will be useless for us.

More specifically the shared library is required, but I don't think that any package of the repo provides the library.

Damn I wad pretty sure I read somewhere on github, amdgpu-pro was not needed anymore. I'll do a quick roundup. Vaapi here we are again

Guess I was too enthusiastic about this.

From amf issues on June the 25th

AMF on open source driver would be possible once Khronos finalizes specs for Vulkan encoder and decoder extensions and AMD implements them.

JoshStrobl closed this task as Invalid.Aug 5 2020, 1:05 AM