Skip to content

command for pixiv ugoira to gif of highest quality #2101

Answered by mikf
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

There isn't. You'll have to add custom ugoira post processor setting in your config file and use that. For example this would create a gif with better colors.

The following as config file would automatically convert all Pixiv ugoira to gif:

{
    "extractor": {
        "pixiv": {
            "ugoira": true,
            "postprocessors": ["ugoira-gif"]
        }
    },

    "postprocessor": {
        "ugoira-gif": {
            "name": "ugoira",
            "extension": "gif",
            "ffmpeg-args": ["-filter_complex", "[0:v] split [a][b];[a] palettegen [p];[b][p] paletteuse"]
        }
    }
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ghost
Comment options

@mikf
Comment options

mikf Dec 19, 2021
Maintainer

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant