feat(linux): Add Vulkan video encoder (#4603)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user