Skip to content

Commit

Permalink
Use older avc1 profile in linx264 for firefox compatbility
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplyBoo6 committed Jul 1, 2024
1 parent ab4893a commit ac8c823
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 @@ -158,6 +158,9 @@ export class Transcoder {
'libx264',
'-bsf:v',
'h264_mp4toannexb',
// Now defaults to high 10 currently unsupported in Firefox
'-profile:v',
'high',
'-tune',
'film',
...(realtime ? ['-quality', 'realtime', '-preset', 'ultrafast'] : ['-quality', 'good', '-preset', 'medium']),
Expand Down

0 comments on commit ac8c823

Please sign in to comment.