Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Software

ExtremeTech Wages War of the Codecs 356

prostoalex writes "ExtremeTech tested Windows Media, DivX, QuickTime/Sorenson and QuickTime/MPEG4 codecs. They encoded clips from Matrix Reloaded, Monsters, Inc., X2 and Spider-Man. QuickTime/Sorenson won the encoding speed contest, for the quality tests read the entire review, as each movie sample was encoded with 500KB and 1MB bitrates. Video samples provided on the site as well, so see for yourself."
This discussion has been archived. No new comments can be posted.

ExtremeTech Wages War of the Codecs

Comments Filter:
  • Dont forget ffmpeg (Score:2, Informative)

    by Anonymous Coward on Thursday March 11, 2004 @04:41PM (#8535822)
    Dont want to piss off the BSD crowd either!
  • No XVid? (Score:4, Informative)

    by Rexz ( 724700 ) on Thursday March 11, 2004 @04:41PM (#8535823)
    I'm suprised XviD, an open source, MPEG-4 compliant codec wasn't tested. It's quickly becoming a standard for the transfer of large movies, and its open source nature has all of the usual benefits: alternatives, power and no constraints or adware. I suggest anyone planning on encoding video seriously considers it. XviD.org [xvid.org]
  • Re:I love Slashdot! (Score:4, Informative)

    by pavon ( 30274 ) on Thursday March 11, 2004 @04:42PM (#8535842)
    Because Windows Media wins the quality shootout, they say "check the site". You have to know that if DivX won the quality tests, it would be in all caps in the headline! Ha!

    Moderators, wake up!
    If you do check the site you will see that Windows Media didn't win - it was a toss up.

  • Doom9's Comparison (Score:5, Informative)

    by Anonymous Coward on Thursday March 11, 2004 @04:44PM (#8535866)
    Here's their most recent codec shootout [doom9.org] with 3ivx, Divx, ffvfw, Nero, Real, On2 and Xvid. Xvid wins [doom9.org].
  • doom9.net (Score:2, Informative)

    by silverfuck ( 743326 ) <dan@farmer.gmail@com> on Thursday March 11, 2004 @04:44PM (#8535870) Homepage
    A useful site for all things high(ish) quality video encoding, aimed at dvd backups to cd, is Doom9 [doom9.net] - see their last round of codec comparisons [doom9.org]. (Frame based, so you'll need to click through from the beginning to get the menu frames etc.)
  • by Professor_Quail ( 610443 ) on Thursday March 11, 2004 @04:46PM (#8535893) Homepage
    Episode 4 in Ascii-mation [asciimation.co.nz]
  • Re:No XVid? (Score:5, Informative)

    by Anonymous Coward on Thursday March 11, 2004 @04:46PM (#8535906)
    Whether they hide the first pass or not, you'll need two if you really want quality. It's the only way for the codec to know for sure where it can spare bits and where it can't.
  • by proj_2501 ( 78149 ) <mkb@ele.uri.edu> on Thursday March 11, 2004 @04:47PM (#8535916) Journal
    mplayer can do that with the aalib output plugin.
  • Re:I love Slashdot! (Score:5, Informative)

    by molarmass192 ( 608071 ) on Thursday March 11, 2004 @04:49PM (#8535942) Homepage Journal
    Did you read the *whole* article? They state very plainly at the end that "DivX encoded clips tended to have a touch more detail, but also a few more compression artifacts, than the WMV9 video" and that DivX encodes much faster than WMV9. In brief, the only reason for choosing WMV9 over DivX is that it may be included in upcoming consumer devices.
  • by Anonymous Coward on Thursday March 11, 2004 @04:57PM (#8536048)
    Quicktime is not a format, it is an architecture.

    Extremetech REALLY blew it.... even in the apple world quicktime pro is known to be a poor ENCODER. The architecture is not the problem, it is the programs... Those beauitiful trailers that are highly compressed are Qicktime, but they are encode3d in Sorenson 3 using another program... It's called "Cleaner" by CreativeMac...

    Extremetech REALLY REALLY blew it... I have never had such bad results when i used quicktime pro, (before i asked around how come I couldnt get the amazing detail of the trailers and was told that they're done in Cleaner)....

    again, WMA is a codec, Quicktime is an architecture (thus, useing the Sorenson 3 codec)...man, I am firing off a letter to them for incompetence...
  • Doom9's Comparison (Score:4, Informative)

    by kylethemile ( 149934 ) on Thursday March 11, 2004 @04:58PM (#8536053)
    Well, seeing how bad [hydrogenaudio.org] ET's iTunes Bad, WMA Good [extremetech.com] article was, I figure Doom9's codec comparison [doom9.org] is better than this.

    And yes, Doom9's comparison includes XViD.
  • Re:Made on a Mac? (Score:4, Informative)

    by SlamMan ( 221834 ) on Thursday March 11, 2004 @05:00PM (#8536091)
    The reason its poor is that they're using the free version of Sorenson 3, as opposed to the pro version that everybody else in the world doing pro video with shelled out $300 for (and is well worth it).
  • by David_Bloom ( 578245 ) <slashdot@3lesson.org> on Thursday March 11, 2004 @05:05PM (#8536143) Homepage
    We therefore took the uncompressed clips and created new "master clips" by encoding them to very high bitrate (around 8 megabit) files using Indeo 5.1 compression, as all our test applications could easily read this format.
    Indeo? INDEO!??!? Yes, I know if you make every frame a keyframe or whatever, maybe it would look almost decent. But seriously - why not use a JPEG series or something instead? I'm sure both QuickTime and VDub can handle that. In fact, if you had bothered to discover VirtaulDubMod [sourceforge.net] and the QuickTime MPEG-2 playback component [apple.com], you could have just plugged in the MPEG-2 streams directly.

    STUPID! YOU'RE SO STUPID!!!

  • by pldms ( 136522 ) on Thursday March 11, 2004 @05:09PM (#8536188)
    I suspect that high quality wasn't enabled, which (IIRC) means that post-processing was disabled in the Apple MPEG4 decoder.

    3ivx, Xvid and divx all postprocess, not unreasonably. The Apple codec makes itself look bad for no good reason.
  • by SideshowBob ( 82333 ) on Thursday March 11, 2004 @05:19PM (#8536293)
    This isn't about best of all worlds, this is about doing a valid comparison of 4 popular video codecs. All I'm saying is that if you want to compare the Sorenson3, DivX 5.1, WMV9, and MPEG4 video codecs, you should use comparable settings for each, e.g. 2-pass encoding and VBR.

    Hell there *are* free MPEG-4 encoders that are better than Apple's encoder, e.g. ffmpeg.
  • Re:No XVid? (Score:2, Informative)

    by falconx7 ( 447933 ) on Thursday March 11, 2004 @05:22PM (#8536347)
    Its called JOBS, a nice feature virtualdub has. Setup your first-pass, when you save check the box to not run the save now but to instead save it to the job list. then do the same thing for the second pass, then bring up the job manager (file menu or F4 shortcut key), it should list your 2 jobs as waiting, click start.

    I hope you haven't been thinking you had to step in after 3 hours for too long.
  • That wasn't nipple (Score:2, Informative)

    by Trikenstein ( 571493 ) on Thursday March 11, 2004 @05:29PM (#8536440)
    It was pokies.
    With nipple you get skin
    With pokies you get shirt.
  • Re:Bah....... (Score:5, Informative)

    by kisrael ( 134664 ) * on Thursday March 11, 2004 @05:30PM (#8536459) Homepage
    That was a pretty tremendous scene for what it was. I thought they could've called the movie "The Rack of Kirsten Dunst"

    this page [comicscontinuum.com] has quite a shot, though this is the one [moviecritic.ca] people usually think of, with the webslinger getting an upsidedown kiss.
  • by Amtiskaw ( 591171 ) on Thursday March 11, 2004 @06:26PM (#8537118)
    I believe the XviD team only release the source, which gets around this problem in the same way as the Lame mp3 encoder did. Of course anybody who compiles it and makes an encoder is liable to pay licence fees, perhaps that's why this article ignores XviD?

    The really cool thing about XviD though is that it can be decoded by a "standard" MPEG4 decoder, which means all the modern DVD players with MPEG4 decoders built in can play XviDs by default.
  • Suprised (Score:2, Informative)

    by Foo2rama ( 755806 ) on Thursday March 11, 2004 @06:56PM (#8537408) Homepage Journal
    I am very suprised that the Sorenson ended up so bad. Generally when you watch Soreneson encoded stuff it is very very clean... IE most movie trailers. I remember the very first few of Sorenson on an apple 8.5 cd with a Bare Naked Ladies video, we blew that thing up and stop framed and found almost no artification. Generally I use sorenson, and end up with much better results.
  • Re:But no Xvid? (Score:3, Informative)

    by Anonymous Coward on Thursday March 11, 2004 @07:15PM (#8537551)
    Maybe because Xvid does not have licences for MPEG4 patents, and therefore isn't really legal in the US.
  • by S.Lemmon ( 147743 ) on Thursday March 11, 2004 @07:30PM (#8537684) Homepage
    One thing the article and most people here seem to miss is DivX *IS* MPEG4. XviD is as well - that's why a MPEG4 decoder like ffdshow can play them both.

    The article can really give people the wrong idea - it's not the MPEG4 codec, but maybe Apple's implementation that's to blame. Perhaps it just doesn't support all of MPEG4's features. Then again, perhaps the people doing the review just didn't know how to set up the encoder properly. Regardless of codec, there's quite an art to good encoding.
  • Quicktime != codec (Score:4, Informative)

    by Ohreally_factor ( 593551 ) on Thursday March 11, 2004 @08:58PM (#8538311) Journal
    Just to clarify, Quicktime is a media architecture, not a file format or a codec.

    This misunderstanding doesn't invalidate your argument, although I would disagree with you about MPEG-4. I've gotten good results with it, sometimes even great results.
  • Re:Made on a Mac? (Score:3, Informative)

    by contradyction ( 672874 ) on Thursday March 11, 2004 @09:28PM (#8538526)
    From the article:

    There are simply too many video codecs out there for us to test them all -- and most of them wouldn't be useful anyway. We focused on four codecs, all of which are free and can be used with free tools. (Or very cheap ones - QuickTime requires a $30 Pro registration for full encoding capabilities.) You don't want to pay $500 for a professional video authoring program just to send grandma a video of baby's first steps, so we stuck with these four very popular codecs...

    The article is testing encoders used by non-professionals, so they aren't going to test something that costs $300.
  • Inept methodology (Score:1, Informative)

    by Anonymous Coward on Thursday March 11, 2004 @10:16PM (#8538908)
    This 'shootout' deserves no credence.

    1- Starting with 6Mbps MPEG is *BROKEN*. You are encoding artifacts, even if you can't see them. The only meaningful shootout is to use uncompressed SD which is 270 Mbps. (or HD if you want to get really serious). Codecs see artifacts as detail and waste bits trying to reproduce them. Starting with a source that's natively 270 Mbps and has been compressed to 6mbps (and VBR at that but that's another story) *will* introduce artifacts.

    No professional would use a DVD as a source and an amateur would get worse results from even higher bitrate source materials that were shot/edited/color-corrected poorly. Garbage in/Garbage Out. The only reason the encoded hollywood DVD's look acceptable at all is the sources THEY were encoded from were expertly shot, edited, color corrected and tele-cine'd.

    2- The Sorenson 3 codec as included in the free QuickTime download (yes free... you don't need QT Pro to export QuickTime, any QuickTime application can expose the export codec) is not capable of 2-pass VBR. The difference in quality using the pro version of the Sorenson codec with VBR (and having a clue) is enormous.

    The shootout is not a shootout of codecs. It's a shootout of idiot presets using iffy source material. It's a shootout of tools and approaches appropriate for amateurs.

    It completely ignores architectural differences between the formats which, again, for anyone with real content production goals. QuickTime is a vastly richer and more flexible architecture. (and no I'm not on Apple's payroll)

    -A.C.
  • by Sexy Commando ( 612371 ) on Thursday March 11, 2004 @10:34PM (#8539022) Journal
    Dude, the article is about codec comaprison, not player comparison. And you don't need WMP9 (Windows Media Player 9) to play WM9 (Windows Media V9) encoded files. Heck, you can even encdoe videos with WM9 into .avi or .ogm or whatever open source free beer speech wrapper format you want by using the VCM [microsoft.com] wrapper released by Microsoft.

    The codec itself is neutral from any copy protection mechanism, or you just like to yell "DRM" for some cheap mod points.

  • by pla ( 258480 ) on Thursday March 11, 2004 @11:54PM (#8539562) Journal
    Please expand and explain AVC and ASP. I'll Google it myself, but for the sake of everybody...

    Well, if you want a somewhat technical explanation, I would recommend reading This [fastvdo.com] (warning, PDF). Very well written, with enough technical details to satisfy the casually interested geek, while readible enough for non-geeks to get the general idea.

    For just the quick-and-dirty... The MPEG4 AVC (aka MPEG4 part 10, aka H.26L aka H.264.10) includes quite a few new techniques at every step of the encoding, from preprocessing to interframe prediction to new frame types to new residual handling methods. These make encoding a lot more CPU intensive, but produce considerably better results (Oddly, most sources claim only 40-50% better than MPEG2, which I find absurd, since even ASP encoders manages to do better than that).

    It may help some people to better appreciate the difference by seeing some side-by-side comparisons (not exactly the best possible test conditions, but they make their point)... Balooga [balooga.com] has a brief overview of the MPEG4 AVC vs the ASP and even MPEG2 available... Check out the screen shots, in particular.

    Interstingly, on the topic of nomenclature, I think it would make people far less confused if we all called it H.264.10, rather than MPEG4 AVC. Up to and including what we normally think of as MPEG4 (the MPEG4-2 ASP), all the MPEG versions remained backward compatible. An MPEG1 stream counts as a valid MPEG2 stream, and an MPEG2 stream counts as a valid MPEG4-2 ASP stream. The AVC standard, however, departed from that backward compatibility. Not necessarily a bad idea, but by not picking a new name, everyone seem rather confused about exactly which names refer to which standards (similar to USB2, but worse, because each version has several sub-versions).
  • Re:But no Xvid? (Score:2, Informative)

    by SpamJunkie ( 557825 ) on Friday March 12, 2004 @12:22AM (#8539733)
    Windows Server 2003 has streaming (for Windows Media) built in.

    Mac OS X server has Quicktime streaming built in, and it's damn easy. But you want it for windows or linux? That's ok, because it's free [apple.com].
  • by benwaggoner ( 513209 ) <ben.waggoner@mic ... t.com minus poet> on Friday March 12, 2004 @12:39AM (#8539896) Homepage
    Okay, so I AM the world's leading expert on video compression codecs and formats (no, really, I am). I cover the same ground in my book, and in a series of articles for DV magazine over the last five years. So I'm pretty picky on this kind of things. But these guys couldn't compress themselves out of a wet paper bag.

    Some fundamental errors:

    They're using MPEG-2 sources, which are already highly compressed (this has been amply covered by other posters).

    They talk about converting to an "uncompressed" AVI, but never specify which flavor of uncompressed. They should have used a lossless codec that uses the native Y'CbCr color space of video, like Huffyuv. They way they just said "uncompressed" suggests they used the AVI "None" codec, which is uncompressed RGB. This causes two lossly color space conversions - one from the Y'CbCr of the source to RGB, and then back to Y'CbCr in the delivery codec.

    They used Indeo 5.1 as their intermediate codec. This is terrible. Indeo uses what's called YUV-9 sampling. There is only one measurement of color per 4x4 block of pixels. This throws away 75% of the color information from the DVD (which uses 4:2:0 sampling, with 2x2 blocks), before it even touches a codec. And this results in very ugly blocks whenever there are highly saturated regions with sharp contrast. So, all the output is going to look highly compressed when rendered from these intermediates, even if further compression is lossless. Look at the Spider Man test frame for an example. Notice the red blooming around the shoulders of the vocalist. And the color everywhere is very muddled. Indeo can also be slow to decode, unless it was encoded with all keyframes. And how slow it is to decode will vary with the tool, which probably added measurable error to their encoding time measurements.

    They don't know the difference between Sorenson Video 3, which comes free with QuickTime, and Sorenson Video 3.3 Professional, which you have to pay for and is what Apple uses for their movie trailers. With the Pro version, critical features like B-frames and 2-pass VBR are available.

    Apple's MPEG-4 encoder isn't very good - 1-pass only, tuned for speed more than quality. A file with the exact same compatibility could be made with Squeeze, Compression Master, Envivio, etcetera with MUCH better quality. And the Divx MPEG-4 codec is, of course, also MPEG-4.

    They didn't use 2-pass encoding! No quality-concious encoder would ever put content on spinning disc without using 2-pass. And they didn't mention most of the other encoding settings they used, which by context I'd guess were basic defaults.

    That's from an initial skim. If I spent more time with the article.

    In summary, these guys spent hours and hours analyzing the results of tests, where they would have been WAY better off spending an hour asking someone who knew anything about video compression how to administer this kind of test.

    Oddly enough, their results are vaguely like you'd expect - WMV9 and DivX do well, Sorenson less so, and Apple MPEG-4 at the rear. Done properly, I imagine WMV9 would have had a slight lead, and Sorenson 3 Pro would have been a lot closer to DivX. And no one uses Apple's MPEG-4 codec for content distribution. QuickTime's decoder is fine, so folks would use a professional-grade MPEG-4 encoder instead.
  • by benwaggoner ( 513209 ) <ben.waggoner@mic ... t.com minus poet> on Friday March 12, 2004 @12:55AM (#8540001) Homepage
    Quality limited encoding is great if you care about quality more than bitrate.

    Bitrate limited is great if you care about file size or bitrate more than quality.

    Each has its place. Real-time streaming obviously has a hard requirement for the latter.
  • And VP6! (Score:3, Informative)

    by benwaggoner ( 513209 ) <ben.waggoner@mic ... t.com minus poet> on Friday March 12, 2004 @01:06AM (#8540086) Homepage
    VP4? I don't believe that was ever released. I had a review copy of it, but they quickly superseded it with VP5.

    VP3 was the one that was open-souces, and is used as the basis of Ogg Theora.

    The current On2 codec is VP6, which is free for personal use.
  • Re:Give it some time (Score:3, Informative)

    by benwaggoner ( 513209 ) <ben.waggoner@mic ... t.com minus poet> on Friday March 12, 2004 @01:11AM (#8540129) Homepage
    Apple's MPEG-4 decoder is very good and fast, for Simple Visual profile. Their encoder is what's lacking, being 1-pass only, and tuned for speed instead of quality.

    Most MPEG-4 professionals would use something like Squeeze or Compression Master instead to make a .mp4. Way better results with identical compatibility.
  • Taxonomy of MPEG-4 (Score:3, Informative)

    by benwaggoner ( 513209 ) <ben.waggoner@mic ... t.com minus poet> on Friday March 12, 2004 @01:26AM (#8540225) Homepage
    WMV9 isn't MPEG-4 derived. MS MPEG-4v3 was, but that forked into WMV7 years ago. WMV9 is quite different than MPEG-4 now.

    QuickTime encodes and decodes Simple Profile MPEG-4

    DivX did Simple in V4, and V5 added support for Advanced Simple.

    Most of this will be moot soon, since the MPEG-4 Part 10/AVC/H.264 codec is way better than the old Simple or Advanced Simple, and will rapidly replace the old versions in the next couple of years.
  • what about ogg? (Score:3, Informative)

    by TubeSteak ( 669689 ) on Friday March 12, 2004 @01:51AM (#8540381) Journal
    Xvid and 3ivx get mentioned many posts further down, but no one says anything about ogg!!! From my limited experience, it has amazing quality and the greatest advantage over xvid and that damnd WMV9 is that it is instantly seekable. No lag while xvid thinks and no buffering by windows. I personally use media player classic for my WMV's & get instant seeking, but his target audience doesn't.

    All hail ogg!
  • Slightly OT... (Score:2, Informative)

    by ceeam ( 39911 ) on Friday March 12, 2004 @02:18AM (#8540519)
    ... but new ffdshow has been released quite recently (I got it only 2 days ago). Now VFW interface and audio decoding(!) are included. I have already got used to volume normalizing (yahoo!!! :-)
  • Re:what about ogg? (Score:3, Informative)

    by imroy ( 755 ) <imroykun@gmail.com> on Friday March 12, 2004 @06:04AM (#8541515) Homepage Journal
    Ogg WHAT?
    Are you talking about using Ogg Vorbis as the audio codec? Yes, it is very good. I wouldn't use anything else for either my CD rips or DVD rips.
    Or are you talking about the bastardisation of the Ogg container format that is the OGM container format? Do some googling. From the mailing list postings I saw, the Ogg guys aren't too happy about this effort by one windows programmer to hack the Avi/VfW information into the Ogg container format. If that's what you're referring to, and using, I recommend you instead look at the Matroska [matroska.org] container format. It's much more flexible and is slightly more efficient space-wise than OGM. Mplayer [mplayerhq.hu] supports it, don't know about Xine [sf.net]. There's a Matroska splitter/demuxer thingy for windows [sourceforge.net], don't know about Mac OS/X support.

Two can Live as Cheaply as One for Half as Long. -- Howard Kandel

Working...