add '--ugoira-conv-copy' command-line option (#1550)

This commit is contained in:
Mike Fährmann
2022-03-27 15:31:24 +02:00
parent a164f4b91e
commit 1aafa1d12d

View File

@@ -400,6 +400,18 @@ def build_parser():
},
help="Convert Pixiv Ugoira to WebM in VP9 lossless mode",
)
postprocessor.add_argument(
"--ugoira-conv-copy",
dest="postprocessors", action="append_const", const={
"name" : "ugoira",
"extension" : "mkv",
"ffmpeg-args" : ("-c:v", "copy"),
"ffmpeg-twopass" : False,
"repeat-last-frame": False,
"whitelist" : ("pixiv", "danbooru"),
},
help="Convert Pixiv Ugoira to MKV without re-encoding any frames",
)
postprocessor.add_argument(
"--write-metadata",
dest="postprocessors",