From ed8d78b1275d4cbaf4ebe126aa571df4bf5c433d Mon Sep 17 00:00:00 2001 From: Kasisnu <5044120+kasisnu@users.noreply.github.com> Date: Mon, 1 Jul 2024 17:04:54 +0530 Subject: [PATCH] audio extraction reencodes audio incorrectly (#351) --- .../src/util/common_commands/ffmpeg_extract_audio_args.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/service/job/inference_job/src/util/common_commands/ffmpeg_extract_audio_args.rs b/crates/service/job/inference_job/src/util/common_commands/ffmpeg_extract_audio_args.rs index d05da61835..0610f8dbaf 100644 --- a/crates/service/job/inference_job/src/util/common_commands/ffmpeg_extract_audio_args.rs +++ b/crates/service/job/inference_job/src/util/common_commands/ffmpeg_extract_audio_args.rs @@ -18,7 +18,6 @@ impl CommandArgs for FfmpegExtractAudioArgs<'_> { command.push_str(" -i "); command.push_str(&path_to_string(self.input_video_file)); - command.push_str(" -c copy "); command.push_str(" -map 0:a "); command.push_str(&path_to_string(self.output_file));