Theora does not produce quality comparable to H.264
Theora does not produce quality comparable to H.264
Posted Jan 27, 2010 0:25 UTC (Wed) by DonDiego (guest, #24141)In reply to: Theora does not produce quality comparable to H.264 by Trelane
Parent article: Blizzard: HTML5 video and H.264 - what history tells us and why we're standing with the web
> It would also be a very big surprise if 64kbit Vorbis could beat
> 106.5kbit AAC."
> Umm, ok. Didn't know your ears were the benchmark here.
The AAC stream captures the water sound better than the Vorbis stream to my ears. Anyway, bit by bit AAC and Vorbis are roughly comparable codecs. But you seem to expect that Vorbis can beat AAC with 60% of the bitrate. This is not at all realistic, Vorbis is an excellent audio codec, but not fairy dust.
> Sure you downloaded the right files? Oddly, your file names aren't
> the ones from the site. What's going on here?
I extracted the raw video streams from the containers in order to be able to compare video sizes directly.
> > The clip is 284 seconds long, so the bitrate is 423kbps for Theora
> > and 390kbps for H.264.
> The bitrate was included in the captions.
The bitrate in the captions refers to the complete file together with audio and container overhead. That number is thus not suitable for video bitrate comparison.
> Bitrate isn't filesize divided by time either.
What we care about here is the total/average bitrate for the whole clip, i.e. file size divided by time.
> In addition, if we count future tweaking in, Theora doens't lose again.
> From your link at http://www-cs-faculty.stanford.edu/~nick/theora-soccer/:
> With this 1.1alpha version, Theora requires somewhere around 60% more
> bandwidth than Mpeg-4, but Theora is being actively improved, so we'll
> see. The Mpeg-4 we have today is the result of years of tuning on the
> encoders."
The Theora we have today is also the result of years of tuning on the encoders. The question is how far tweaking can get it. There is a limit to the quality you can coax out of the Theora bitstream format. The 60% bitrate difference quoted above is a *lot* of ground to cover.
Note that H.264 decoders are also being improved. Much more work is being dedicated to H.264 encoders than to Theora encoders. If you don't believe me, compare the x264 development activity to libtheora and keep in mind that libtheora is the only Theora encoder, but x264 is not the only H.264 encoder.
This is not a good vs. evil fight. It's a technical question. Compression formats are not created equal. Theora technology is two generations behind H.264. You cannot expect Theora to improve beyond H.264, much less since all patented techniques are out of bounds. I'm sorry that it's not a fair race, but facts remain facts.
