diff options
| author | 2022-04-09 00:15:19 -0400 | |
|---|---|---|
| committer | 2022-04-09 00:15:19 -0400 | |
| commit | 2fe1dfed848fc26b7419e3bfe91a62e686960429 (patch) | |
| tree | 901cb64e2a1748df2bb8c7abc60ff6d72ae4bc27 /gallery_dl/option.py | |
| parent | c2e774d3f5a4499b8beb5a12ab46a0099b16b1e7 (diff) | |
New upstream version 1.21.1.upstream/1.21.1
Diffstat (limited to 'gallery_dl/option.py')
| -rw-r--r-- | gallery_dl/option.py | 12 |
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", |
