-
I am running a nightly build after this commit: 9d1e5f3 Is it possible to restore the behavior of keeping only a ZIP file when ugoira is set to original and not all of the original JPG separately? I tried a postprocessor but it didn't seem to generate any ZIP at all/
If it makes a difference, I have a post processor for ugoira with both |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
Haven't tried the new feature yet but I'd also like it to work this way. Ideally the frame timing metadata could also be included in the ZIP, which would make it possible to implement correct playback of these ZIPs as-is without any conversion. I have a suspicion this can already be done with a custom postprocessor somehow... |
Beta Was this translation helpful? Give feedback.
-
This here kind of works, but yeah, there should be a builtin option for this and the {
"extractor": {
"pixiv": {
"ugoira": "original",
"postprocessors": [
{
"name" : "zip",
"filter" : "type == 'ugoira'",
"keep-files": true
},
{
"name" : "ugoira",
"extension" : "mkv",
"ffmpeg-args" : ["-c:v", "copy"],
"repeat-last-frame": false
}
]
}
}
} |
Beta Was this translation helpful? Give feedback.
-
{
"name": "ugoira",
"mode": "archive"
} or |
Beta Was this translation helpful? Give feedback.
-
Too bad that https://i.pximg.net/img-zip-ugoira/img/****/**/**/**/**/**/123456789_ugoira1920x1080.zip doesn't include the content of https://www.pixiv.net/ajax/illust/123456789/ugoira_meta?lang=en&version=39df2eee99db17d6580ec18ad96e6d80ec3d183a or https://www.pixiv.net/ajax/illust/123456789/ugoira_meta?lang=en or we wouldn't even be needing to reZIP it, right? Without the frame data, Ugoira are a mess to reencode. Without VFR and frame lengths list, they will just play at whatever speed the encoder defaulted to, per second. It's the classic "Ugoira conversion runs too fast" syndrome. |
Beta Was this translation helpful? Give feedback.
You need to set
ugoira
for pixiv to"original"
for original framesand the code from the latest commit for
"mode": "archive"
to have an effect.I've moved the
ugoira
post processor from pixiv to the global list after the first one and added a pixiv whitelist, and this seems to work. I end up with ZIP + WEBM + one JSON for each frame.Enable the ugoira
metadata
option if you want ananimation.json
file inside the archive itself.config