mirror of
https://github.com/k4yt3x/video2x.git
synced 2025-01-30 23:58:11 +00:00
fixed codec error
This commit is contained in:
parent
873c6c3d44
commit
6deaefcce0
@ -83,7 +83,7 @@ class Ffmpeg:
|
|||||||
Arguments:
|
Arguments:
|
||||||
upscaled {string} -- upscaled image folder
|
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))
|
self.ffmpeg_path, upscaled, upscaled, self.outfile, ' '.join(self.ffmpeg_arguments))
|
||||||
print(execute)
|
print(execute)
|
||||||
subprocess.call(execute)
|
subprocess.call(execute)
|
||||||
|
Loading…
Reference in New Issue
Block a user