What Twitter Isn’t Telling You About GIFs
The 13 year old in all of us rejoiced when Twitter started supporting GIFS! Yaayyy, but I’m here to crush your dreams, Twitter’s GIFs are actually displayed as looping videos.
We did a little test, here is the original:
Here is the Twitter “GIF”.
It appears that on upload, Twitter is converting the GIF to an MP4 and embedding the video instead. Why would they do such a crazy thing? Well, size and control.
GIFs are terrible at compression. The original GIF above is 500kb while the mp4 version is only 100kb. A GIF is literally a sequence of independent images squeezed into the same file. An mp4 video can take advantage of all kinds of fancy compression techniques like keyframes and forward-predictive frames.
If most of your users are on mobile, this is a huge win. Even desktop users will notice better performance on a page with many GIFs.
Pausing a GIF isn’t really possible. There are some tricks to swap out the gif with a static frame, but it’s not built into the browser. Videos allow Twitter to leverage the browser. This means play, pause, and seek, but also cool things like slow-motion. Think your GIF is funny now? Wait til you see it in slow motion.
Cool story, so why is this important?
Now you don’t have to wait an hour for a GIF to load on your phone. Hopefully this technique catches on and we’ll have faster GIF sharing all around.
Specifically for Twitter, I think this leads to future video sharing directly through the app. Twitter seemed late to the GIF game, but they’re ahead of us all.
Long live the VIF.
- rohannog likes this
- esus4 likes this
- byteforbyte likes this
- leoherzog reblogged this from embedly
- golgiapparadus likes this
- bjornstar likes this
- bearsbeatbattlestar reblogged this from embedly and added:
- g3niu5 reblogged this from embedly
- g3niu5 likes this
- theworldismyprojection likes this
- misterebby likes this
- owenblacker reblogged this from embedly
- owenblacker likes this
- seldo likes this
- merecolai reblogged this from embedly
- nickalt reblogged this from embedly
- brandrick likes this
- mood-wood likes this
- paliana likes this
- w-slr likes this
- gibralter reblogged this from embedly
- gibralter likes this
- lrnzsnts likes this
- darkdrome7 likes this
- stitches-tmi likes this
- thebeeobee likes this
- noparainnita likes this
- resoulution likes this
- moosic-moosic-moosic likes this
- nordicninja reblogged this from embedly
- potentj likes this
- sordido likes this
- hexeosis likes this
- jambeeno likes this
- mesentux likes this
- fullmealjacket reblogged this from embedly
- lafregna likes this
- lafregna reblogged this from embedly
- lifeiswastingmytime likes this
- filmgirl reblogged this from embedly
- brianandlee likes this
- khawro likes this
- press-start-to-play reblogged this from embedly and added:
- c-h-a-r-a-n likes this
- dolfinsbizou reblogged this from embedly
- sentientenergy reblogged this from embedly
- dominicimhof likes this
- superintercom likes this