feat(encoder): added auto selection of the most suitable output pix_fmt

Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
k4yt3x
2024-11-10 00:00:00 +00:00
parent e477123e88
commit e393910f21
5 changed files with 85 additions and 12 deletions

View File

@@ -344,7 +344,7 @@ extern "C" int process_video(
cleanup();
return -1;
}
spdlog::info("Output video dimensions: {}x{}", output_width, output_height);
spdlog::debug("Output video dimensions: {}x{}", output_width, output_height);
// Initialize output encoder
encoder_config->out_width = output_width;