YouTube, HTML5, and Comparing H.264 With Theora
David Gerard writes "Google Chrome includes Ogg support for the <video> element. It also includes support for the hideously encumbered H.264 format. Nice as an extra, but ... they're also testing HTML5 YouTube only for H.264 — meaning the largest video provider on the Net will make H.264 the primary codec and relegate the equally good open format Ogg/Theora firmly to the sidelines. Mike Shaver from Mozilla has fairly unambiguously asked Chris DiBona from Google what the heck Google thinks it's doing."
DiBona responded with concerns that switching to Theora while maintaining quality would take up an incredible amount of bandwidth for a site like YouTube, though he made clear his support for the continued improvement of the project. Greg Maxwell jumped into the debate by comparing the quality of Ogg/Theora+Vorbis with the current YouTube implementations using H.263+MP3 and H.264+AAC. At the lower bitrate, Theora seems to have the clear edge, while the higher bitrate may slightly favor H.264. He concludes that YouTube's adoption of "an open unencumbered format in addition to or instead of their current offerings would not cause problems on the basis of quality or bitrate."
Understanding TFA linked from your "equally good" link to a slashdot story? YOU FAIL IT!!! From TFA:
So just to recap, you have suggested that Ogg Theora video provides quality comparable to H.264 based on a study using a specific development-version Ogg Theora video codec and a specific H.264 encoder (x264) which is NOT the best encoder around, when it in fact has inferior SnR (the only thing the study was meant to test) as compared to x264, which has inferior SnR as compared to other H.264 encoders?
I don't know who failed bigger, you, Soulskill, or the peoples of slashdot who actually use the firehose... but you have all failed miserably.
With all that said; is there any reason they can't add Theora support later?
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
Superior in objective PSNR Quality. OK.
How about CPU utilization? Are there any ultra-low-power decoding chips that play Theora?
H.264 already has a large install base of devices that play it. Is there enough of an advantage to Theora to warrant dumping all of those for new ones?
I remember when ogg first came out. I read slashdot regularly, saw all the information about how great it was, how since it was free it would be easily adopted by hardware makers who didn't need to pay for the privilege. I bought into the hype. I ripped my cd's to ogg files, paid extra money for a neuros player because it was one of the few players that handled ogg files.
Now, 5 years later I have a large collection of ogg files that are essentially useless. No one in the mainstream uses ogg, despite the superiority and price. Whenever I get a new player, I have to carefully read the specs to see if it will play my oggs. Few do. Luckily I have the cds and I can simply re-rip them to mp3s as I find the time/care too.
My guess is that the same thing will happen with theora. It may be superior. It may be cheaper. But I just don't think it will catch on. It's another example of the slashdot echo chamber.
Look at ThePirateBay. The most popular codecs are H.264 and others like Xvid and DivX. There's almost no videos in the .ogg format, and when you do find a video that is .ogg, it's such a huge file size that you go back to look for a smaller file encoded in a better format.
This is really one of those classic "only on Slashdot" stories. Whatever problems people have regarding h.264 licensing - thinking that somehow Theora support should be tantamount while h.264 support is "nice as an extra"? What color, exactly, is the sky on that world where you're living? Because if you were on this world ("Earth" we call it), you'd realize that stupidity piled on top of zealotry like that is the best, fastest way to render the <video> element irrelevant.
<sarcasm>Yeah, that'd be a great way to drive support for a web where all browsers get to compete on a level playing field.</sarcasm>
#DeleteChrome
Everyone has made a mythology about VHS somehow losing to Sony Beta despite being inferior. If you lived in that day, and walked into a store, there was really no significant difference between picture quality between VHS and Beta on the average TV of the day. There just wasn't. And, everyone forgets that the superiority of Beta was achieved by making the tapes only an hour long. VHS vs Beta was a silly argument. Beta claimed superior picture quality on TV's nobody had, but, VHS could store entire movies. To most people, Beta's claims sounded a lot like BS, while VHS was clearly better.
This is my sig.
html was never really designed to do much more than have a single "document" that can link to other "documents" on the internet. over time dynamic ideas were tacked on such as javascript but it still has never been designed in such a way that 'app-y' ideas can be created without hacking up the 'document' model.
Thus html 5 attempts to correct this by modifying the original 'document' model so that it now supports 'documents' and 'app-y' ideas. its not evil, its progress.
Every HTML5 feature is OK'd by Mozilla, Opera and Apple. Microsoft has voice there too, but they don't seem to give a damn about it. HTML 5 would have specified Theora as baseline if Apple, Microsoft and Nokia didn't protest. Opera and Mozilla protest H.264 as baseline, thus HTML 5 doesn't specify any codec.
HTML 5 cares about things like YouTube/GMail, because that's where web users spend a lot of time today, and HTML4 is lacking for these types of applications. Ian Hickson (editor of HTML 5) doesn't want to specify science-fiction, but something that real browsers and real websites use, that's why there's a lot of "working backwards" from actual needs and implementations.
Stop misquoting the motto! It's "don't be evil", not "do no evil". Google is just saying that they don't intend to screw over their own customers, not that they intend to become the moral custodian of justice for the entire world.
While not being a fan (or a user) of Spotify for their DRM stuff (I'm sure it's all mandated by the media lobby, but regardless) and the opaque pricing which the boss of a large (by Finnish standards) local media company Poptori suspected doesn't really get distributed all that well to artists.
However, fact is that it's gotten pretty popular in pretty short time at least in some circles, and guess what: Vorbis. Presumably for royalty and quality per bandwidth reasons (over MP3, in any case).
Pirates have the advantage that they don't have to pay for patent licenses, so H.264 and Theora are both "free". But for law-abiding companies like Mozilla and Google, Theora is free and H.264 isn't.
Why would they install another browser when they could just click the "Click here to install silverlight and watch this video" button?
Reread Shaver's methadology:
A keyframe interval of 250 frames was used for the Theora encoding.
10 seconds is absurdly short for any kind of codec test. That's almost as long as the buffer would be, and current Thusndela builds don't include full buffer management. Plus he picked a pretty low motion section of the clip. He should the full clip. Current Theora builds are plenty fast; it'd be faster than realtime on a laptop.
In a real codec compare, CBR is often the best way to see differences between codecs and implementations, since that's where rate distortion really shows its stuff. How well a codec can preserve quality with high motion in a fixed buffer is a key differentiatior.
That said, I believe that the Theora+Vorbis results are substantially better than the YouTube 327kbit/sec. Several other people have expressed the same view to me, and I expect you'll also reach the same conclusion. This is unsurprising since we've been telling people that Theora is better than H.263
His primary quality comparison is between Theora and H.263, not H.264. H.263 is even older than VP3 which Theora is based on. As to H.264 he says:
In the case of the 499kbit/sec H.264 I believe that under careful comparison many people would prefer the H.264 video.
Yep. And it would be a huge differential if he'd picked a more challenging section of the source.
And while it doesn't have any impact on the comparison, no compressionist would use those frame sizes. We always try to round to the nearest mod16 value, so that we have macroblock alignment.
Thus 480x272 and 400x224 would be more efficient choices in both cases. 400x226 is particulary egregious, as it means the codec is really encoding at 400x240 internally with 14 lines of padding.
My video compression blog
Why would they do that when they could just make it an "urgent system security update" in the first place?
Mod me down, my New Earth Global Warmingist friends!
I liked this troll better when it talked about tron fanzines and linux web sights.
Mod me down, my New Earth Global Warmingist friends!
WTFV. The keyframe interval is 10 seconds but the clip is nearly 5 minutes long.
Because financially, Google is NOT a search company, it's an advertising service.
Advertising services ultimately work best when they have quality content.
This is my sig.
Stop misquoting the motto! It's "don't be evil", not "do no evil".
Right, that pretty much fits with the Google ethos now, which goes something like "sure, doing a little evil here and there is ok as long as I myself am not actually evil". It's worth keeping in mind that the gentleman who coined the original left the building some time ago.
Have you got your LWN subscription yet?
Total BS. Hardware decoders will do only a few little things so they can claim to be hardware accelerated. These little things will be the bits that don't have patents.
The Grey Goo disaster happened 3 billion years ago. This rock is covered in self replicating machines!
Who says Microsoft can't include Silverlight directly in the next IE? They wouldn't have to promote Silverlight and they could make it compatible with other browsers and then make Silverlight the defacto standard. I'ts nothing they haven't done before...
Sansa Clip, very good sound quality, ogg and flac support, starting at below $50, sold at every WalMart (although you should buy it ANYWHERE else.)
http://www.walmart.com/catalog/product.do?product_id=8466133
- $29.88 This might say it's not in stores near you, because the stores have 4GB ones that aren't on the web site..)
Stop the whiny douchebaggery.