From: Chocobozzz Date: Fri, 19 May 2023 07:40:30 +0000 (+0200) Subject: Don't run ffmpeg twice for lives X-Git-Tag: v5.2.0-rc.1~119 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=a5cf9c98678962640cde7ed595aa59e993677abf;p=github%2FChocobozzz%2FPeerTube.git Don't run ffmpeg twice for lives --- diff --git a/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts b/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts index 5bad34860..c6ee8ebf1 100644 --- a/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts +++ b/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts @@ -45,8 +45,6 @@ export class FFmpegTranscodingWrapper extends AbstractTranscodingWrapper { logger.info('Running local live muxing/transcoding for %s.', this.videoUUID, this.lTags()) - this.ffmpegCommand.run() - let ffmpegShellCommand: string this.ffmpegCommand.on('start', cmdline => { ffmpegShellCommand = cmdline