Skip to content

Commit

Permalink
improve FFmpeg arguments for --ugoira-conv
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Mar 23, 2019
1 parent b0f88c2 commit e7d0d98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gallery_dl/option.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e7d0d98

Please sign in to comment.