ActivityPub-federated video streaming platform using P2P directly in your web browser
Improve transcoding quality
Chocobozzza6218a0b8f68
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.tsindex 913a909058..f18b6bd9a1 100644--- a/server/helpers/ffmpeg-utils.ts+++ b/server/helpers/ffmpeg-utils.ts@@ -57,9 +57,10 @@ function transcode (options: TranscodeOptions) {.videoCodec('libx264').outputOption('-threads ' + CONFIG.TRANSCODING.THREADS).outputOption('-movflags faststart')+ // .outputOption('-crf 18')if (options.resolution !== undefined) {- const size = `${options.resolution}x?` // '720x?' for example+ const size = `?x${options.resolution}` // '?x720' for examplecommand = command.size(size)}