Slashdot Log In
In-Depth Look At Video Codecs
Posted by
kdawson
on Fri Jun 08, 2007 11:19 AM
from the jaggies-and-artifacts dept.
from the jaggies-and-artifacts dept.
johnsee writes "Atomicmpc has an incredibly in- depth look at a wide range of video codecs. It looks not only at their inner workings, but also shows the quality produced by each at a variety of settings and situations."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
so which one wins? (Score:4, Funny)
Re:so which one wins? (Score:5, Informative)
For those not wanting to read the article:
Rated best to worst with default settings
Low Bitrate go with XVID, DIVX, h.264, WMV
Medium: XVID or h.264 depending on lighting and motion, WMV, DIVX
High: h.264, WMV, XVID, DIVX
Parent
Re:so which one wins? (Score:5, Insightful)
Parent
Re: (Score:2)
I wouldn't expect many codecs to handle that size frame spectacularly well. That any of them did [h.264 in your case] is amazing.
Tom
Standards change (Score:2, Informative)
[Ahem] The new standard is 1920x1080. Cope.
Re:Standards change (Score:5, Informative)
Tom
Parent
Re:Standards change (Score:4, Informative)
Parent
AVP beats ASP, no surprise. (Score:4, Interesting)
This is quite different from the newer H.264 (MPEG-4 Part 10 "Advanced Video Profile" (AVP)) encoders like x264 (which is part of ffmpeg, at least recently, I believe). H.264 is a much better match for high-definition video that's going to be played back on HD equipment.
I think it's been known since the AVP codecs arrived on the scene that they pretty much kicked the crap out of the ASP ones; their only major downside is the processing requirements both to encode and decode, and (more true in the past than now) limited installed base of people with the codecs.
Parent
Re: (Score:3, Informative)
I recognize their are similarities, but I do not believe they are the 'exact same'. My evidence is that the video cards we use have Mpeg4 hardware encoders, yet will not 'hardware decode' the H.263 stream.
also, FTFA's reference:
Re:AVP beats ASP, no surprise. (Score:5, Informative)
ie the following statement is always true:
H.263 is always MPEG4
However the the folloing statement is not always true:
MPEG4 is always h.263
Not true at all. There are some hardware MPEG4 encoders on the market, but it is for the most part, not included in modern GPUs. For decoding purposes, portions of the h.263 (IDCT to be exact) has been implemented in hardware on video cards for quite sometime. However, combined with programmable shaders, a good deal of h.263 decoding can be greatly accelerated by most modern GPUs (nVidia's PureVideo DirectShow codec is an example of this). ATI's AVIVO XCode app does use a great deal of shaders to speed up the encoding process for several codecs. Even though it's been shoehorned to work with other GPUs, it was intended to work thier X1X00 line of video cards.
Parent
Re: (Score:2)
H.263 uses 'Group of Block' (macroblock) resync, and Mpeg 4 uses ' the packet approach'
H.263 also puts information on the macroblock in the header, the document says MPEG4 uses a 'picture start code'. These appear to be different
Re: (Score:3, Informative)
It's a bit like reverse-engineering in a cleanroom environment - the various MPEG-4 parts describe exactly how things should work, then you'd pass it off to
Re: (Score:2)
It uses similar concepts to MPEG-4 (all BMC-based algorithms do), but several details in stream structure are different (which is not to say parts of a MPEG-4 codec can't be used to accelerate H.263 compression or decompression).
H.264, on the other hand, was developed by the ITU in part
Re: (Score:2)
I would be interested if you had a reply to JohnnyLocusts reply above...? http://slashdot.org/comments.pl?sid=237843&cid=19
Re: (Score:2)
Also, bear in mind that video compression standards focus on "what" the encoders must create, not "how". Even if a certain standard supports more advanced features, a "smarter" encoder using a "lesser" standard can produce similar, or even better results.
As H.264 encoders improve, they should cle
Summary (Score:2)
H.264 isn't a codec, it's a standard (Score:2)
Re:H.264 isn't a codec, it's a standard (Score:5, Informative)
--aq-strength for the win!
Parent
Re: (Score:3, Informative)
All the info about algorithms in the video codecs is fully public. The same body, MPEG-4 LA, handles licensing for both technologies, and handling patent issues around them.
Going back to the paleolithic era, Microsoft made the original reference encoder for MPEG-4 (hence the venerable MPEG-4v3 codec). Windows Media Video 7 and later were about goi
Re: (Score:2)
Re: (Score:2)
but i don't see.. (Score:5, Funny)
OT: Divx Pro is free (Score:3, Informative)
Grab it while you can.
Re: (Score:2, Informative)
http://www.divx.com/dff/index.php?version=win [divx.com]
and everyone gets sent the same serial number:
Windows
SMYCU67X83BBA68TIT48
Mac OS X
358DSZ7D96C5X66BI48E
ascii and zip (Score:5, Funny)
Re:ascii and zip (Score:5, Funny)
Parent
Uncompressed Codecs (Score:5, Interesting)
And though humans learned stone tools remarkable close to finally learning to load CD-ROMs, the stone tools were paleolithic ("old stone"), while the CDs were at worst neolithic ("new stone"). Someday we'll look at the modern era as a new age, probably "hualic" [foreignword.com], or "glass" age. These silicon chips and glass fibers have changed us as much as we've changed the glass from which we make them.
Just for kicks, I note that we've encoded the Si atoms into the new tools that define our age.
Re: (Score:2)
In keeping with the naming of capital-A Ages after prevalent use of materials, I like to refer to the period from 1912 to 2045 as the "Plastic Age" (or possibly the "Polymer Age" or "Polyfantasic! Age"), covering the use of Bakelite on up in consumer goods.
Your guess as to what happens after 2045 :) (Hint: Ray Kurz
Re: (Score:2)
No, it seems like all the materials that are whizzy and new now days are "Space Age Materials." Stuff like carbon fiber. So, that makes this the "Space
Re: (Score:3, Informative)
"Some other major inaccuracies:
This site says that motion compensation was introduced in MPEG-4. What? Motion compensation and motion estimation are at the core of every MPEG and most other codecs.
Also, his understanding of the DCT is way off (and no, you don't need a degree to understand it -- I was building JPEG encoders in 11th grade).
"During an encode, every number in a series is simply halved and the remainders thrown away."
Image Algorithms (Score:4, Interesting)
Re: (Score:2)
Non-Windows VC-1/WMA Pro playback (Score:3, Interesting)
Actually, there are more non-Windows playback options than you think.
First, Flip4Mac can play back all VC-1 flavors and WMA Pro today. It doesn't play back the higher frequencies of WMA Pro, but they continually improve their support every release (full VC-1 Advanced Profile came in 2.1.1 last month). Downloading it seems pretty simple, but it isn't open source. And it nicely integrates with QuickTime, so once it's installed, WMV beccomes just another file fo
Re: (Score:2)
http://digitalproducer.digitalmedianet.com/article s/viewarticle.jsp?id=109739 [digitalmedianet.com]
(disclaimer: I wrote it, but I don't get any $$$ from page views... unfortunately
There are lots of articles about sound codecs, but most of them seem a bit too "mystical" to me (as is typical with all things audiop
In this case, don't RTFA (Score:5, Interesting)
His descriptions of "temporal compression" and "motion compensation" (to name just two of the fundamental building blocks of modern video codecs) are so wrong they don't even qualify as an error. He confused delta compression with motion compensation, thinks MPEG1 lacked the latter, doesn't understand why the former is virtually useless for video... sigh... even trolled Wikipedia articles manage to be more accurate than that.
I feel truly sorry for the people who read that and think they've learned something about the subject.
Re:In this case, don't RTFA (Score:5, Interesting)
Time to shamelessly plug my articles about compression. Some parts are simplified (they're aimed at "end users") but, compared to this Atomic article, anything is flawless:
Lossless (data, image, audio)
http://digitalproducer.digitalmedianet.com/articl
Lossy + Hybrid (image, audio)
http://digitalproducer.digitalmedianet.com/articl
Video (lossless, lossy)
http://digitalproducer.digitalmedianet.com/articl
Parent
Re: (Score:2)
The description of DCT is pretty funny (Score:5, Interesting)
Re: (Score:2)
Oh, and the answer to your question is "yes." Saying "Frequency Space" as part of a description to anyone who is not involved in either said data analysis, compression, or vibrations (my former, and sometimes current, field) is guaranteed to be
Re:The description of DCT is pretty funny (Score:5, Informative)
I think I made a pretty decent job of explaining what "frequency space" is, and why it can be used to improve compression, here:
http://digitalproducer.digitalmedianet.com/articl
(scroll down to "The transformers")
It also explains why DCT isn't a form of compression per se, it simply makes it possible to use quantization in a way that does not affect quality as much as it would in "pixel space".
Several "non-techies" have read that and, although they realised the transform itself is not something trivial, they understood what it did and what it was used for. Something that you can't really say about the Atomic article (or its author).
Parent
Re: (Score:3, Interesting)
Re: (Score:2)
I thought there was too much information... (Score:5, Funny)
please note a lossy codec was used for paraphrasing
Re: (Score:2)
You forgot the start- and end-markers for compression: o hai, and kthxbai.
--Rob
They missed 3ivx (Score:5, Informative)
A bit of a bummer that an Australian website missed reviewing an Australian created codec.
FYI, here's the press release. And YES! It does do Linux!. Tux be praised.
http://www.3ivx.com/pr/pr20070607_50.html [3ivx.com]
Cheers
A wide range? (Score:5, Interesting)
For those who like laundry lists, here are some codecs not listed: Dirac, Theora, Huffyuv, Lempel-Ziv-Oberhumer Codec, MNG, Cell, NV, WaveCodec, Motion JPEG and MSU Lossless Video Codec. The wikipedia page doesn't list all of these, it took some scouting to find others and some of the early early ones are apparently only listed in the documentation on Open Source videoconferencing software I had back in the early 1990s.
Are any of these significant, though? Well, Dirac (BBC) damn well should be - we're only talking a high-definition TV quality codec by a major broadcaster with on-site offices in most countries that would be a logical choice for their remote bureaus to use and be a good candidate for competing with digital broadcasters in general.
Theora - well, it would be the ideal desktop videoconferencing codec in many ways. Those in common use today are heavier than necessary but the quality you buy with that at the bandwidth generally available just isn't worth it.
Huffyuv is said to be the fastest codec on the planet by some, which is entirely possible. That would make it good for most things where CPU power is expensive but bandwidth is cheap. (Embedded systems would probably fall into that category a lot.)
MSU's Lossless Codec is probably the slowest codec ever written, but gives by far the best compression. It makes a great reference codec to compare others against, apparently. If you could develop a decent hardware implementation, it might be a serious competitor to HD-DVD and Blu-Ray, as you could pack a comparable volume of material onto a standard DVD and therefore use already-existing commodity disks and players. All you'd need is a patch kit to add the decoder. This would likely appeal far more to consumers, as they wouldn't need to spend as much, but the studios and the manufacturers would hate and despise it for the same reason.
The meaning of "print" (Score:3, Informative)
"Print" does not mean stipping out all graphics and ads, but leaving the number of pages the same.
>:(
--Rob
What about Wavlet CODECs? (Score:2)
Man, is that a useless article! (Score:3, Informative)
40 FRAME clips? The default GOP length of most of these codecs is longer than that! There's no useful test of rate control in there, or keyframe supression popping.
And as far as compression setings, all they say is "we used the defaults, but set it to highest quality". There isn't just ONE defualt in these products. We don't know if they're even comparing CBR and VBR, 1-pass or 2-pass. And there are lots of tweaks appropriate to different kinds of content that would be used in practic - one doesn't compress film source like cel animation!
Sheesh, there's really no useful information here at all. The average reader would probably wind up knowing less about compression after reading it...
Re: (Score:3, Insightful)
Do you also think that there should be a single type of paint, a single type of tire, a single type of lightbulb, and so on...?