mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
Update av1an.py
This commit is contained in:
parent
5282197323
commit
e02230b735
1 changed files with 2 additions and 2 deletions
4
av1an.py
4
av1an.py
|
@ -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}'
|
||||||
|
|
Loading…
Reference in a new issue