Update src/converters/ffmpeg.ts

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
Webysther Sperandio 2026-01-28 05:00:39 +01:00 committed by GitHub
parent 8fbdd962b6
commit 99c4c4fbd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -749,10 +749,10 @@ export async function convert(
extraArgs.push("-c:v", "hevc_qsv");
break;
case "h264_cuda":
extraArgs.push("-c:v", "h264_qsv");
extraArgs.push("-c:v", "h264_nvenc");
break;
case "h265_cuda":
extraArgs.push("-c:v", "hevc_qsv");
extraArgs.push("-c:v", "hevc_nvenc");
break;
}
} else if(has_hwa){