vaapi: 10-bit hevc/av1 encoding

This commit is contained in:
galister
2025-07-11 23:09:37 +02:00
committed by xytovl
parent c5dab27f3c
commit d64d5909ee
9 changed files with 86 additions and 16 deletions
+3
View File
@@ -144,6 +144,9 @@ video_encoder_nvenc::video_encoder_nvenc(
fps(fps),
bitrate(settings.bitrate)
{
if (settings.use_10bit)
throw std::runtime_error("nvenc encoder does not support 10-bit encoding");
std::tie(cuda_fn, nvenc_fn, fn, cuda, session_handle) = init();
assert(settings.width % 32 == 0);
assert(settings.height % 32 == 0);