[BACKEND] copy codecs, only change container (#269)

This commit is contained in:
Jesse Bannon 2022-10-03 16:42:40 -07:00 committed by GitHub
parent a8b8762f49
commit dc7b47d29b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)