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.'"
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." They're losing a pretty penny on YouTube. The ad revenue can't keep up with the costs it takes to run YouTube (servers, bandwidth, staff ect). Why
"The difference between genius and stupidity is that genius has it's limits" - Albert Einstein
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.
http://www.youtube.com/watch?v=V3y3QoFnqZc
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.
I have to go with Mike Shaver on this one. At the bitrates that youtube is advertising it's videos, it's nonsense to say Ogg theora videos would have to be excessively larger. Loking at Shaver's examples and methodology I think DiBona must have been misinformed about Ogg theora.
I also have to agree with Shaver that for all intents and purposes, Google currently *is* the video king, and what Google says, is what goes. It would be disappointing of google to give some lame excuse and not do the right thing. Whatever happened to that motto of theirs, "Do no evil"? There is no reason at the current bitrates to choose a patent encumbered standard over a Free standard.
Why is a standard being created for which Google Gears + Google Video/YouTube seems to be the "main thing" it's for? Somebody please tell me why HTML5 isn't worse than anything Microsoft ever tried to do with the browser - why it isn't platform lock-in.
This is a sincere question, because the previous HTML standards seemed to be really truly designed for multiple implementations, whereas this app-y version seems to already have an end application in mind and is working backwards to create the "standard."
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.
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.
An interesting strategy, but I don't think so. It would increase their install base for Microsoft Silverlight, but if they make Windows/IE users install something to watch video, their users would be just as likely to install Firefox.
Regardless of whether MS requires Silverlight to render video, as long as MS honors the video tag according to the spec, they won't be making things difficult for web developers. In order to do that, they would have to require MS specific tags or attributes for video, which is much more their style.
Isn't h.264 the only one of those two that has hardware acceleration. When you want to deliver high quality video on a website for many and even smaller devices it makes a lot of sense to use the format that can be decoded by available hardware decoders. Modern mobile phones can decode h264 in hardware, so can even low-end CPU Netbooks. H264 sounds like the obvious choice for internet video to me.
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.
That's easy.
Convert the bazillion videos in youtube to Theora and store them in two formats.
how long until
In my experience, finding a player that does .ogg isn't that hard. Look at the players made by Cowon for instance
Some people prefer to shop for electronics close to where they buy their groceries because 1. they get to feel the buttons on the display model, and 2. returning a product doesn't involve paying for shipping. But Best Buy doesn't carry Cowon products, and neither does Walmart*. Do you know of any retail chain in the United States that carries them?
Just wanted to put a plug in for the HTC-built G1 phone, which has had built-in OGG support from day one.
Very nice toy, am loving being able to SSH into my servers anywhere there's cell service.
Looking for a Rails developer in Chapel Hill?
I liked this troll better when it talked about tron fanzines and linux web sights.
Mod me down, my New Earth Global Warmingist friends!
There's a warning on the comparison site that a number of players, big name free players, don't correctly play Theora. In fact, Media Player Classic doesn't play it that video all. It's been many months since I've encountered a video that program couldn't play, so why if it's this great open source media codec do so many programs, some of them open source themselves, have a problem playing it?
That's my biggest concern with embedded video support in Firefox. When everyone uses Flash, it's easy to stop random web pages from auto-running a pointless and loud video clip in my ear. I just install Flashblock. Can I do the same for Theora?
I ask because I just today had a movie review site auto-play a video and I went 'what the? am I running IE again?' It was truly a retro 1990s experience, and not in a good way.
You are not a brain: http://books.google.com/books?id=2oV61CeDx-YC
After comparing the 499kbit H.264, and Theora video clips of Big Buck Bunny, clearly H.264 looks better. At this bitrate, there is obvious degradation in both samples, however H.264 is much more watchable. Theora struggles with flat areas such as text, and there is an unacceptable amount of artifacts around these elements. Perhaps in time, Theora will mature to the point where it can compete.
A small javascript extension could amend the autoplay='true' attribute of an inbound video tag.
Wow, that's some real balanced reporting there. Theora has not proven itself immune to lawsuits from patent holders, so who knows what issues may arise there? And what is so "hideous" about patents applying to H.264, especially when it is easily licensable?
... and then they built the supercollider.
It would have been quicker for you to throw a chair to let off some steam.
As far as I know, the only H.264 encoder that is regularly superior to x264 is the offering from MainConcept. Read the Fifth Annual MSU Codec comparison, recently published in May 2009.
For quality comparisons, x264 and MainConcept are clearly the best options, with MainConcept slightly ahead. However, on speed, x264 is quite slow. It depends what it more important to you. For me, it's quality and I'll take the speed hit. x264 is truly fighting it out with the commercial products for market leadership.
While the article summary is, strictly speaking, probably correct in stating that "x264 is NOT the best encoder around", it is pretty damn close to being the best H.264 encoder around, and clearly better than its rivals in some areas.
Brought to you by the author of such childrens' classics as "Some Kittens can Fly!" and "All Dogs go to Hell."
"...will make H.264 the primary codec and relegate the equally good open format Ogg/Theora firmly to the sidelines."
Equally good my ass. H.264 is way beyound what Ogg/Theora is capable of.
I have created codec that beats all of the others out of the water, and it's free and it's been around for a long time. Its called GTFO, and it's so simple to use. To use it, all you need to do is get your butt up outta that chair, and Go The G* Outside!
There are a lot of H.264-compliant encoders out there, and their quality is all over the map. With the volume that YouTube is doing, they're probably using a single-pass software encoder.
-jcr
The only title of honor that a tyrant can grant is "Enemy of the State."
Is anyone working on completing the snow codec? I thought it was supposed to actually compete with 264, or was that just hype too? If it's not hype perhaps Google could finish it and use that for Youtube.
That MSU comparison was seriously flawed, as detailed at length on Doom9's forums.
Compressionist (as defined by the link yielded by googling define: compressionist):
Ah...so like you're claiming to be a video-compression/encoding specialist? Cool beans..
Censorship is obscene. Patriotism is bigotry. Faith is a vice. Slashdot 2.0 sucks.
It has always been popular in the two-way video conferencing world. I used it in 1998, IIRC.
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?
After years of ripping DVDs and occasionly trying out Theora, my conclusion is that Theora is crap. Definitely better than H263, but not even close to H264.
So with that in mind, I make the following points:
1. Greg Maxwell's comparison does invalidate You Tube's claim that quality would suffer. Theora is quite close to YouTube's encode, and H264's default deblocking actually makes me prefer Theora in some instances.
2. This does not at all show that Theora is better. It's not. YouTube's encoder has to be fast enough to encode all the video submitted to YouTube, something like an hour every minute. Comparing carefully encoded x264 with carefully encoded Theora would be a fair comparison.
And final, a suggestion.
3. H264 should the same thing Blender did and makes the codec copyright and patent free using the street performer protocol. I would certainly donate at least $100 to free H264.
Of course, the suggestion is probably bad business wise. I'd like to know how much money is being made of patent licensing each year.
Here's a very simple test page: http://lachy.id.au/dev/markup/tests/html5/video/003.html .
-- Sig down
This doesn't even mention small, independent games, (like any of Reflexive's stuff) which almost always use Vorbis files for the audio. I assume that's because the game can have a decoder without having to pay a distribution fee to someone. No matter the reason, .ogg is huge.
Put identity in the browser.
It seems to work on Safari 4. If "fail", then "pass" is what it is supposed to show.
I never expect Slashdot to have an unbiased point of view, but I generally expect something remotely resembling accuracy.
Theora does not entirely suck, but it's just not in the same ballpark as H.264 in terms of quality-per-bandwidth. Period.
Anyone who tells you otherwise is deluded or has some particular axe to grind, be it political or marketing.
The persons making the claims of Theora's competitiveness have HUGE conflict-of-interest claims in making it appear competitive, and an honest article headline and summary would have made this clear.
If your primary concern is "openness", then sure, Theora is for you. But if you want the best codec available today, and don't mind paying for it, don't delude yourself, and more importantly, don't try to delude Slashdot readers... it's dishonest and reflects poorly on your editorial choices.
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!
Can you post a link to the discussion please?
Brought to you by the author of such childrens' classics as "Some Kittens can Fly!" and "All Dogs go to Hell."
Rockbox.
If you have the XiphQT component installed it should work. ..Oh hey, they finally released a new version after almost two years. Maybe someone realized that they should actually provide a maintained component for the system-wide media service in OSX.
Actually, a considerable amount of commercial games use Vorbis as well: http://wiki.xiph.org/index.php/Games_that_use_Vorbis
This sig does not contain any SCO code.
Yes it can, as another poster pointed out - if i have the codec installed in my system then the browser should be able to play it, the browser should not be shipping codecs and decoders, it should be hooking into my os
If you don't risk failure you don't risk success.
Objective tests are worthless on a perceptual codec. The whole point of lossy compression in video and audio is that data WILL be lost, however it will be done in such a way that it is minimally noticeable to humans. That means that the only way to test it is, well, to have humans look at the results and rate them. Doesn't matter if a given codec has a higher SNR, or whatever. If it ends up producing something that looks worse to viewers, it is a worse period since that's the idea here.
So what you need a some proper double blind tests where users rank codecs. Probably do some that are ABX type where you show an uncompressed video, X, and ask which of A or B looks closer to it. Also probably do some other AB types where just two videos are shown and the user is asked to pick the one they like the best.
Do that, compile some results, and you'll have useful data as to which codec actually is the best where best means "Gives the best subjective experience to the end user at a given bit rate." Doesn't matter what objective tests show, since we are concerned about human perception.
I suspect that H.264 and Theora will emerge as dual coexisting standards for the video tag, much as GIF, JPEG, and PNG coexist as standards for the img tag. Browsers will eventually support both, either natively or through easy plug-in access, and no one will really care all that much.
And where will you find that on the Internet?
That's ultimately the problem Google has. They might think about becoming a bit of a content company and folding that into their search. They could have a google news page with their own reporting and their own columnists, fold their stuff into the search. They could capture all the meta data so that celebrities, all that stuff, could be put together. They know what their searches are for... why not have their own content? Sure some content providers will be ticked off, but what are they going to do, de-robot themselves so Google can't index them? Why spend hundreds of millions a year on trying to make web based applications when they can spend a fraction of that on good reporters.
This is my sig.
1) Google servers have no need for any kind of graphics card (serial does just fine, thank you)
2) They are one of the largest computer manufacturers on Earth (and their own best & only customer) so that I highly doubt they have a GFX card and if they do it will be the cheapest, slowest, passively cooled chip they could find
3) Why does a streaming server need to decode the video stream? We encode videos to _save space_. Storing encoded video (disk is relatively cheap for google), decoding it in real time and then saturating their upstream with artifact-ridden, low-quality video _at the full bitrate of decoded video_ is, well, sorry to say so.. bat-shit crazy.
What's odd is that Android not only allows the playing of .ogg files, all of the included ringtones are in the .ogg format.
http://www.google.co.uk/search?q=Android+ogg
If a square is really a rhombus, why aren't all triangles purple?
If Theora wants to be taken seriously they need a GPU based hardware decoder than works on the big three, Intel, ATI, Nvidia, and they need it yesterday, and they need to start offering it to the GPU manufacturers so they can bundle support like they do for WMV9, Divx, and H.264.
There *ARE* hardware chips developed.
But for GPUs, instead of having yet another bunch of transistors dedicated to yet another hardware accelerator eating up valuable on-die real estate (or an additional chip on the graphic card), having an implementation written in OpenCL could actually be the way to go.
There are already parallel implementations of DCT running on Cuda. And with the increased computing power of the GPU's shader units, this could be the way to go for the future (ATI seems indeed being interested in implementing video acceleration using GPGPU instead of dedicated silicon).
Theora/openCL could be a real killer application, specially since PowerVR people are also in the openCL design board (which probably means OpenCL capable embedable cores - makes a nice CortexA9 + PowerVR/openCL combination).
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
Uh, "relegate to the sidelines"? That would imply that Ogg/Theora is already at least on the sidelines. Sorry to burst your bubble, but Ogg/Theora isn't even in the stadium yet.
I'm all for open standards, and I would love it if the Ogg codecs were to become primary; but don't try to tell me it is a serious contender now. No default media player on Windows or Mac OS X can play them, no 'commonly distributed by OEMs' media player (read: QuickTime for Windows and Real,) can play them.
The Ogg community needs to push to either get Ogg support added to Windows Media Player, QuickTime, and Real *BY DEFAULT* (not by plugin,) or else they need to push to have major OEMs (Dell, HP, etc,) include open-source media software, like VLC or Mplayer included by the OEM. (Which won't happen, because VLC and Mplayer aren't big corporations that will pay the OEMs money to include their software.)
Another non-functioning site was "uncertainty.microsoft.com."
The purpose of that site was not known.
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.
Sansa Clip, very good sound quality, ogg and flac support
From the page you linked: "OS Required: Microsoft Windows XP SP2, Microsoft Windows Vista". According to this page, it actually works with Linux, but you might need to borrow someone's Windows PC to update the firmware.
I understand the desire for Theora support, but calling fowl on Google in this case is downright underhanded. They obviously used h264, because that's what they have laying around! They've been encoding into that format for a while now. This format is nothing new for Youtube.
http://www.unfocus.com/
Given the original comparisons between Theora and YouTube's H.263 and H.264 encodes, I thought I'd do some samples showing what H.264 is capable of doing. YouTube doesn't use High Profile (no 8x8 blocks) nor CABAC entropy coding, and so leaves a lot of bits on the floor.
Note the third sample uses the high bitrate frame size and the low bitrate data rate, and still outperforms all the YouTube and Theora clips in video and audio quality.
http://cid-bee3c9ac9541c85b.skydrive.live.com/browse.aspx/.Public/BBB%7C_Compare?lc=1033
My video compression blog
you might need to borrow someone's Windows PC to update the firmware.
Nope. You just unzip and copy the update to the device. I don't remember the exact procedure, but I've done it before and it was fairly straightforward. The Sansa gear is pretty sane that way.
http://outcampaign.org/
Anyone want to dig up the Ogg Tarkin project? Theora's getting pretty old, and we could use a new codec.
http://outcampaign.org/