feat(encoder): add support for more encoder options

Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
k4yt3x
2024-11-22 00:00:00 +00:00
parent 169509b7d4
commit 3215c89870
5 changed files with 218 additions and 65 deletions

View File

@@ -293,8 +293,8 @@ extern "C" int process_video(
spdlog::debug("Output video dimensions: {}x{}", output_width, output_height);
// Update encoder configuration with output dimensions
encoder_config->out_width = output_width;
encoder_config->out_height = output_height;
encoder_config->width = output_width;
encoder_config->height = output_height;
// Initialize the encoder
Encoder encoder;