Why we chose to move to HTML5 video
code.facebook.com
code.facebook.com
It looks like they decided to go all for HTML5 at once and avoid having to live with both Flash and HTML5 support with the cost associated to it (maintenance, support, etc.).
> That's why we waited until recently to ship the HTML5 player to all browsers by default, with the exception of a small set of them.
The way that's worded, it sounds like Facebook with HTML5 video is still slower to load than it was with Flash. This is really surprising... Would love to read details on that. Do they mean loading a link to a video, or to the general News Feed?
Just a wild stab in the dark on the cause, but maybe a contributing factor is devices that wouldn't load Flash at all take a speed hit from trying to load HTML5 video and the supporting scripts, or maybe the browser doing more heavy lifting rather than offloading it to a plugin?
When gifs started breaking the promise of being fast to load, due to people sharing fairly large res animations, sites such as gfycat tried to replicate the promise of silent sketches, but with more modern technology.
This is not bizare at all. Less is sometimes more.
I can't help but feel these tools are evolving in the wrong direction. And not even in a "Stop liking what I don't like!" kind of way; simply that the solution could have been reached with far fewer steps.
Remember Windows 95 played AVI videos e.g. in the file copying dialog. The AVI video consisted as a series of BMP pictures. All magenta colored areas where interpreted as transparent. (info about the special bitmap based AVI format: http://www.endurasoft.com/techtalk/AVI.aspx ) A 486 66 MHz with 4MB memory could play that short small videos. The Win95 CD contained two movie trailers afaik with an early Intel video codec, it took a more powerful Pentium 1 CPU to play them at 320x200 (Intel Indeo codec: https://en.wikipedia.org/wiki/Indeo ).
Coming back to GIFs and MP4/HTML5 videos. GIF is an old format from ca 1989, showing them is less CPU intensive than playing MP4 videos. Firefox on PC and all mobile browsers on iPad and Android that I tried had serious performance issues with 100+ very small videos. Interesting that GIFs mobile devices with even just 512MB memory can show at least 100 GIF videos (each 5-15 MB filesize) on one page.
It seems like something that would be quite possible, with a number of applications, but don't know offhand of any tools like that.
Do they really need to talk like this on a tech blog?
but the video lasts forever, with its partial information taken from a snapshot in time.
http://www.itsokaytobesmart.com/post/108548517677/facebook-f...
* I question how much FB cars about user experience given that Facebook looks and feels like a Linux window manager from 2003 but still latency is important.
https://code.google.com/p/chromium/issues/detail?id=460709
It's been around for nearly a year, and Chromium eventually says they're following the spec and it's Facebook's fault.
Er... thanks FB for the insight into why videos are good.
Interesting that it doesn't sound like they got page loading time faster than with Flash, only to a point they were happy with.
Don't care. Haven't signed up to FB. Not until I can create feeds of my content to non-Facebook users, as simple as RSS. Unlisted content, similar to youtube unlisted videos. The URL discovery completely at my discretion and risk. You know, like more open, more choice and more in line with the web. Unshackled from branded ecosystem lock-in. That's all I want.
For live event webcasts, my employer has been using Wirecast to send an RTP stream to Brightcove. Brightcove is trying to move to HLS for all live streaming, but can't seem to give us a good recommendation for an economical, reliable way to create the HLS stream.
Any suggestions would be appreciated!
Also, streaming situation is getting murky. MPEG-LA patent trolls tried to attack DASH a while ago. Is it patent free after all or not?