summaryrefslogtreecommitdiffstats
path: root/gallery_dl/option.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/option.py')
-rw-r--r--gallery_dl/option.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/gallery_dl/option.py b/gallery_dl/option.py
index e1ada09..782063d 100644
--- a/gallery_dl/option.py
+++ b/gallery_dl/option.py
@@ -401,6 +401,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",
action="append_const", const="metadata",