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
I've never utilized Ogg/Theora+Vorbis, but I know that there are hardware-accelerated encoders for H264/x264 (right?)
:D)
That'd make it a lot easier/cheaper/faster to encode videos for Google Video/Youtube, and you'd have the browser that can play them back right there...
(Just speculation here...
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.
If they don't start focusing on their core search. Just because Microsoft has bumbled in search for the last ten years doesn't mean that they won't get it right. They are clearly patient and willing to keep the assault up, and even if you do not like Bing, it is a huge step in the right direction for MS, and honestly, having played with it, I think Bing is better than what Google does in some ways.
This is my sig.
Why would google care about firefox and other Free/Open Source browsers? After all, google has its own browser now to take on the likes of IE.
Google is the biggest influence on the Internet these days, and is positioning itself to take over completely. Google is the new Microsoft.
"Do no evil" my foot! Look out, here comes a new monopoly.
Google cares as much about Firefox, Opera, Konqueror, Seamonkey, Amaya, lynx, links, and so on only as long as it still has a competitor. As TFAs all say, Google owns virtually all internet video so it has no competitor.
Stick Men
h.264 decoding will increasingly be in hardware, and the patent royalties will be paid by the hardware manufacturer. h.264 is an open standard, albeit you have to pay money for it, but if it is in hardware, one does not have to worry about acquiring a software decoder.
In making html 5, the ISPs were opposed to ogg vorbis, as it would require more bandwidth (money) than h.264.
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.
You get a backup and you can transcode it to whatever you might ever need.
Well, David Gerard is a well known Wikipedian blowhard who thinks IT tradesmen are among the most cultured, objective intellectuals today. He'll probably get a round of back-pats from Jimmy Wales and the other Wikipedia admin cronies for the amazing achievement of getting a story FP'd on Slashdot. This is quite a high for him.
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?
So what do you recommend as a superior alternative to x264? I'm under the impression, after using x264 for years and years, that it's definitely the best current implementation of the h.264 spec available today.
I am actually a little aghast at the possibility that a better h264 encoder has been let loose and nobody in the scene knows about it yet.. suggestions welcome of course.
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?
For billions of us here on planet Earth implementations of h.264 are free because software isn't patentable. Open your mind, amigo. It's only in your tiny corner of the globe where TPB uploaders are viewed as "disobeying the law."
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.
Theora is not an H.264 equivalent. Quality is lower. Bit rate is higher.
These particular Theora advocates are lying.
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.
"...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!
Why would they do that when they could just make it an "urgent system security update" in the first place?
Windows Update presents a concise and intelligible explanation of the updates ready to be downloaded or ready to be installed - with a link to more detailed information.
There is a clear separation of priority updates from the rest.
You are not presented with a half dozen or so check boxes to install Chrome, Safari, OpenOffice, etc., etc., etc.
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."
You forgot my Palm Pre you insensitive clod!!!
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.
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.
Sansa Clip, most of the iRiver stuff, most of the Cowon stuff, and Palm (Aeroplayer) all have support for Vorbis. Its not an echo chamber; just like many things that don't have commercial backing, you get to do some of the work to get it done. As it has been said before, Theora is a middle ground. Its not going to be the best on your speedy desktop. It will work on slower devices that would normally need an h.264 decoder chip. There is a bigger picture here, in hardware.
Every GNU/Linux distro can have Vorbis support out of the install. That can't happen with h.264 since Apple has patents on it. Apple supports a limited number of profitable platforms, thereby not covering the bigger picture in software.
I also would not like my computer to be infected by a hidden vulnerability in a closed h.264 implementation.
It has always been popular in the two-way video conferencing world. I used it in 1998, IIRC.
I'm an avid supporter of open source, but spreading such bullshit about Theora vs H.264 isn't helping the cause. Reminds me of Gimp fanbois.
The test is flawed in several aspects:
* Youtube's encoder is piss poor. Maybe that's because Google favors fast/less CPU-heavy encoding over good. He should have used an equally advanced alpha version of an H.264 encoder and compared encoding time and CPU load as well.
* H.263 is really old and Youtube only keeps supporting it for old Flash player versions. Nobody would consider switching to H.263 now. Comparing 2009 Theora to Youtube's crippled version of H.263 is like comparing OpenOffice Writer 3.1 to MS Word 5.5.
* The source is a computer animation. It has much less fluctuation and noise than a filmed movie. Animations are not representative of online video, much less of Youtube user content.
* He resized the lossless source from 640x360 to 480x270 and then again from 480x270 to 400x226. WTF? Why not from the original?
* Neither 270 nor 226 are divisible by 16. WTF?
Theora's last chance is to produce a really "equally good" codec before end 2010. Wishful thinking won't help.
sorry, where's your cite? I searched and found your comment and a bunch of unrelated articles.
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.
That won't stop google, Most of their video's are already coded in h264, it would cost them months of encoding / processing to convert them all back to vorbis/theora.
Here's a very simple test page: http://lachy.id.au/dev/markup/tests/html5/video/003.html .
-- Sig down
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.
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.
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.
Translation: Everyone should think like me, I hate Ubuntu's colour choice hence everyone else should hate it too because I am king of the planet.
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.
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
It seems the truth hurts, hence your -1 Troll moderation. Sorry about that, but people don't like hearing the truth. Especially fanbois.
To the others: don't like H.264? Don't put videos on your fucking website. End of story.
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/