[FFmpeg-devel] AMD Vega 56, UVD and OpenCL
Mikhail.Mironov at amd.com
Mon Dec 10 03:50:48 EET 2018
There are decoding samples and some other samples here:
There are no samples how to get Vulkan surfaces/images into OpenCL. These are public interops that you can use yourself at this point.
From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> on behalf of James Courtier-Dutton <james.dutton at gmail.com>
Sent: Sunday, December 9, 2018 7:04:55 PM
To: FFmpeg development discussions and patches
Subject: Re: [FFmpeg-devel] AMD Vega 56, UVD and OpenCL
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.
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
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
More information about the ffmpeg-devel