add a 'whitelist' to '--ugoira-conv' (#382)

This commit is contained in:
Mike Fährmann
2019-08-15 13:27:57 +02:00
parent e661a1ce19
commit 2cbbc3dec4

View File

@@ -307,7 +307,8 @@ def build_parser():
"--ugoira-conv",
dest="postprocessors",
action="append_const", const={"name": "ugoira", "ffmpeg-args": (
"-c:v", "libvpx", "-crf", "4", "-b:v", "5000k", "-an")},
"-c:v", "libvpx", "-crf", "4", "-b:v", "5000k", "-an"),
"whitelist": ("pixiv", "danbooru")},
help="Convert Pixiv Ugoira to WebM (requires FFmpeg)",
)
postprocessor.add_argument(