Tux Machines

vulkan video encoding: radv update

Posted by Roy Schestowitz on Dec 29, 2022

=> Programming Leftovers | today's howtos

=> ↺ Dave Airlie

After the video decode stuff was fairly nailed down, Lynne from ffmpeg nerdsniped^Wtalked me into looking at h264 encoding.

The AMD VCN encoder engine is a very different interface to the decode engine and required a lot of code porting from the radeon vaapi driver. Prior to Xmas I burned a few days on typing that all in, and yesterday I finished typing and moved to debugging the pile of trash I'd just typed in.

Lynne meanwhile had written the initial ffmpeg side implementation, and today we threw them at each other, and polished off a lot of sharp edges. We were rewarded with valid encoded frames.

The code at this point is only doing I-frame encoding, we will work on P/B frames when we get a chance.

Read on

=> ↺ Read On: Dave Airlie

=> gemini.tuxmachines.org

Proxy Information
Original URL
gemini://gemini.tuxmachines.org/n/2022/12/29/vulkan_video_encoding_radv_update.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
140.136749 milliseconds
Gemini-to-HTML Time
0.451991 milliseconds

This content has been proxied by September (ba2dc).