Update av1an.py

This commit is contained in:
Zen 2020-02-04 01:13:04 +02:00
parent 5282197323
commit e02230b735

View file

@ -406,9 +406,9 @@ class Av1an:
print('Error: audio file for concatenation not found') print('Error: audio file for concatenation not found')
if self.output_file == self.args.output_file: if self.output_file == self.args.output_file:
self.output_file = f'{input_video.split(".")[0]}_av1.webm' self.output_file = f'{input_video.split(".")[0]}_av1.mkv'
else: else:
self.output_file = f'{join(self.here, self.args.output_file)}.webm' self.output_file = f'{join(self.here, self.args.output_file)}.mkv'
try: try:
cmd = f'{self.FFMPEG} -f concat -safe 0 -i {concat} {self.audio} -y {self.output_file}' cmd = f'{self.FFMPEG} -f concat -safe 0 -i {concat} {self.audio} -y {self.output_file}'