This commit is contained in:
Fuyan Yuan 2024-11-18 14:51:38 +01:00 committed by GitHub
commit d155fe7fb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -824,7 +824,7 @@ class FFmpegMergerPP(FFmpegPostProcessor):
def run(self, info): def run(self, info):
filename = info['filepath'] filename = info['filepath']
temp_filename = prepend_extension(filename, 'temp') temp_filename = prepend_extension(filename, 'temp')
args = ['-c', 'copy'] args = ['-c', 'copy', '-copyts']
audio_streams = 0 audio_streams = 0
for (i, fmt) in enumerate(info['requested_formats']): for (i, fmt) in enumerate(info['requested_formats']):
if fmt.get('acodec') != 'none': if fmt.get('acodec') != 'none':