1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00

improve FFmpeg arguments for --ugoira-conv

This commit is contained in:
Mike Fährmann 2019-03-23 09:49:04 +01:00
parent b0f88c2ab5
commit e7d0d98c88
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

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