pull/3709/merge
blankie 18 hours ago committed by GitHub
commit 3d26e2b095
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -638,6 +638,8 @@ class FFmpegEmbedSubtitlePP(FFmpegPostProcessor):
# Don't copy the existing subtitles, we may be running the # Don't copy the existing subtitles, we may be running the
# postprocessor a second time # postprocessor a second time
'-map', '-0:s', '-map', '-0:s',
# Mark the first subtitle track as default
'-disposition:s:0', 'default',
] ]
for i, (lang, name) in enumerate(zip(sub_langs, sub_names)): for i, (lang, name) in enumerate(zip(sub_langs, sub_names)):
opts.extend(['-map', f'{i + 1}:0']) opts.extend(['-map', f'{i + 1}:0'])

Loading…
Cancel
Save