• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

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

btarunr

Editor & Senior Moderator
Staff member
Joined
Oct 9, 2007
Messages
47,471 (7.50/day)
Location
Hyderabad, India
System Name RBMK-1000
Processor AMD Ryzen 7 5700G
Motherboard ASUS ROG Strix B450-E Gaming
Cooling DeepCool Gammax L240 V2
Memory 2x 8GB G.Skill Sniper X
Video Card(s) Palit GeForce RTX 2080 SUPER GameRock
Storage Western Digital Black NVMe 512GB
Display(s) BenQ 1440p 60 Hz 27-inch
Case Corsair Carbide 100R
Audio Device(s) ASUS SupremeFX S1220A
Power Supply Cooler Master MWE Gold 650W
Mouse ASUS ROG Strix Impact
Keyboard Gamdias Hermes E2
Software Windows 11 Pro
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.



View at TechPowerUp Main Site | Source
 
Joined
Apr 22, 2024
Messages
232 (0.80/day)
System Name Main Workstation
Processor AMD Ryzen Threadripper 2970WX PBO 3,6-4,2Ghz
Motherboard ASUS ROG Zenith Extreme + Extreme Cooling Kit
Cooling Alphacool Eisbaer Aurora Pro 420
Memory 8x16GB (128) Kingston Fury RGB @3266Mts 16-18-18-36-74 2T
Video Card(s) RTX 3090 ROG Gaming OC @1500Mhz (1965Boost)
Storage Lexar NM790 2TB, Corsair Force MP510 960Gb, Samsung 860 SATA 2TB, 2TB WD Green 7200rpm
Case Phanteks Ethoo Pro 2 TG
Power Supply EVGA Super Nova 1000GT
Throw Ai in the Bin! This is the kind of tech advancement we need. Comprehensible and with an actual practical benefit.
 

btarunr

Editor & Senior Moderator
Staff member
Joined
Oct 9, 2007
Messages
47,471 (7.50/day)
Location
Hyderabad, India
System Name RBMK-1000
Processor AMD Ryzen 7 5700G
Motherboard ASUS ROG Strix B450-E Gaming
Cooling DeepCool Gammax L240 V2
Memory 2x 8GB G.Skill Sniper X
Video Card(s) Palit GeForce RTX 2080 SUPER GameRock
Storage Western Digital Black NVMe 512GB
Display(s) BenQ 1440p 60 Hz 27-inch
Case Corsair Carbide 100R
Audio Device(s) ASUS SupremeFX S1220A
Power Supply Cooler Master MWE Gold 650W
Mouse ASUS ROG Strix Impact
Keyboard Gamdias Hermes E2
Software Windows 11 Pro
Throw 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.
 
Joined
Jan 2, 2024
Messages
704 (1.75/day)
Location
Seattle
System Name DevKit
Processor AMD Ryzen 5 3600 ↗4.0GHz
Motherboard Asus TUF Gaming X570-Plus WiFi
Cooling Koolance CPU-300-H06, Koolance GPU-180-L06, SC800 Pump
Memory 4x16GB Ballistix 3200MT/s ↗3800
Video Card(s) PowerColor RX 580 Red Devil 8GB ↗1380MHz ↘1105mV, PowerColor RX 7900 XT Hellhound 20GB
Storage 240GB Corsair MP510, 120GB KingDian S280
Display(s) Nixeus VUE-24 (1080p144)
Case Koolance PC2-601BLW + Koolance EHX1020CUV Radiator Kit
Audio Device(s) Oculus CV-1
Power Supply Antec Earthwatts EA-750 Semi-Modular
Mouse Easterntimes Tech X-08, Zelotes C-12
Keyboard Logitech 106-key, Romoral 15-Key Macro, Royal Kludge RK84
VR HMD Oculus CV-1
Software Windows 10 Pro Workstation, VMware Workstation 16 Pro, MS SQL Server 2016, Fan Control v120, Blender
Benchmark Scores Cinebench R15: 1590cb Cinebench R20: 3530cb (7.83x451cb) CPU-Z 17.01.64: 481.2/3896.8 VRMark: 8009
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:
https://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.
 
Joined
Feb 11, 2009
Messages
5,685 (0.97/day)
System Name Cyberline
Processor Intel Core i7 2600k -> 12600k
Motherboard Asus P8P67 LE Rev 3.0 -> Gigabyte Z690 Auros Elite DDR4
Cooling Tuniq Tower 120 -> Custom Watercoolingloop
Memory Corsair (4x2) 8gb 1600mhz -> Crucial (8x2) 16gb 3600mhz
Video Card(s) AMD RX480 -> RX7800XT
Storage Samsung 750 Evo 250gb SSD + WD 1tb x 2 + WD 2tb -> 2tb MVMe SSD
Display(s) Philips 32inch LPF5605H (television) -> Dell S3220DGF
Case antec 600 -> Thermaltake Tenor HTCP case
Audio Device(s) Focusrite 2i4 (USB)
Power Supply Seasonic 620watt 80+ Platinum
Mouse Elecom EX-G
Keyboard Rapoo V700
Software Windows 10 Pro 64bit
Neither 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.
 
Joined
Sep 17, 2014
Messages
23,166 (6.10/day)
Location
The Washing Machine
System Name Tiny the White Yeti
Processor 7800X3D
Motherboard MSI MAG Mortar b650m wifi
Cooling CPU: Thermalright Peerless Assassin / Case: Phanteks T30-120 x3
Memory 32GB Corsair Vengeance 30CL6000
Video Card(s) ASRock RX7900XT Phantom Gaming
Storage Lexar NM790 4TB + Samsung 850 EVO 1TB + Samsung 980 1TB + Crucial BX100 250GB
Display(s) Gigabyte G34QWC (3440x1440)
Case Lian Li A3 mATX White
Audio Device(s) Harman Kardon AVR137 + 2.1
Power Supply EVGA Supernova G2 750W
Mouse Steelseries Aerox 5
Keyboard Lenovo Thinkpad Trackpoint II
VR HMD HD 420 - Green Edition ;)
Software W11 IoT Enterprise LTSC
Benchmark Scores Over 9000
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
 
Top