From a5cf9c98678962640cde7ed595aa59e993677abf Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 19 May 2023 09:40:30 +0200 Subject: Don't run ffmpeg twice for lives --- .../lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts | 2 -- 1 file changed, 2 deletions(-) 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 -- cgit v1.2.3