1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-07-09 15:23:59 -05:00

[ThumbnailsConvertor] Allow conditional conversion

Closes #3970
This commit is contained in:
pukkandan
2022-06-05 19:58:56 +05:30
parent 0bea4fd807
commit 00bbc5f177
4 changed files with 42 additions and 30 deletions

View File

@ -1610,7 +1610,8 @@ def create_parser():
metavar='FORMAT', dest='convertthumbnails', default=None,
help=(
'Convert the thumbnails to another format '
'(currently supported: %s) ' % ', '.join(FFmpegThumbnailsConvertorPP.SUPPORTED_EXTS)))
f'(currently supported: {", ".join(FFmpegThumbnailsConvertorPP.SUPPORTED_EXTS)}). '
'You can specify multiple rules using similar syntax as --remux-video'))
postproc.add_option(
'--split-chapters', '--split-tracks',
dest='split_chapters', action='store_true', default=False,