Introducing GIFV
imgur.com
imgur.com
This is bizarre. GIFV isn't a new file format. It is just an alias for an existing format. The only reason the letters "GIF" are in this new file extension is to signal that the file was converted from a GIF, but who cares, apart from the so-called cultural connotations?
I mean, does anybody care to have a BMPJ (a JPEG file that was converted from a BMP) or a WAV3 (an MP3 that was converted from a WAV)? Or a .GIFMP4GIFMP4GIFMP4 file, which was converted back and forth a few times?
It also isn't only useful for computers. It helps people to know what they're getting into when they open a file.
An mp4 with a gifv extension makes sense to me. It says "I'll be loaded without audio and will play in a loop".
Imgur is serving text/html in their ".gifv" files. If you tried to load a gifv in a <video> tag it would crash and burn on you because...it's serving you an HTML document with a text/html MIME type.
Imgur will happily serve you GIFs and JPEGs with incorrect extensions - for example, if you get this image with a .gif extension, it's going to serve you a JPEG, and it's going to be decoded by libjpeg. The extension doesn't provide any useful information to the client about what to do with the data.
$ wget http://i.imgur.com/hDYj7E7.gif
--2014-10-09 14:00:53-- http://i.imgur.com/hDYj7E7.gif
Resolving i.imgur.com (i.imgur.com)... 23.235.47.193
Connecting to i.imgur.com (i.imgur.com)|23.235.47.193|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 158352 (155K) [image/jpeg]
Saving to: ‘hDYj7E7.gif’
2014-10-09 14:00:53 (865 KB/s) - ‘hDYj7E7.gif’ saved [158352/158352]
$ identify hDYj7E7.gif
hDYj7E7.gif JPEG 577x1024 577x1024+0+0 8-bit DirectClass 158KB 0.000u 0:00.030…to browsers.
People like this format. GIF, gyfcat, Vine, and now this. Instagram and WebM on 4chan also have things keyed to this behavior. But the thing that GIF has on all of them is that it works everywhere. It plays in a browser, in an email, on the desktop, in an MMS message, etc..
We need a full stop replacement for the GIF that uses a modern encoder.
Keeping in mind that one of the big advantages of GIF is NO AUDIO.
It's just deeply anti-social to play audio in some contexts, and a file format which enforces that is a very good thing.
Perhaps GIFV or equivalent should be defined as either requiring the browser not to play audio or as making audio optional, but required to default to off at start of play. The latter would require a minimal transport control, but I could live with a transparent mouseover-only volume button. There's no technical reason that a GIF successor must include or play audio. For that matter it would make a greasemonkey script or perhaps extension that forced sound off for regular mp4 much easier to write in this case.
Full-screen mpeg-2 (DVDs) was doable with a $40 device over a decade ago. Video compression is definitely a worse-is-better space.
As all current platforms, including mobile because of dedicated hardware, have absolutely no problem with playing H.264 video while bandwidth is still a scarce resource I think it is logical and wise that H.264 won over MPEG-2 or other older codecs.
Don't forget that larger file size also might mean more power consumption (storage and radio need to be active longer) even if less CPU is consumed.
<video height="370" width="660" autoplay="" loop="" muted=""><source type="video/mp4" src="http://i.imgur.com/zvATqgs.mp4"></video>
If you open up zvATqgs.mp4 you are redirected to a .gifv file, which is an HTML document. It has a video tag that mutes the audio.edit: This is interesting, though:
~/temp curl -I http://i.imgur.com/zvATqgs.mp4
HTTP/1.1 200 OK
Last-Modified: Fri, 26 Sep 2014 20:44:27 GMT
ETag: "2342c1e692a327e61be8395bf4d9109c"
Content-Type: video/mp4
Browsers, however, are redirected to the .gifv link, while curl gets the raw mp4 file. Interesting. I was expecting a 30x response code.Further edit: Passing a user agent to curl also causes the raw mp4 file to be returned, with no redirection. Anyone know how they are doing this redirection for browsers but not for curl?
Neither the accept header alone nor the user-agent alone are sufficient. It seems they are testing for both.
curl -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" -A "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0" -I http://i.imgur.com/zvATqgs.mp4Or is that wget that uses 1.0... Fire up wireshark ;)
Edit:
So it was the useragent and accept header that did it. Nevermind my stupid idea.
An important feature of gifs is that you know they will not make noise. Videos however like to blare obnoxious music and yell at you to grab your attention.
If it somehow became a browser convention that .gifv videos will not play sound by default, then users would be much less anxious about clicking and sharing .gifv links compared to .mp4 links.
On the server's side, yes, that would make more sense. However, the fact is that the MP4 format supports audio, and it will always be possible for a server to supply a webpage with a GIFV item that points to an MP4 file that contains audio. What should the browser do in that case? Playing the audio is probably not desired. Refusing to display the video, or displaying "Warning: this video file contains audio and isn't a valid GIFV file", would probably just confuse or irritate the user--it's probably not their responsibility to fix the server's website. The remaining option seems to be that the browser ignores the audio track, and I'd say this is the necessary conclusion.
(Cf. how browsers deal with HTML that's missing a bunch of end tags.)
GIF, MP4, JPG - these are all formats. Trying to call "GIFV" a format is just marketing fluff.
Plenty of ways to implement that and I'm not sure this is the best approach, but it's not just "worse video". More features is worse, not better, a lot of the time. Like when people used to build entire websites in Flash before the iPhone's lack of flash player finally made them stop.
I have a setting flipped in Chrome such that I have to click to enable each plugin on a page. This made me realize that the iPhone sadly didn't stop all such website builders (rare as it is to encounter one now.)
I know there is no way that site is being redone, and they're now completely at the mercy of Yelp.
I haven't made any gifs since flashing "Under Construction" signs were a thing on web pages, so it's been a while. Maybe I should put some up on tilde.club.
" Imgur plans to submit an accompanying specification to relevant standards organizations"
Hi we put a .gifv extension to mp4 can we HTML5 standard this non standard file extension of a standard format?!
Riite.
Glad imgur is doing it though, so annoying to have to wait for gifs in 2014 and they are intense bandwidth hogs.
whish tumblr implements it with standards and do a huge campaign calling imgur BS
GIFV will help communicate 2 things: 1) this file is audio free 2)this file is safe (people don't generally worry about getting a virus from a gif).
And given the slew of bugs Google keep finding fixing in libraries like ffmpeg, there are likely lots of bugs lurking in something as complex as an MP4 player...
This whole thing is about preserving the GIF culture. So, people do care.
Besides, browsers will probably start treating GIFVs differently if this catches on and becomes a standard.
About 8 billion people, culture is everything to people compared to file format specifications.
Acts like a GIF, talks like a GIFs, it's a GIF(V)!
The blog post mentions submitting a specification to the relevant standards organization. Are they planning on creating a new mp4 ftyp and registering a mimetype with IANA?
Can I start serving .html files as .awesome files? And .js as .kicka$$ files? and .mp3 as .boomin'?
GET "index.awesome"
<script src='jquery.kicka$$'>
<audio src="foil.boomin'">
at this rate, why not re-write all of html so it's cooler? <body> => <b0d> <title> => <1nduk+10n>
<link rel="openid.server" href=""> => <cyb3r-jack rel=!!openid.matrix_data_cent3r" ultra_max_hyper_ref="">
Sure, go ahead. Extensions in a URL have little to do with the actual type of content, and .html has long been abandoned by dynamic systems, who originally went to extensions being an implementation detail, and on many current systems being a lie (e.g. the .aspx extension that actually runs a PHP page that returns an HTML5 file).
They're using a URL extension to signal to their system what to do with the file, which in the case of GIFV is to wrap an MP4 video in a simple HTML5 container. Eh.
It's what's intended, but it's not what's true. Usually this bites on video, but it even bites on, say, SVG:
http://stackoverflow.com/questions/10261460/internet-explore...
Ostensibly, this is to protect users. Quoting TechNet:
When files are served to the client, Internet Explorer uses the following pieces of information to decide how to handle the file:
1. File name extension, the corresponding ProgID and CLSID for the registered handler of that file name extension.
2. Content-Type from the HTTP header (MIME type), the corresponding ProgID, and CLSID for the registered handler of that Content or MIME type.
3. Content-Disposition from the HTTP header.
4. Results of the MIME sniff.
-- http://technet.microsoft.com/en-us/library/cc787872(v=ws.10)...
Yes, I'm aware that this is probably a workaround for broken web servers, or brain-dead server admins. This workaround should never have been deployed, as it breaks interactions with non-broken web servers.
You can't call either browser broken here. One is doing what the spec says is correct. The other is doing what the user says is correct.
You upload JSON, and give you a URL that points to the same thing, except formatted as XML.
xjson!
People could not care less if it's a actually a new format or hijacks an existing one.
the imgurl community is always asking for more servers and bandwidth, and the imgurl team is only delivering crappy feature on top of crappy feature that only makes things worse.
their goal is not pleased users, its a big fat huge "exit". thats why new feature and buzzwords abound. it impresses investors, which is their goal.
They serve 2 billion images per day, and they never delete pictures that are still actively accessible from the internet. At no cost to the user.
In any case, cache is golden, and a 5 MB gifs off of their front page could be a 500kb MP4. That difference adds up superfast it's off of their front page and has 30M views.
the post i just answered to asked what is so special about gifv if all they are doing is a video tag.
also, similar arguments where done when adding lazy loading etc... with the idea that "loading images progressively is better" etc... it all backfires in the end when done by those guys. now the user actually PERCEIVES the slow loading. before, images would take a long time, but if you waited you could see the whole album. now, thanks to lazy loading done bad, they will load AS YOU SCROLL... you get to witness all the wait! it is hell.
well, not like i would ever typed to reach it on purpose anyway. it is just reddit's image anyway.
[1] http://blog.embed.ly/post/89265229166/what-twitter-isnt-tell...
[2] http://www.reddit.com/r/IAmA/comments/2g0791/hey_reddit_were...
here's a gif by nicolas sassoon, which format would you prefer?
http://i.imgur.com/fv0qgkc.gif (1.3 MB)
or
http://i.imgur.com/fv0qgkc.gifv (3.9 MB)
>GIFs being lossless, editable and universally supported are a pretty big part of what spawned this “culture of the GIF”.
Sure, video editing tools exist, but I think most people would agree that GIFs are more "remix-able" than MP4s. It's important that we preserve both formats. (Or perhaps it's time for a modern lossless animation format?)
Sure, if you're doing things with a very small color palette like pixel art or software tutorials then the current gif is fine for your needs, but gifs are increasingly used for video which typically has a huge color range in each frame, and we need something different for these cases.
APNG? https://upload.wikimedia.org/wikipedia/commons/1/14/Animated...
The cancerous patented MP4/H264 combination must die.
It's claimed that WebM is patent free, but this is impossible. There's just too many patents in the video space, any one of which could surface and tank this format.
Remember GIF itself was, for a while, subject to patent problems.
At least with H264 companies like Cisco are releasing implementations with indemnity from that (http://www.openh264.org/) which I think is better than coming up with some wonky new format.
In particular, if you design a video compression format that deliberately avoids doing what MPEG4 or H.264 does, your odds of patent infringement go down drastically.
Though I'd far prefer these services work with both WebM and H264, and use whichever works best.
The whole debate is only hurting users and developers, while lining the pockets of MPEGLA (or whoever is responsible for h264 licensing).
It's very unlikely to see that happen, since using H.264 doesn't cost a dime in royalties for sites like imgur that serve the content for free (ads don't count as per the H.264 licensing terms). The only trouble is really on Firefox and any other browser that wants to implement a built-in H.264 decoder, but nothing stops them from working around that via things like OpenH264 or by using system decoders and so on.
The same will likely happen with H.265/HEVC, as the recently published licensing terms made it completely royalty-free to use the format itself (including for commercial purposes, you have to pay royalties for that with H.264), and you only have to pay to distribute decoders & encoders.
Personally I wish browser vendors would just use whatever's installed on the user system for playing web videos, but for some reason that's not okay because "we need at least one unified always playing format for the web!" and then we don't get that anyway, as the whole WebM mess has clearly shown...
Anyway, since imgur is doing the conversion to video by themselves, there's not really any reason why they couldn't do both H.264 MP4s and VP8 WebMs... supporting only one format makes more sense if you allow direct user-encoded video uploads like 4chan does with its WebM support for example. Gotta say I don't like this whole "hey we took HTML5 video with 'autoplay loop muted' properties and branded it GIFV!" shtick, though.
In the meantime then the alternative sites will pick up in use because they aren't being dicks about a video format.
Additionally, what about devices that only have mpeg decoding? Basically you're saying screw you non webm supporting people and your battery life. We don't like your kind around here.
Its a great way to kill your site in short. Unless everyone does it at once and upgrades happen to support things, its at best a slow burn like firefox. But at this point webm doesn't have half the use cases as firefox did.
The cancerous patented gif/lzw combination must die.
This debate is partly why the web is overrun with enormous animated GIFs.
It seems pretty clear that webm isn't going to be widely supported. Time to move on.
Deleted comment
NO
Apple is never going to support WebM. This kills the format. There are hundreds of millions of devices that can hardware decode MPEG4 than can't for WebM. Nay, billions of devices. Of course WebM is always just around the corner, but this has just led to a stagnation where the scourge of animated GIFs reigned supreme.
GIFs have an 8-bit palette. They're lossless. They are meant to be short and sweet, because they take up a lot of bits.
They're also easy to manipulate, easy to encode/decode (I have a single .java file which generates animated GIFs) and unequivocally patent-free.
Let us stand up against this subversion of the pure GIF format. [success_kid.gif]
Now, I understand that this is an issue with iOS and not with Imgur, but honestly, GIFV is not a great improvement, technologically or otherwise.
Also, note that most GIF's on Imgur end up there as screen caps of various web videos. In other words the process is now M4V -> GIF -> M4V. Instead, Imgur could just build tools for better short video creation that they could then host.
Firefox 32.0.3 on Linux
FF on Windows (32.0.2) does support H.264, and the GIFV files play as expected. IIRC, FF on Android was the first version to get H.264 support, which it's had for some time now.
EDIT: You can check codec support for your current browser+platform at YouTube's HTML5 page, below. I briefly dug around in Bugzilla for this issue, but haven't found it yet.
There's also an about:config option "media.gstreamer.enabled" which needs to be set to true, but I don't remember ever having to set this myself.
>This is a marketing endeavor that is pretending to be a technical innovation.
Most of us are asking, why isn't it format X, or format Y. When they are clearly superior in quality and compression. The answer is they don't have marketing power.
GIFV is directed at increasing attention to imgur. By trying to make more sites adopt it as their image/video hosting platform. Since imgur already has the size/market dominance to spread the GIFV platform. Increasing its chance of adoption.
Rise above, support webm. Better compression, better quality, more wide spread.
this isn't true
The way they're going about it and the way they're marketing the decision is arguably kinda silly. But the monocle-popping that is occurring in this thread is an order of magnitude sillier than anything Imgur is doing.
This is really not worthy of the volume or intensity of the hand-wringing that is occurring in this thread. This is the type of news that you either ignore completely, or skim, nod, and move on. At worst it deserves some exaggerated eye rolling or a sarcastic joke to a cow-orker during lunch.
I cannot drag and drop it into an email.
As a regular end user, I can use approved sharing features only. As a developer, yeah, I can download it myself and rehost it somewhere that hopefully supports MP4 video.
The historical pissing match over how to best do animated PNG files is sad. An animated image format that is treated differently from videos is a nice thing to have.
People have entire folders full of appropriate reaction GIFs. With how MP4 video is treated online today, such a thing is not possble.
drag and drop does not, yet, but perhaps with this initiative it will be prioritized.
I tried this on a desktop Firefox/Ubuntu. I'm actually quite surprised that it worked without any problems, considering the rough history of MP4 on Linux/OSS in general :D
Doesn't mp4 have enough extensions? .aac, .mp4, .m4a, .m4b, .mp4v, .m4p, .m4v, .mpeg4 so far.
And now .gifv? I don't get it.
Cheers.
it must be nice to live such a sheltered life.
hint: if you only care about chrome users on every feature, and keep looking at you site access log to justify, you may find that there is a reason why your access log mostly have chrome user in the first place...
P.s. It is nice to live a sheltered life.
I think one of the bigger concerns these days with "short video clips on the web" - which is what we're all trying to solve with whatever technology - is workflow. People finally understand how to make gifs even if they're super low quality, or super large, then these poorly compressed "images" are being converted into various other things. If the tools were there to create audio-less MP4 / webp/m, that would help a lot.
[1]: http://blog.seancassidy.me/h264-and-vp8-compared.html
[2]: http://iphome.hhi.de/marpe/download/Performance_HEVC_VP9_X26...
Not so superior...
I've been hoping they'd do this for a while. I hate browsing Reddit and finding a link to a little 'video' that then takes minutes to download fully and still looks terrible because it's a 15MB gif.
gifv is broken for mobile. I have to click play, and it runs as a video. That is not gif UX.
(Well, actually, the .gifv is just a web page that holds the <video> tags for the mp4, but...)
From the article you referenced, "A key consideration is the extent to which the use is interpreted as <transformative>, as opposed to merely <derivative>."
These are not parodies, being used for education or being used for critical analysis of the subject.
the amount and substantiality of the portion used in relation to the copyrighted work as a whole;
I don't think anyone can (reasonably) claim that a 10-20 second long clip (with no sound) is an any way a substantial portion of a ninety minute film. Specified "type" attribute of "video/mp4" is not supported. Load of media resource http://i.imgur.com/zvATqgs.mp4 failed.It broke my autogfy extension. :/
I can't see their new format. I can't see mp4's. I'm using firefox.
This is the future? great.
Plus what the f* with renaming a .mp4 to a .gifv ? Two extensions for the same format ?