Use filtergraph to specify 10-bit pixel format

This commit is contained in:
John Clayton 2023-09-17 10:30:20 -06:00
parent 610f091a5e
commit 6329f43625
2 changed files with 4 additions and 4 deletions

View file

@ -606,7 +606,7 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
// With this set we also disable hardware decode for compatibility later
if (inputs.enable_10bit === true) {
main10 = true;
extraArguments += '-profile:v main10 -pix_fmt p010le ';
extraArguments += '-profile:v main10 -vf scale_qsv=format=p010le ';
response.infoLog += '10 bit encode enabled. Setting Main10 Profile & 10 bit pixel format \n';
}