fixed codec error

This commit is contained in:
K4YT3X 2019-02-07 10:29:06 -05:00
parent 873c6c3d44
commit 6deaefcce0

View File

@ -83,7 +83,7 @@ class Ffmpeg:
Arguments:
upscaled {string} -- upscaled image folder
"""
execute = '\"{}\" -i {}\\no_audio.mp4 -i {}\\output-audio.aac -shortest -codec aac {} -y {}'.format(
execute = '\"{}\" -i {}\\no_audio.mp4 -i {}\\output-audio.aac -shortest -codec copy {} -y {}'.format(
self.ffmpeg_path, upscaled, upscaled, self.outfile, ' '.join(self.ffmpeg_arguments))
print(execute)
subprocess.call(execute)