Add vulkan video encoding option (-k h264_vulkan). WIP, not fully hardware accelerated yet

This commit is contained in:
dec05eba
2024-09-27 03:03:09 +02:00
parent 412cf0dbae
commit ebc8c69bac
14 changed files with 435 additions and 38 deletions

2
TODO
View File

@@ -164,3 +164,5 @@ Test vaapi low latency mode (setenv("AMD_DEBUG", "lowlatencyenc", true);), added
Use nvidia low latency options for better encoding times.
Test ideal async_depth value. Increasing async_depth also increased gpu memory usage a lot (from 100mb to 500mb when moving from async_depth 2 to 16) at 4k resolution. Setting it to 8 increases it by 200mb which might be ok.
Replace -encoder cpu with -k h264_software?