How do I download from pixiv and convert all ugoiras into .mp4 with original quality and tag them?? #6122
Replies: 2 comments
-
Well, what have you tried so far? How far have you got? First, make sure that In the config file section for pixiv, add this: "postprocessors":
[
{
"name": "ugoira",
"extension": "mp4",
"ffmpeg-args": ["-c", "copy"],
"libx264-prevent-odd": false,
"repeat-last-frame": false
}
], Although I'm not sure if this is actually possible with MP4. Maybe ffmpeg will do that for you, but it's not according to standard, pretty sure. MKV might be better here. |
Beta Was this translation helpful? Give feedback.
-
I was looking, and most (all in this comprehensive list for example) modern formats seem to support VFR. Technically, JPEG frames are not 'supported' but it would almost take intentionally bad implementations to support JPEG outside of a container, but not in one (browsers). I'm tempted to test if they work in clients like VLC. If a Ugoira has PNG images, then you can safely transcode it to any lossless format. That list doesn't show APNG/MNG (animated PNGs) but those support only constant frame rate so are not applicable, AFAIR. JNG is a real odd case where you put the same basic data as a JPEG but inside what is essentially PNG format. Some of the video containers DO support that (namely, MNG and Ogg). I have no idea how to make it transform JPEGs into JNGs with no recompression, to use with Ogg (which supports VFR). It feels like MP4 or MKV/WebM would be the best to try this with. What I haven't found is a list of applications or platforms that do/do not work with JPEG frames embedded into those containers. BTW: M-JPEG is not the same as JPEG. |
Beta Was this translation helpful? Give feedback.
-
issue #6056 #4918 #5908 #453 #5680 I tried reading it but I'm confused with how config file work, for #5680 does is it possible to also do it for other galleries websites like sankakucomplex and #453 I meant convert it while the individual file is downloaded and not after all the tasks are finished( while the command is running)?
Beta Was this translation helpful? Give feedback.
All reactions