Hacker News new | past | comments | ask | show | jobs | submit login

I'm pretty sure everyone is missing the point here.

GIF isn't about optimization. It isn't about the best technology. It isn't about anything that we care about as engineers.

It's about what is easy for users to create.

That's it. That's all there is to it.

GIF is easy.

It doesn't matter if it sucks. It doesn't matter if it's not optimal. It's easy.

And there's my problem with how people kill GIF. It's never easy.

I right click on a Twitter 'GIF', I can't save it. I go to developer tools, they did a bunch of JavaScript fuckery just so I couldn't save it. Okay, I find a third party tool and save it anyway as a .mp4 file. Stupid.

I right click on an Imgur link, it saves a webpage. Okay, replace .gifv with .webm - oh, it redirects me to gifv. Last time I had to save something from Imgur, I had to use curl of all things to do it. It's ridiculous.

GIF is simple. You upload the file as an image, something everybody mastered doing, and it will play, no questions asked. Videos are hard. Everybody wants to re-encode them in different formats, everybody has to include a fancy player in an iframe. You have to check for browsers since you can't solely use mp4 because of patent whatever, and can't solely use webm because Apple hates Google that much.

GIF, the file format, is bad. 256 colors, file size, etc. But everything people are trying to replace it with is even worse.

Exactly. As the article says:

> If GIFs are like framed pictures you can take down and move to your new house, these GIF-like videos are murals painted right onto the wall.

In an ideal world, I would be able to bookmark a URL, refer to it 10 years later, and still get the exact same information. Unfortunately, this is not true for any of the image/video hosting services that we use on a daily basis, from Imgur to YouTube.

So if I really want to preserve a piece of information for later retrieval, I need to keep a copy on my own computer. I can right-click a GIF and save it as a file, and I'm pretty sure it will stay where I put it for the next 20 years (or more). I don't have the same kind of assurance with most other video formats. Yeah, the GIF is 20 times bigger, but who cares? Disk space is cheap. Bandwidth is cheap. Universal compatibility is hard.

Your examples are poor.

Twitter is a massive pile of JavaScript garbage - it's just as difficult to download a still image off it (I have a bookmarklet for the task).

On imgur I can just right-click on an animation and select "Download Video..." and I get the mp4. Just as simple as images.

Could you share the Twitter bookmarklet with us please? It sounds very useful.

It's very simple:

This navigates to the picture currently in the lightbox (so you might have to click on it in the tweet to zoom it)

With Firefox you can just press Ctrl+I and find the video in the media tab. No need for Add-ons or external tools.

I don't even think it's what's easiest to create. It's what's easiest to share.

Pretty much every user-generated content site lets users upload or embed images. Few of them support video, or if they do, it's in a cumbersome player, or by embedding YouTube or something.

Hopefully the widespread adoption of the HTML5 <video> element, with h.264 support (thanks Cisco!) - and with iOS 10 it can finally play inline and even autoplay on iPhones - will spur these kinds of sites to allow direct embedding of videos.

The same is true of JPG, MP3, and PDF. Are there (technically) better things out there? Sure. But these formats are good enough for what people want to use them for. I'll never transcode my MP3s (or re-rip the CDs) into mkv or wm4 or whatever, because MP3s play on everything with a speaker. I'll never bother to convert to JPEG2000 because seriously, the difference is almost imperceptible. These formats are good enough, and so there's no reason to use anything else.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact