Thursday, February 6th 2025

FFmpeg Gets AMD AMF Accelerated Decoding Support, FSR Video Super Resolution Upscaler

FFmpeg, the popular open-source multimedia library for compressed video and audio formats, just introduced a component to libavcodec that integrates AMD Accelerated Media Framework (AMF) SDK. This component is called AMFDEC, and it allows libavcodec to utilize hardware-accelerated decoding features on AMD Radeon RX GPUs and the integrated graphics of AMD Ryzen processors. On machines with compatible hardware, AMFDEC provides libavcodec with hardware acceleration for decoding of H.264, H.265 or HEVC, and AV1. FFmpeg also introduced filters that implement AMD FSR Video Super Resolution. This lets applications that use FFmpeg to take advantage of VSR features on Radeon RX GPUs to provide superior upscaling quality. The filter is labelled "ar_amf." The commit can be accessed here.
Source: Phoronix
Add your own comment

6 Comments on FFmpeg Gets AMD AMF Accelerated Decoding Support, FSR Video Super Resolution Upscaler

#1
RaphaelOne
Well, it's about time. I'm especially happy about the support for VSR for real-time scaling.
Posted on Reply
#2
Gigaherz
Throw Ai in the Bin! This is the kind of tech advancement we need. Comprehensible and with an actual practical benefit.
Posted on Reply
#3
btarunr
Editor & Senior Moderator
GigaherzThrow Ai in the Bin! This is the kind of tech advancement we need. Comprehensible and with an actual practical benefit.
Neither AMF nor VSR have anything to do with AI.
Posted on Reply
#4
DaemonForce
This sounds HUGE.
avutil: add hwcontext_amf.

Adds hwcontext_amf, enabling a shared AMF context for encoders,
decoders, and AMF-based filters, without copy to the host memory.
Code also was tested in HandBrake.

Benefits:
- Optimizations for direct video memory access from CPU
- Significant performance boost in full AMF pipelines with filters
- Integration of GPU filters like VPP, Super Resolution, and
Compression Artefact Removal
(in future plans)
- VCN power management control for decoders.
- Ability to specify which VCN instance to use for decoding
(like for encoder)
- AMD will soon introduce full AMF API for multimedia accelerator MA35D
- With AMF API, integration will be much easier:
GPU and the accelerator will have the same API
- including encoder, decoder, scaler, color converter,
Windows and Linux.
Learn more:
www.amd.com/en/products/accelerators/alveo/ma35d.html

Changes by versions:
v2: Header file cleanup.
v3: Removed an unnecessary class.
v4: code cleanup and improved error handling
v5: Fixes related to HandBrake integration.
v6: Sequential filters error and memory leak have been fixed.
Looks like the kind of update that stirs a serious change, especially since it impacts h.264 and h.265.
Posted on Reply
#5
ZoneDymo
btarunrNeither AMF nor VSR have anything to do with AI.
I dont think that matters for the statement they are making, they are throwing under the umbrella of "tech advancements" and claim that unlike AI this has a use case and is defined, which is why more money and resources should go to this whether then AI.
Posted on Reply
#6
Vayra86
Advanced Motherf^(%_@#! Frames!

I just can't unread that anymore when I read AMF. It happened already when they coined the term...
Same with MFG. Poor choices honestly
Posted on Reply
Feb 6th, 2025 07:45 EST change timezone

New Forum Posts

Popular Reviews

Controversial News Posts