feat(linux): Add Vulkan video encoder (#4603)

This commit is contained in:
neatnoise
2026-03-31 04:17:00 +02:00
committed by GitHub
parent 356c6a2c3f
commit 0752f641b1
29 changed files with 1566 additions and 28 deletions

View File

@@ -486,6 +486,11 @@ namespace config {
false, // strict_rc_buffer
}, // vaapi
{
2, // vk.tune (default: ll - low latency)
4, // vk.rc_mode (default: vbr)
},
{}, // capture
{}, // encoder
{}, // adapter_name
@@ -1137,6 +1142,9 @@ namespace config {
bool_f(vars, "vaapi_strict_rc_buffer", video.vaapi.strict_rc_buffer);
int_f(vars, "vk_tune", video.vk.tune);
int_f(vars, "vk_rc_mode", video.vk.rc_mode);
string_f(vars, "capture", video.capture);
string_f(vars, "encoder", video.encoder);
string_f(vars, "adapter_name", video.adapter_name);