Earlier quoted context omitted.
You choose not to use the appropriate software to experience what is being offered. This is akin to riding a decrepit horse on a racetrack while whining about how everyone else that is riding a healthy horse is going faster and having a better experience than you. Just upgrade.
Your analogy is stupid and your comments are not helpful. I'm not modifying 3,600 workstations because some web programmer decided to mangle user-uploaded content without doing fundamental work to ensure graceful degradation.
Twitter's GIF hack
61–70 of 160 posts
Re: Twitter's GIF hack
#62Earlier quoted context omitted.
Are you saying that WebM, a file format introduced in 2010, is less bleeding-edge than H.264 MP4, a file format introduced in 2003? What definition of "bleeding-edge" are we using here?
The introduction date of the format doesn't seem very relevant, since what we are talking about is native inline browser support.
Re: Twitter's GIF hack
#63Re: Twitter's GIF hack
#64I wrote a simple js lib for detecting the duration of a GIF for each browser. It was a fun weekend project. https://github.com/rfrench/gify
If webp gains more adoption, it's another alternative now that it supports animation.
Re: Twitter's GIF hack
#65Earlier quoted context omitted.
Not quite true yourself :). GIFs store deltas, true, but they are still raster images. H.264 on the other hand contains specific techniques for compressing sequential frames, including things like recording only pixel motion for some frames. You can see it in those "corrupt movies" gifs (which on twitter would be mp4s... talk about irony) where you take a clip and remove some keyframes from it - then transformations…
Just a nitpick, JPEG always encodes the color channels at half resolution. It's amazing how difficult it is to notice this, though.
H.264 also defines such modes, but no consumer hardware decoders support them so they aren't commonly used.
Re: Twitter's GIF hack
#66Haven't things like gfyCat been doing HTML5 video from GIF's for a while?
Re: Twitter's GIF hack
#67Re: Twitter's GIF hack
#68Unfortunately the MP4 looks worse than the GIF, due to chroma compression in the YUV 420 colorspace. While each pixels luminance value is kept, the color information for a 4-pixel square is stored as a single CrCb pair, which is really obvious when you look at how the orange hat has artifacts against the blue background. Increasing the bitrate won't solve this either, since it's a limitation of the colorspace.
You can encode at 4:4:4 if you want, although obviously you have no control over what twitter does.
Re: Twitter's GIF hack
#69Unfortunately the MP4 looks worse than the GIF, due to chroma compression in the YUV 420 colorspace. While each pixels luminance value is kept, the color information for a 4-pixel square is stored as a single CrCb pair, which is really obvious when you look at how the orange hat has artifacts against the blue background. Increasing the bitrate won't solve this either, since it's a limitation of the colorspace.