mirror of
https://github.com/soimort/you-get.git
synced 2025-02-11 20:52:31 +03:00
parent
e752181fcb
commit
8d6e6d945a
2
src/you_get/processor/ffmpeg.py
Normal file → Executable file
2
src/you_get/processor/ffmpeg.py
Normal file → Executable file
@ -169,7 +169,7 @@ def ffmpeg_concat_mp4_to_mp4(files, output='output.mp4'):
|
|||||||
|
|
||||||
params = [FFMPEG] + LOGLEVEL + ['-f', 'concat', '-safe', '-1', '-y', '-i']
|
params = [FFMPEG] + LOGLEVEL + ['-f', 'concat', '-safe', '-1', '-y', '-i']
|
||||||
params.append(output + '.txt')
|
params.append(output + '.txt')
|
||||||
params += ['-c', 'copy', output]
|
params += ['-c', 'copy', '-bsf:a', 'aac_adtstoasc', output]
|
||||||
|
|
||||||
subprocess.check_call(params)
|
subprocess.check_call(params)
|
||||||
os.remove(output + '.txt')
|
os.remove(output + '.txt')
|
||||||
|
Loading…
Reference in New Issue
Block a user