Theora Ahead of H.264 In Objective PSNR Quality
bigmammoth writes "Xiph hackers have been hard at work improving the Theora codec over the past year, with the latest versions gaining on and passing h.264 in objective PSNR quality measurements. From the update: 'Amusingly, it also shows test versions of Thusnelda pulling ahead of h.264 in terms of objective quality as bitrate increases. It's important to note that PSNR is an objective measure that does not exactly represent perceived quality, and PSNR measurements have always been especially kind to Theora. This is also data from a single clip. That said, it's clear that the gap in the fundamental infrastructure has closed substantially before the task of detailed subjective tuning has begun in earnest.'
Momentum is building with a major Open Video Conference in June, the impending launch of Firefox 3.5 and excitement about wider adoption in a top-4 web site. It's looking like free video codecs may pose a serious threat to the h.264 bait-and-switch plan to start charging millions for internet streaming of h.264 in 2010."
If they pretend it is going to be free until people get locked in, then pull the pay me or get sued stunt.... then yes.
This might not pose that much of a threat to H264, sounds like another OGG or FLAC.
Theora sounds like another OGG, huh? Imagine that.
"Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
H.264 is a specification, not a codec.
There are various codec implementations of it.
x.264 being the most popular.
Main Concept being the best overall.
Nero being one of the first to market and as usual being slow and bloated and buggy.
DivX as usual being late to market but driving the push for playback in embedded devices, while being at the top in terms of quality and decoding speed.
Like FLAC? FLAC is certainly not as popular as mp3, but that's hardly a fair comparison. It is, by far, the most popular lossless audio codec. A simple search on any torrent site will show that.
test versions of Thusnelda pulling ahead of h264 in terms of objective quality as bitrate increases
Please tell me that's not an actual product name.
sic transit gloria mundi
What software agreement? I think that they are licensing patents. They have merely said that you don't have to pay to use the patents before 2010, but if you use the patents after that, you may need to pay (depending on volume). Yes, products that have shipped will be safe, but most companies want to continue shipping products, which will be affected by the royalty demands.
The real "Libtards" are the Libertarians!
I don't mean to belittle Theora, I've really been rooting for them over the years. And this recent test does look fantastic.
But I can't help wonder what settings they are testing x264 with. x264 has recently been shown to be highly sensitive to clips like the Akiyo one tested here -- it also lost to some other H.264 encoders that it usually beats fairly consistently. The version and settings used to encode this one make a WORLD of difference.
No royalties were levied on mp3 implementations until MPEG changed their minds in 1998, ironically not long after the format really took off, and delivered Cease-and-Desists to every free encoder project and a bunch of companies too.
"Thanks, boys, for promoting our format for us. We thought it was only good for hold music over ISDN! Since you did such a fabulous job, we're gonna have to ask you to hand everything over right fucking now or we sue you into oblivion. Don't let the door hit your ass on the way out."
Don't you remember that was the whole reason Ogg and Vorbis got started? We just had Unisys/GIF threaten to sue everyone, then we had MPEG threatening to sue everyone and someone finally had the guts to say no fucking more. MPEG can't even keep its own members from suing each other, and you plan to trust them for the basis of your own smaller business?
But one thing is funny, MPEG has mostly (mostly) behaved since then. Maybe MPEG is only playing fair now *because* of Ogg? Ogg is pretty much the only viable non-MPEG codec effort left.
Nope, and as a developer for Internet Explorer, I thought I'd heard of every image format already!
I'm less worried about benchmarks, more worried about, you know, seeing an actual production, ready for end-user codec released. This only finally happened end of 2008 to all of no fanfare (I didn't see it on /. or anywhere). That is a loooong time they've been messing with it (2001 was when VP3 with open).
The problem is, if you take forever to make it "perfect" you miss the boat. The reason MP3 got so popular is not because it was the first compressed music standard capable of near CD quality. It was also not because it is the best lossy compression standard. It is because it was good enough, at the right time. It's compression level was small enough that people found it usable (as opposed to things like ADPCM which do knock the size down, but not enough) on the technology of the day, and it did it while giving quality good enough people liked it.
So in my opinion it really is to late, they needed to release a couple years ago. As it stands, I think they've missed the boat. Blu-ray is done and uses VC-1, MPEG-4, and MPEG-2, ATSC is done, uses MPEG-2, Flash Video uses H.263 and VP6 (and also H.264), mobile stuff uses MPEG-4 (part 2 and 10). They have just missed the boat. So they release a codec in a year or two or five that's maybe a little better than MPEG-4 part 10... Ok so what? Nobody will really care. Net connections only get faster, harddrives get larger, so even if you offer 20% better compression it doesn't matter, people will stick with the standard.
Vorbis had more of a chance since it actually did get released around the time that there was interest in upgrading from MP3 to something better for some things. However they largely lost out (it does have some use, in game engines for example) in part because of their silly naming and in part because of their poor surround support. However Theora is too little too late as far as I can tell. The world is already settling in to their HD codecs and once the standards get entrenched, they'll stay there until there's a compelling reason to switch.
Timing is important. If your product isn't ready when it is needed, it isn't going to get used no matter how awesome it is in the end.
The benchmark that looks good in the lab.
YMMV.
The "objective" benchmark that has been "especially kind to Theora."
What the hell am I to make of that?
It's one clip -
apparently of a geek dead on his feet after pulling one too many all-nighters.
You can drown in techno-babble.
I want to see video.
Richly detailed backgrounds.
Textures. Wood and fur and cloth and grass. Subtle rendering of flesh tones.
Give me a real taste of how well your codec handles action. Take your camera outdoors. In the rain. Out on a boat. Take it on stage.
How is that any different than a company selling a physical product deeply discounted or below cost for an initial period of time in order to gain market share?
That practice is called 'dumping' and is illegal for most goods and services, at least in the United States.
To be fair, the whole thing is part of 'the Ogg Project'. Saying 'Theora is Ogg' is not actually incorrect, and it might get you laid at parties.
No need to be such a stickler, here have a beer.
You have to measure the PSNR of each codec with the same tool, silly (and avoid doing colorspace conversions which are lossy in the interchange. Keep the output in YCb'Cr' format). If you're using the x264 encoder's reported PSNR *cough*ahem* it's known to be wrong. It always reports way higher than other tools, like it's forgetting chroma is subsampled or its log-space algebra is just wrong or something.
Let me check myself with the clip linked in the article....mmmm lessee.... yep! that's what you're doing. So, BZZZT, no gold star, try again.
Talk to average users, and ask them "what is a flac file?", and "what is a wav file?", then ask them "which one would you use to record audio?". 99.999% would say "wav".
Actually, that percentage of your 'average users' would just *blink* with glazed over eyes...and not have a clue what you are talking about.
I say this after having worked tech support for Creative Labs, dealing with mp3 players and your 'average users.
Now I will agree that more 'average users' will recognise a *.wav file as a sound file compared to recognising a *.flac file as a sound file...if we leave 'lossless' and other qualifiers out of the equation.
But 99.999%????...'average users'???
Hah! I would not touch that statistic with a bleach-soaked 10 foot pole, because I know where you pulled it from, and it's drawing flies already, because it stinks so bad!
Down With Slashdot BETA!!! I've been around the corner and seen the oliphant; you can only abuse me from your perspecti
Reinforcing the truism that the cheaper the MP3 player, the more features and versatility it will have.
"Ogg" is actually a term from an early internet game.
http://en.wikipedia.org/wiki/Ogging
Theora is named after Theora Jones, a secondary heroine character from the movie 'Max Headroom: 20 Minutes into the Future' about a dystopian future where video media is overwhelming, centralized, oppressive, dangerous, and an off switch on a television is illegal:
http://en.wikipedia.org/wiki/Theora_Jones#Theora_Jones
"Xiph" is actually from the Greek ξÎÏÎÏ (sword) by way of 'Xiphophorus' (sword-bearing, pseudolatin?) from the genus name of a fish (Xiphophorus helleri). Which is where I picked it up in middle school. I'd been using it for my software projects since I was 14 or so and by the time Xiph.Org was a real thing [many many years later] I wanted to change the name to something less silly and my co-founders voted me down. They liked Xiph. It became the precedent-setting silly name.
Vorbis is from Terry Pratchett's _Small Gods_ and I dearly hope Mr. Pratchett considers it a compliment. It was meant as tribute to my favorite fictional villain, Archdeacon Vorbis. "A mind like a steel marble"
Turns out there was an error in the methadology used in the original comparison, which hit x264 for more than 4 dB of difference.
http://www.reddit.com/r/programming/comments/8iphn/theora_encoder_improvments_comparable_to_h264/c09eyvc
Edit: HAHAHA! We figured out what was wrong--thanks a ton, gmaxwell, for coming on IRC and resolving this! Turns out his testing methodology was flawed... but not in the way I thought!
Turns he out he did everything correctly... but he used ffmpeg for outputting the raw y4m file to have its quality measured by dump_psnr (but not for theora). Apparently, ffmpeg flags the output chroma as "420mpeg2" instead of "420", which results in over 4db of PSNR being slashed off of x264's results unfairly.
Oops. We already have a patch submitted to ffmpeg for the problem and a retraction of the Theora comparison results is in the works. Thanks to gmaxwell for taking the initiative and David Conrad (Yuvi) for finding the bug!
The Doom9 thread on the same topic:
http://forum.doom9.org/showthread.php?t=146893
Anyway, given H.264 is a more recent codec that is highly optimized for PSNR and has had many years of refinement in a number of implementations, it's hard to conceive of how Theora could even approach it in compression efficiency, let alone beat it.
My video compression blog