Merge branch 'develop' of https://github.com/ifui/you-get into ifui-develop

This commit is contained in:
Mort Yao 2024-03-03 21:42:13 +01:00
commit 393597ef03
No known key found for this signature in database
GPG Key ID: 07DA00CB78203251

View File

@ -175,7 +175,7 @@ def ffmpeg_concat_flv_to_mp4(files, output='output.mp4'):
if FFMPEG == 'avconv':
params += ['-c', 'copy']
else:
params += ['-c', 'copy', '-absf', 'aac_adtstoasc']
params += ['-c', 'copy', '-bsf:a', 'aac_adtstoasc']
params.extend(['--', output])
if subprocess.call(params, stdin=STDIN) == 0:
@ -229,7 +229,7 @@ def ffmpeg_concat_mp4_to_mp4(files, output='output.mp4'):
if FFMPEG == 'avconv':
params += ['-c', 'copy']
else:
params += ['-c', 'copy', '-absf', 'aac_adtstoasc']
params += ['-c', 'copy', '-bsf:a', 'aac_adtstoasc']
params.extend(['--', output])
subprocess.check_call(params, stdin=STDIN)