From dc7b47d29bdc1a4c69c2298177372a6fdab8a135 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Mon, 3 Oct 2022 16:42:40 -0700 Subject: [PATCH] [BACKEND] copy codecs, only change container (#269) --- src/ytdl_sub/plugins/file_convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ytdl_sub/plugins/file_convert.py b/src/ytdl_sub/plugins/file_convert.py index 6a33fd4f..4347a583 100644 --- a/src/ytdl_sub/plugins/file_convert.py +++ b/src/ytdl_sub/plugins/file_convert.py @@ -57,7 +57,7 @@ class FileConvertPlugin(Plugin[FileConvertOptions]): input_file_path = entry.get_download_file_path() output_file_path = input_file_path.removesuffix(entry.ext) + convert_to - ffmpeg_args = ["-bitexact", "-i", input_file_path, output_file_path] + ffmpeg_args = ["-bitexact", "-i", input_file_path, "-c", "copy", output_file_path] if not self.is_dry_run: FFMPEG.run(ffmpeg_args)