[FFmpeg-devel] AMD Vega 56, UVD and OpenCL

James Courtier-Dutton james.dutton at gmail.com
Mon Dec 10 02:04:55 EET 2018

On Sun, 9 Dec 2018 at 23:21, Mironov, Mikhail <Mikhail.Mironov at amd.com>

> There is one potential way to do it:
> Decode using AMF on Vulkan, then Vulkan has interop to OpenGL and OpenGL
> has interop to OpenCL.
> AMF on Vulkan on Linux was released (decoder and encoder).
> To integrate it to FFmpeg we need FFmpeg AMF context committed. It is
> waiting for Mark to commit for quite a while. AMF has wrapped - up interop
> between OpenGL to OpenCL and we are working to add Vulkan to OpenGL, though
> all these interop are public APIs.
> Mikhail
Ok, I have found and installed "libamfrt64.so".  Comes with amdgpu-pro.
aptitude install amf-amdgpu-pro

So, getting closer to a possible solution.

Are their any example/sample C++ programs for Linux demonstrating how to
use the API?
I am interested in decoding H.264 on the GPU and getting the decoded frame
into opencl.

Kind Regards


More information about the ffmpeg-devel mailing list