FFmpeg Adds AMD AMF Vulkan Support For Linux Users

Written by Michael Larabel in Multimedia on 28 August 2019 at 07:10 AM EDT. 18 Comments
The FFmpeg library up to this point has supported AMD's Advanced Media Framework (AMF) library just on Windows for H.264/HEVC encoding on GPUs. The Windows code-path makes use of DirectX while now AMD AMF support for Linux via Vulkan is now exposed by the latest FFmpeg code.

AMD does offer the Advanced Media Framework for Linux but it's through their Radeon Software / AMDGPU-PRO packages and thus not seeing as much adoption as the likes of VDPAU/VA-API. And even then when using the packaged AMD Linux driver, the user needs to manually install the amf-amdgpu-pro package as it doesn't get installed by default.

It also turns out AMD AMF doesn't support HEVC on Linux but just H.264, at least for FFmpeg's implementation. The AMD AMF Linux support in FFmpeg depends upon Vulkan for initialization.

This AMD AMF Linux/Vulkan support was added to FFmpeg overnight and is also the first time we're seeing Vulkan mentioned in the FFmpeg code-base. That though should change next year with more Vulkan usage by multimedia projects with a Vulkan video decode API being developed.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week