Live data from Hacker News

Twitter's GIF hack

blog.embed.ly

121–130 of 160 posts

Re: Twitter's GIF hack

#121
post #88

Correct me if I'm wrong, but wasn't the whole reason gifs started proliferating on the net because people wanted to share short video loops, but didn't want to embed flash or video which may not load or play correctly in a user's browser? And now we are championing the conversion of those gifs back into video? Seems like a strange round-about way of doing things. I forsee a future where all video clips on the net hav…

gifs are not necessarily video loops. take for example the works of nicolas sassoon (http://nicolassassoon.com/) which occupy the grey area between video and still image

Re: Twitter's GIF hack

#123

Earlier quoted context omitted.

Support for mp4 isn't bleeding-edge tech on other operating systems / distributions, unfortunately. It's a couple of years old in terms of being supported by Chrome; it's supported in Firefox as of last August. At this point, desktop configurations that can't play mp4s are at risk of being considered "broken."

Is it really that difficult to supply a free format like WebM in addition to patent-encumbered H.264? If you only supply H.264, you're cutting out Firefox on OS X, Chromium, and Opera.

Yes, until we get client-side transcoding, it is that difficult. Video files, even files compressed with modern codecs, are really big, and the concepts are generally really hard for most people to grok. The knowledge is so arcane that if you have a basic grasp of ffmpeg you are already a wizard. Most people's eyes will glaze over the second you start talking about how they should use a different container, or codec, or whatever. That's why GIFs (for sub-one-minute videos) and Flash (for long videos and/or videos with sound) became the universal language of video; there was no more "Here's this video, but you have to install WMP/RealPlayer/QuickTime/Bonzai Buddy to see it!" In fact, Flash probably became the standard because it did such a good job at integrating with the rest of the browser and didn't shove obtrusive branding in the user's face.

The tl;dr is that the support needs to very near universal for this to work, and no one is interested in WebM. Google probably could've forced the issue with YouTube, and they initially claimed they were going to, but they chickened out for some reason. I've heard it's because VP8 didn't live up to expectations and that they'll renew the push when VP9 is done, but whatever the motive, the reality is that if you want HTML 5 video to work, you must use H.264, as even Mozilla has been forced to admit.

Re: Twitter's GIF hack

#124
post #91
post #88

Correct me if I'm wrong, but wasn't the whole reason gifs started proliferating on the net because people wanted to share short video loops, but didn't want to embed flash or video which may not load or play correctly in a user's browser? And now we are championing the conversion of those gifs back into video? Seems like a strange round-about way of doing things. I forsee a future where all video clips on the net hav…

Yes, in ancient history, video codecs sucked, browsers sucked, and the only way to play video was through plugins that sucked. Now, all the browsers are pretty good at dealing with video, the codecs are hugely improved (although, there's some headaches with IP) and the plugin is dead. Nobody ever actually wanted gifs. They want short, small videos that are guaranteed to work in their browser and that they can be pret…

Except it doesn't work in my browser (latest version of firefox, no adblock or noscript extensions, but that's beside the point). Gifs do.

Also I can't right-click-save-as.

Re: Twitter's GIF hack

#126
post #88

Correct me if I'm wrong, but wasn't the whole reason gifs started proliferating on the net because people wanted to share short video loops, but didn't want to embed flash or video which may not load or play correctly in a user's browser? And now we are championing the conversion of those gifs back into video? Seems like a strange round-about way of doing things. I forsee a future where all video clips on the net hav…

[deleted]

Re: Twitter's GIF hack

#127

I made a site that drove this innovation, MediaCrush. It's open source. https://github.com/MediaCrush/MediaCrush if you want to try to do this yourself, our code is a good reference. https://mediacru.sh

Why did Gfycat win? I've always wondered.

Gfycat was promoted pretty agressively on reddit. I've never heard of MediaCrush before this thread.

Re: Twitter's GIF hack

#128

Earlier quoted context omitted.

Is it really that difficult to supply a free format like WebM in addition to patent-encumbered H.264? If you only supply H.264, you're cutting out Firefox on OS X, Chromium, and Opera.

It does mean you need to transcode and store twice as many files, which can be a serious pain if you've got a number of different bitrate H.264 assets. It can be a big pain if your software assumes there'll only be a single media file. Not insurmountable but painful for small operations (and for large operations, where there may be a back-catalogue to worry about) I'm with you in spirit, but in practice I think we ca…

This is a new feature launched by one of the biggest web brands there is, so presumably theres no back catalogue.

Re: Twitter's GIF hack

#129

Earlier quoted context omitted.

Is it really that difficult to supply a free format like WebM in addition to patent-encumbered H.264? If you only supply H.264, you're cutting out Firefox on OS X, Chromium, and Opera.

Yes, until we get client-side transcoding, it is that difficult. Video files, even files compressed with modern codecs, are really big, and the concepts are generally really hard for most people to grok. The knowledge is so arcane that if you have a basic grasp of ffmpeg you are already a wizard. Most people's eyes will glaze over the second you start talking about how they should use a different container, or codec,…

> Video files, even files compressed with modern codecs, are really big, and the concepts are generally really hard for most people to grok.

As the article points out, the video files are generally much smaller than the source gifs.

Similarly, while there are real impediments to transcoding for many developers, I'm confident that the Twitter engineers in this specific case are capable of building a VP8 pipeline. After all, they built one for H.264.

At that point, achieving universal support is as simple as having two tags inside your tag. It's not difficult at all: http://www.html5rocks.com/en/tutorials/video/basics/#toc-spe...

Re: Twitter's GIF hack

#130
post #88

Correct me if I'm wrong, but wasn't the whole reason gifs started proliferating on the net because people wanted to share short video loops, but didn't want to embed flash or video which may not load or play correctly in a user's browser? And now we are championing the conversion of those gifs back into video? Seems like a strange round-about way of doing things. I forsee a future where all video clips on the net hav…

gifs are not necessarily video loops. take for example the works of nicolas sassoon ( http://nicolassassoon.com/ ) which occupy the grey area between video and still image

That link made my day. I can't get enough of retro-style computer graphics.
Post reply on HN