1
mirror of https://github.com/yt-dlp/yt-dlp synced 2024-11-27 05:13:39 +01:00

[ThumbnailsConvertor] Support webp

Closes #2226
This commit is contained in:
pukkandan 2022-02-21 20:31:49 +05:30
parent 77cc7c6e60
commit 72073451be
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39
2 changed files with 2 additions and 2 deletions

View File

@ -951,7 +951,7 @@ You can also fork the project on github and run your fork's [build workflow](.gi
(currently supported: srt|vtt|ass|lrc)
(Alias: --convert-subtitles)
--convert-thumbnails FORMAT Convert the thumbnails to another format
(currently supported: jpg|png)
(currently supported: jpg|png|webp)
--split-chapters Split video into multiple files based on
internal chapters. The "chapter:" prefix
can be used with "--paths" and "--output"

View File

@ -1055,7 +1055,7 @@ class FFmpegSplitChaptersPP(FFmpegPostProcessor):
class FFmpegThumbnailsConvertorPP(FFmpegPostProcessor):
SUPPORTED_EXTS = ('jpg', 'png')
SUPPORTED_EXTS = ('jpg', 'png', 'webp')
def __init__(self, downloader=None, format=None):
super(FFmpegThumbnailsConvertorPP, self).__init__(downloader)