ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix video quality on high resolution/fps
Chocobozzzfbc7f1a00d5d
diff --git a/packages/ffmpeg/src/shared/encoder-options.ts b/packages/ffmpeg/src/shared/encoder-options.tsindex 376a19186a..096439b40d 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 } = optionsif (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