Jeff Atwood: YouTube Videos and Flash
Jeff Atwood writes “Did YouTube Cut the Gordian Knot of Video Codecs?”
In a word, YES.
First, from another source, a definition:
The codec is what does the actual encoding and decoding of the [video or audio] data — hence its name.
Now back to what Jeff Atwood has to say about YouTube and video codecs..
[tease]
Here are a few of the more popular video codecs you’re likely to encounter out in the wild:
* Windows Media Video
* QuickTime
* MPEG-1
* MPEG-2
* MPEG-4
* x264It doesn’t seem like such a large list, until you consider that there are dozens of variants for each codec. What version of QuickTime? What version of Windows Media? Which MPEG-4 implementation? And this is only a partial list of the popular codecs. Imagine a poor user trying to view a RealVideo clip in this day and age.
[tease]
In this hostile environment, it’s no wonder that YouTube elected to cut the gordian knot of video codecs: they chose Flash Video, which “just works” on most computers. Even if Flash isn’t present on your computer, it’s an easy in-place browser download, unlike, say, a QuickTime install. It’s the same reason Google Video switched to Flash in September 2005, long before Google purchased YouTube. Tinic Uro explains:
The .FLV file format uses the KISS (keep it simple stupid) approach. It offers neither the high fidelity or the flexibility of file formats like QuickTime or Windows Media. But it does what it does well: playing back simple video streams with some meta information.
The availability of a common, simple video playback format across all browsers and platforms has ushered in a new era of video sharing on the web. And that’s a very good thing.
[tease]
But I’d also argue that quality is largely irrelevant for most video content on the web. Having video you can embed, play, and link everywhere– without worrying about whether the video will play back properly on someone’s computer– is far more important than quality alone. Flash Video “just works”, and it’s never more than one click away from 98% of the web browsers on the planet. It’ll never win any quality awards, but it’s still recognizable as video. Therefore it wins by default.
The codec wars are over, at least for web clips. Flash Video is the new internet video standard. Sometimes worse really is better.
That said, I do wish we hadn’t cut out ten years of video codec progress to get to this point. When watching YouTube clips, I sometimes feel like I’m watching ancient Video for Windows clips circa 1993. Here’s hoping the Flash developers can incorporate more modern, higher quality codecs without re-introducing codec hell along the way.
[via reddit]