From fbc7f1a00d5dac605e7991fd2352493083110cd3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 4 Oct 2023 09:21:14 +0200 Subject: [PATCH] Fix video quality on high resolution/fps --- packages/ffmpeg/src/shared/encoder-options.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/ffmpeg/src/shared/encoder-options.ts b/packages/ffmpeg/src/shared/encoder-options.ts index 376a19186..096439b40 100644 --- a/packages/ffmpeg/src/shared/encoder-options.ts +++ b/packages/ffmpeg/src/shared/encoder-options.ts @@ -21,9 +21,6 @@ export function addDefaultEncoderParams (options: { const { command, encoder, fps, streamNum } = options if (encoder === 'libx264') { - // 3.1 is the minimal resource allocation for our highest supported resolution - command.outputOption(buildStreamSuffix('-level:v', streamNum) + ' 3.1') - if (fps) { // Keyframe interval of 2 seconds for faster seeking and resolution switching. // https://streaminglearningcenter.com/blogs/whats-the-right-keyframe-interval.html