News for hackers. Stuff that matters.
Re:Show your projects in motion with animated GIFs by devwastaken on Saturday June 30, 2018 @12:35AM (#17429497)
The first gif in the page is 7.31 MB. It's 13 seconds long.

    ffmpeg -i asdf.gif -c:v libvpx-vp9 -crf 20 -b:v 1500k output.webm
I get a 999KB webm of the same quality. It would probaby go lower if there weren't gif compression artifacts in the original.

Imgur solved this problem years ago by just converting gifs to mp4's and webm's and calling them 'gifv's. afaik reddit does the same. I cannot imagine the amount of unneeded bandwidth this will create and how many devs with lesser internet access will yet again have to wait more. Even mobile data plans of today are just dumb small.

Not to mention that I can do all the effects the gif does in sony vegas without too much effort.

`Many of the GIFs featured on the GitHub blog and social media begin as 24fps video files. This frame rate, combined with a bit of motion blur, helps give the action in the animation a more cinematic feel. Those videos get imported into Adobe Photoshop, where they can be tweaked frame-by-frame. There are a variety of helpful tutorials about this process available online. From Photoshop, it’s possible to compare the resulting file size and image quality of multiple export settings combinations at once. This helps show you where you have room for a bit of extra dithering or how a more limited color palette will hold up.`

Captain, it appears the ship is going backwards. All of our thrusters have turned to irony mode.

Re:Show your projects in motion with animated GIFs by johndough on Saturday June 30, 2018 @03:25AM (#17429875)
There once was an issue on github about supporting video in READMEs, but an employee said that they had no plans to do so, which resulted in lots of drama and many "thumbs down". Unfortunately, I can't find the issue anymore, so I guess it was deleted.