Remux video for combined format download

This commit is contained in:
tcely 2025-05-06 11:44:39 -04:00 committed by GitHub
parent dba5bc01a2
commit 024ced3696
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -336,12 +336,15 @@ def download_media(
)
# assignment is the quickest way to cover both 'get' cases
pp_opts.exec_cmd['after_move'] = cmds
else:
pp_opts.remuxvideo = extension
ytopts = {
'format': media_format,
'final_ext': extension,
'merge_output_format': extension,
'outtmpl': os.path.basename(output_file),
'remuxvideo': pp_opts.remuxvideo,
'quiet': False if settings.DEBUG else True,
'verbose': True if settings.DEBUG else False,
'noprogress': None if settings.DEBUG else True,