Fix autocat not copying multiple audios.
This commit is contained in:
parent
6683ae110e
commit
7a10313ca4
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ cat_file = tempfile.TemporaryFile('w', encoding='utf-8', delete=False)
|
|||
cat_file.write(cat_text)
|
||||
cat_file.close()
|
||||
|
||||
cmd = f'ffmpeg -f concat -safe 0 -i {cat_file.name} -c copy "{output_filename}"'
|
||||
cmd = f'ffmpeg -f concat -safe 0 -i {cat_file.name} -map 0:v? -map 0:a? -map 0:s? -c copy "{output_filename}"'
|
||||
os.system(cmd)
|
||||
|
||||
os.remove(cat_file.name)
|
||||
|
|
Loading…
Reference in a new issue