Merge pull request #470 from jsclayton/fix-ffmpeg6-10bit

Use filtergraph to specify 10-bit pixel format
This commit is contained in:
HaveAGitGat 2023-09-25 07:51:45 +01:00 committed by GitHub
commit ef8714ffd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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';
}