Skip to content

Commit

Permalink
Specify pix_fmt to make sure output is not 10 bit
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplyBoo6 committed Jul 1, 2024
1 parent a47704a commit 70e6db7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/src/cache/transcoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ export class Transcoder {
// Add profile because high 10 isn't well supported
'-profile:v',
'high',
// Ensure that the output isn't 10 bit
'-pix_fmt',
'yuv420p',
],
);
}
Expand Down

0 comments on commit 70e6db7

Please sign in to comment.