Donmai

Danbooru now supports Ugoira

Posted under Bugs & Features

I'm making a new thread for this to make sure everyone is aware of it: Danbooru now has native support for Pixiv's ugoira format. You can upload ugoira by putting one of these links in the source field:

It works using Pixiv's own ugoira player, so animation playback and browser compatibility should be exactly the same as with Pixiv. The original .zip file is stored by Danbooru completely unmodified. The frame metadata is available in Danbooru's JSON API, so existing archiving/conversion tools should be able to be made to work with Danbooru without much trouble.

For downloading purposes, ugoira are automatically converted to .webm using Toks' conversion script. Use the "Save as video" link beneath the ugoira to download the .webm; use the Size link in the sidebar to download the original .zip.

For those who is uploading directly from pixiv please tag your own post with webm tag since all of those files are rendered as webm format. Thanks in advance.

Edit: Oh I guess webm tag doesn't work anymore for uploads if it's uploaded to danbooru directly from pixiv.

Updated

Qpax said:

For those who is uploading directly from pixiv please tag your own post with webm tag since all of those files are rendered as webm format. Thanks in advance.

Edit: Oh I guess webm tag doesn't work anymore for uploads if it's uploaded to danbooru directly from pixiv.

They're not rendered as webms though. They're rendered via html5 canvas just like pixiv does it.

Danbooru provides a webm download link under the ugoira, but that's for download only and is separate from the main post.

shinji257 said:

Hmm... Are thumbnails not being generated for the newer html5 versions?

They are, but they're delayed a couple seconds after upload. They seem to be getting delayed a lot more at the moment because subscriptions are processing, but it may be possible to improve this.

For now subscriptions just finished so the thumbnails should be working again now.

I can't seem to save some of them.

Whenever I click Save as video (right click and save), I get a message saying Cannot play video because file is corrupt. Right-clicking and saving on the other hand makes be download file that is 0 bytes in size.

For example, I can save this - http://danbooru.donmai.us/posts/1830494
But not this - http://danbooru.donmai.us/posts/1830447

I used the latest Firefox, Pale Moon, and Chrome. All have the same results.

Updated

Actually I don't like this new system. The reason is simple: when you upload directly from pixiv then the file size of ugoira file turns out to be real big while when I render my own webm files then compared to recent posts on the site they are really and rather really small.

What I am trying to say is this and let's see with the examples:

This post is uploaded directly from pixiv which uses new Ugoira uploading system on danbooru post #1830544
And this is my webm upload which I used some of these Ugoira script that was provided on danbooru forum post #1829347

Just look at the file size of both files and you can notice ridiculous file size difference between two post. There is also no quality loss between two post too so I guess I will try to upload my own webm files in order to refrain from bigger file sizes. This is also bad for site too, isn't it? Now these files are going to take more free empty space on the site.

What's suprising is that people are still uploading and these parent post on the site with bigger file sizes like I just showed you guys above. I don't understand to point of this. Both are literally webm supported and uses same principle so I kind of find it really pointless when people still add parent post with this system while there are already quality webm version is already uploaded to the site. It's like uploading animated.gif with bigger file size and the reason why we were uploading with webm format is the reducing the file size while providing quality animated works just like can be seen above.

So in short what I am complaining right here is that if you guys have slow internet connection like me then it's bothersome to wait and see ugoira works with bigger file sizes that's uploaded with this new system. I'd still rather upload webm version. I wish there was a system that convereted them into directly to webm while preventing quality loss along with still providing small file sizes but I guess it's just impossible.

Gosh just look at the size of this post lol post #1830471 (which is 11mb) and I just uploaded my own webm version now too post #1830570 As you guys can see this post has much more smaller file size and moreover you can notice that it loads even faster than the post #1830471 which has a long waiting time and loads rather slow.

So the choice is your guys but I still prefer to stick with webm files which has smaller file sizes and loads much faster compared to new system that utilizes bigger file compression.

Updated

Qpax said:

I'd still rather upload webm version. I wish there was a system that convereted them into directly to webm

Actually, if the "save as webm" thing gets corrected, there is no reason why we can't just add an option in the settings menu to show ugoira webms instead of the html5 canvas - after all, to have a downloadable version means it's already been converted, doesn't it.

Rinfinite said:

I can't seem to save some of them.

Whenever I click Save as video (right click and save), I get a message saying Cannot play video because file is corrupt. Right-clicking and saving on the other hand makes be download file that is 0 bytes in size.

.

Same here, at least as far as the 0 Bytes save is concerned, which makes it silly to keep trying.. Icecat ( a Firefox derivative. )

Qpax said:

I wish there was a system that convereted them into directly to webm while preventing quality loss along with still providing small file sizes but I guess it's just impossible.

But Danbooru already does exactly that automatically for ugoira. Check out the "Save as video (right click and save)" link.

If you prefer the webms then you can use the ones Danbooru provides, please do not upload the webm conversions directly as some people will prefer to have the original files instead of the conversion.

sealplayerz said:

I'm using http://i3.pixiv.net/img-zip-ugoira/img/2014/09/25/01/32/16/46171582_ugoira1920x1080.zip format for my source in post #1830369 and all my other ugoira upload but the source link of all my ugoira upload didn't go to the pixiv post page and I can't download it all,

You're talking about the redirection to http://www.pixiv.net/member_illust.php?mode=medium&illust_id=46171582 when you click the source? That will be fixed for the next version.

Updated

Toks said:

But Danbooru already does exactly that automatically for ugoira. Check out the "Save as video (right click and save)" link.

If you prefer the webms then you can use the ones Danbooru provides, please do not upload the webm conversions directly as some people will prefer to have the original files instead of the conversion.

You're talking about the redirection to http://www.pixiv.net/member_illust.php?mode=medium&illust_id=46171582 when you click the source? That will be fixed for the next version.

Thanks for that. Will you fix 0 byte size file in save as video too?

Toks said:

please do not upload the webm conversions directly as some people will prefer to have the original files instead of the conversion.

But as I said in that post I don't like to download files with big size which also takes ages to load on danbooru. Webm conversations are smaller in file size terms and they are also quick to load and doesn't make you to wait so why should go with this new system? It doesn't make any sense. I mean trying to force the rule that we should use this system which not stable at the moment. Isn't there any way to make these files smaller compared to original like our webm conversation and make them to load faster than usual? If you guys achive something like that then it's going to be really awesome achivement for this site for sure like putting link to source section and then danbooru fetches files and then directly converts them into webm files with smaller compression. I don't like the idea how they are rendered via html5 canvas just like pixiv does it *sighs*.

Qpax said:

But as I said in that post I don't like to download files with big size which also takes ages to load on danbooru. Webm conversations are smaller in file size terms and they are also quick to load and doesn't make you to wait so why should go with this new system? It doesn't make any sense. I mean trying to force the rule that we should use this system which not stable at the moment. Isn't there any way to make these files smaller compared to original like our webm conversation and make them to load faster than usual? If you guys achive something like that then it's going to be really awesome achivement for this site for sure like putting link to source section and then danbooru fetches files and then directly converts them into webm files with smaller compression. I don't like the idea how they are rendered via html5 canvas just like pixiv does it *sighs*.

The webms that Danbooru generates do not have particularly huge file sizes.

Borrator said:

Actually, if the "save as webm" thing gets corrected, there is no reason why we can't just add an option in the settings menu to show ugoira webms instead of the html5 canvas - after all, to have a downloadable version means it's already been converted, doesn't it.

This is doable, it just hasn't been done because swapping between a webm <video> and a ugoira <canvas> is a little trickier than swapping between two images, as is done with ordinary images when you have image samples turned on in your account settings.

Having the webm display by default when you have image samples on ought to solve the concern about bandwidth though.

1 2