tag:danbooru.me,2005:/forum_topics/10712 How to upload ugoira, the new pixiv animation system 2016-09-21T03:28:29-04:00 tag:danbooru.me,2005:ForumPost/120310 2016-09-21T03:28:29-04:00 2016-09-21T03:28:29-04:00 @Type-kun: > Sacriven said: > > Uh, really? I can use my... <blockquote> <p>Sacriven said:</p> <p>Uh, really? I can use my bookmarklet just fine. My pixiv' appearance is still the same as always.</p> </blockquote><p>That means you didn't get switched yet. Looks like I was one of the few "lucky" ones, see <a class="dtext-link dtext-id-link dtext-forum-topic-id-link" href="/forum_topics/13205">topic #13205</a>. Maaaaybe they will leave the old design as-is, but I doubt that somehow.</p> Type-kun /users/337059 tag:danbooru.me,2005:ForumPost/120309 2016-09-21T03:10:02-04:00 2016-09-21T03:10:02-04:00 @Sacriven: > Type-kun said: > > Yeah, no preview is... <blockquote> <p>Type-kun said:</p> <p>Yeah, no preview is misleading, we should do something about that, but commentary is quoted properly when I try it. Did your pixiv design change recently, by chance? Bookmarklet can't work with whitecube yet.</p> </blockquote><p>Uh, really? I can use my bookmarklet just fine. My pixiv' appearance is still the same as always.</p> Sacriven /users/397518 tag:danbooru.me,2005:ForumPost/120308 2016-09-21T00:44:14-04:00 2016-09-21T00:44:14-04:00 @Moonspeaker: > Type-kun said: > > Yeah, no preview is... <blockquote> <p>Type-kun said:</p> <p>Yeah, no preview is misleading, we should do something about that, but commentary is quoted properly when I try it. Did your pixiv design change recently, by chance? Bookmarklet can't work with whitecube yet.</p> </blockquote><p>Yes, the commentary showed up properly for me this time as well.</p><p>I hadn't noticed any recent Pixiv design change, but that's hardly conclusive.</p> Moonspeaker /users/124541 tag:danbooru.me,2005:ForumPost/120307 2016-09-21T00:40:17-04:00 2016-09-21T00:40:17-04:00 @Type-kun: > Moonspeaker said: > > I'd initially tried... <blockquote> <p>Moonspeaker said:</p> <p>I'd initially tried using the bookmarklet, actually, but it didn't show any preview or quote the commentary, so I didn't know if I was doing it right by going straight from the HTML page rather than viewing the image directly (which my browser won't let me do from the Pixiv page).</p> <p>So much for being clever.</p> </blockquote><p>Yeah, no preview is misleading, we should do something about that, but commentary is quoted properly when I try it. Did your pixiv design change recently, by chance? Bookmarklet can't work with whitecube yet.</p> Type-kun /users/337059 tag:danbooru.me,2005:ForumPost/120301 2016-09-20T23:05:10-04:00 2016-09-20T23:05:10-04:00 @Moonspeaker: > Type-kun said: > > Well, Danbooru supports... <blockquote> <p>Type-kun said:</p> <p>Well, Danbooru supports ugoira upload without any reconversion for almost 2 years already. You just need to specify <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="http://www.pixiv.net/member_illust.php?mode=medium&amp;illust_id=57872141">http://www.pixiv.net/member_illust.php?mode=medium&amp;illust_id=57872141</a> in the source field, or use bookmarklet on that page.</p> </blockquote><p>I'd initially tried using the bookmarklet, actually, but it didn't show any preview or quote the commentary, so I didn't know if I was doing it right by going straight from the HTML page rather than viewing the image directly (which my browser won't let me do from the Pixiv page).</p><p>So much for being clever. </p> Moonspeaker /users/124541 tag:danbooru.me,2005:ForumPost/120285 2016-09-20T11:28:31-04:00 2016-09-20T11:28:31-04:00 @Type-kun: > Sacriven said: > > Just want to know, is... <blockquote> <p>Sacriven said:</p> <p>Just want to know, is there any filesize limit when it comes to uploading ugoira? Last time I tried to upload a 36 MB ugoira but it failed...</p> </blockquote><p>Max file size is 35 MB for a file pulled from URL, 30MB for a file you upload. I think there was an issue on github to increase it, but I can't find it.</p> Type-kun /users/337059 tag:danbooru.me,2005:ForumPost/120284 2016-09-20T11:12:13-04:00 2016-09-20T11:12:13-04:00 @Sacriven: Just want to know, is there any filesize limit... <p>Just want to know, is there any filesize limit when it comes to uploading ugoira? Last time I tried to upload a 36 MB ugoira but it failed...</p> Sacriven /users/397518 tag:danbooru.me,2005:ForumPost/120283 2016-09-20T10:51:15-04:00 2016-09-20T10:51:15-04:00 @Type-kun: > Moonspeaker said: > > I figured out today... <blockquote> <p>Moonspeaker said:</p> <p>I figured out today how to upload a reasonably small ugoira thanks to the link provided in <a class="dtext-link" href="/forum_posts/99483">Loc0's post</a> one page back (if this post doesn't start page 11 of the thread). I think the information would be useful to have in the Upload help page, so one doesn't eventually have to dig too deep for it in the forum, but I also realize there's more to uploading ugoira posts than just that link and subsequent source link updating. Is it possible yet to condense the necessary info into a help page, or is it still being worked out?</p> </blockquote><p>Well, Danbooru supports ugoira upload without any reconversion for almost 2 years already. You just need to specify <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="http://www.pixiv.net/member_illust.php?mode=medium&amp;illust_id=57872141">http://www.pixiv.net/member_illust.php?mode=medium&amp;illust_id=57872141</a> in the source field, or use bookmarklet on that page.</p> Type-kun /users/337059 tag:danbooru.me,2005:ForumPost/120282 2016-09-20T10:02:32-04:00 2016-09-20T10:02:32-04:00 @Moonspeaker: I figured out today how to upload a reasonably... <p>I figured out today how to upload a reasonably small ugoira thanks to the link provided in <a class="dtext-link" href="/forum_posts/99483">Loc0's post</a> one page back (if this post doesn't start page 11 of the thread). I think the information would be useful to have in the Upload help page, so one doesn't eventually have to dig too deep for it in the forum, but I also realize there's more to uploading ugoira posts than just that link and subsequent source link updating. Is it possible yet to condense the necessary info into a help page, or is it still being worked out?</p> Moonspeaker /users/124541 tag:danbooru.me,2005:ForumPost/102941 2015-02-13T19:21:46-05:00 2015-02-13T19:21:46-05:00 @GenL: So there is BPG http://bellard.org/bpg/... <p>So there is BPG<br><a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="http://bellard.org/bpg/">http://bellard.org/bpg/</a><br><a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="http://bellard.org/bpg/animation.html">http://bellard.org/bpg/animation.html</a></p><p>And Honeyview supports it now<br><a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="http://www.bandisoft.com/honeyview/history/">http://www.bandisoft.com/honeyview/history/</a></p><p>Honeyview is Windows only, fairly popular already. They used libbpg.<br>libbpg is available on bpg page - libbpg-0.9.5.tar.gz<br>There are also binary tools for creating and viewing images, with documentation - bpg-0.9.5-win32.zip</p><p>Tested with image 48658471.<br>ugoira zip = 19.8 mb<br>gif = 41.8 mb<br>bpg = 513 kb<br>bpg lossless = 40.8 mb (seems glitched, strange color artifacts appear on the image)</p><p>Encoding time: no less than 30 minutes. Damn.</p> GenL /users/115319 tag:danbooru.me,2005:ForumPost/101656 2014-11-21T09:13:11-05:00 2014-11-21T09:13:11-05:00 @Schrobby: I have an ugoira I can't upload due to file... <p>I have an ugoira I can't upload due to file size, almost 40 megs. A higher upload limit sure would be nice, like 50 megs or something.</p> Schrobby /users/254161 tag:danbooru.me,2005:ForumPost/101560 2014-11-15T17:45:53-05:00 2014-11-15T17:46:32-05:00 @Toks: Danbooru already does that. If you source... <p>Danbooru already does that. If you source upload an ugoira it stores the original images and it also converts it to a video file as well (click "Save as video" underneath the ugoira).</p> Toks /users/356497 tag:danbooru.me,2005:ForumPost/101557 2014-11-15T16:08:21-05:00 2014-11-15T16:18:52-05:00 @dolphinjet: Can Danbooru support video format? Those... <p>Can Danbooru support video format? <br>Those ugoira can be shrinked to ~1/10 file size with h264 video codec. <br>GIF cannot do that and it loses quality more significantly.</p><p>Image to video conversion can be done by ffmpeg <br>Put the simple dos batch script into the image folder with the images, modify the settings, and then run it.</p><p>Here's an batch example, <br>Setting the image file name prefix, dimension, fps, crf (a video quality factor)<br>Note that 03d means 3-digit number, so %prefix%%%03d.jpg means prefix000.jpg and so on...</p><pre>set prefix=img set dim=1280x720 set fps=15 set crf=18 D:\MeGUI\tools\ffmpeg\ffmpeg.exe -f image2 -i "%prefix%%%03d.jpg" -r %fps% -s %dim% -vcodec libx264 -crf %crf% -preset slow %prefix%-output.mp4 </pre><p>^ As you can see, I've installed MeGUI and use it's ffmpeg included. You can install it separately.</p><p>In general, image to video conversion is simple, even simpler than making GIF.<br>The rest is server support. The script works for non-pixiv images too. People may convert any image sequences with their own PC.</p> dolphinjet /users/183784 tag:danbooru.me,2005:ForumPost/100715 2014-10-02T09:06:02-04:00 2014-10-02T09:06:02-04:00 @Schrobby: The op post has all sorts of things including... <p>The op post has all sorts of things including scripts for getting those.</p> Schrobby /users/254161 tag:danbooru.me,2005:ForumPost/100693 2014-10-01T04:55:53-04:00 2014-10-01T04:55:53-04:00 @ElectricSheep: Well, if you can make the .zip + timecodes... <p>Well, if you can make the .zip + timecodes available in any reasonable format via http then whipping up a player should be fairly easy.</p> ElectricSheep /users/439258 tag:danbooru.me,2005:ForumPost/100665 2014-09-30T09:13:48-04:00 2014-09-30T09:13:48-04:00 @Schrobby: Integrating the player and enable uploading the... <p>Integrating the player and enable uploading the files in original form sure would be the best possible solution.</p> Schrobby /users/254161 tag:danbooru.me,2005:ForumPost/100637 2014-09-28T21:06:41-04:00 2014-09-28T21:06:41-04:00 @ElectricSheep: > The really interesting bit is at the end: it... <blockquote><p>The really interesting bit is at the end: it turns out Pixiv actually released their player as open source! It's available at <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="https://github.com/pixiv/zip_player">https://github.com/pixiv/zip_player</a>. It looks like it would be pretty feasible to integrate this into Danbooru to give us native ugoira support.</p></blockquote><p>It's not hard to implement anyway, using external libraries it only took me around 70LoC.</p><p>The real issue is that it it only works in the browser, you can't really save it to disk in animated form or post it anywhere else on the web.</p><p>The zip + frame times is good for archival purposes, but not convenient otherwise.</p> ElectricSheep /users/439258 tag:danbooru.me,2005:ForumPost/100627 2014-09-28T11:33:27-04:00 2014-09-28T11:33:27-04:00 @Schrobby: Renamed the thread, the title now has ugoira in... <p>Renamed the thread, the title now has ugoira in it.</p> Schrobby /users/254161 tag:danbooru.me,2005:ForumPost/100622 2014-09-28T06:01:49-04:00 2014-09-28T06:01:49-04:00 @Dbx: > ElectricSheep said: > > Toks' and mine... <blockquote> <p>ElectricSheep said:</p> <p>Toks' and mine actually do set the actual VFR frame rate as a 2nd pass via mkvmerge. <br>The framerate in the ffmpeg encoding stage is not really important apart from encoding quality calculations, which can be tweaked based on any arbitrarily chosen framerate or a calculated average.</p> </blockquote><p>It might not have been clear, but I was indeed talking about frame rates for their effect on quality during encoding. One could at any point say his settings are "good enough," but I wondered if the choice of lowest crf meant the compromise on frame rate was unintentional.</p> Dbx /users/14602 tag:danbooru.me,2005:ForumPost/100610 2014-09-27T19:18:19-04:00 2014-09-27T19:18:19-04:00 @evazion: So I just came across these slidedecks from... <p>So I just came across these slidedecks from tech talks the Pixiv developers gave on how Ugoira works:</p><p><a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="https://speakerdeck.com/harukasan/ugoku-backend">https://speakerdeck.com/harukasan/ugoku-backend</a> is partly in English and talks about the server-side intrastructure. There are some interesting stats about Pixiv in here, like the fact that Pixiv runs on 400 (!) servers.</p><p><a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="http://tototoshi.github.io/slides/ugoira-tech-talks-ugoku-gazou-henkan/">http://tototoshi.github.io/slides/ugoira-tech-talks-ugoku-gazou-henkan/</a> is in Japanese. Not sure what it's says.</p><p><a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="https://marcan.st/talks/2014_pixiv_ugoku_player/">https://marcan.st/talks/2014_pixiv_ugoku_player/</a> briefly talks about how their HTML5 zip player works. The really interesting bit is at the end: it turns out Pixiv actually released their player as open source! It's available at <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="https://github.com/pixiv/zip_player">https://github.com/pixiv/zip_player</a>. It looks like it would be pretty feasible to integrate this into Danbooru to give us native ugoira support.</p> evazion /users/52664