Slashdot Mirror


Comparing Codecs for 2004

MunchMunch writes "Popular encoding/guide/news site doom9.org has just put up its codec shoot-out for 2004, comparing 3ivx 5.0, Divx Fusion 5.9 (prerelease 6.0), Nero Digital Main Profile and High Profile, RealVideo 10, On2 VP6, VideoSoft's VSS, Xvid 1.0, MS's WMV9 and, last, newcomer Jomingo's HDX4. The comparison covers the speed, accuracy, target-file-size-adherence and other aspects of the codecs -- but also lets you compare yourself via high- and low-bandwidth framegrabs of each codec with a nice zoomable image-swap script."

16 of 233 comments (clear)

  1. snow is better and mplayer supports it now! by Anonymous Coward · · Score: 4, Interesting

    from my experiences with what i've played with, snow far surpasses all these codecs. its the only currently realistic wavelet choice, and it hasnt even been optimized for speed. you need a good processor though. mplayer has support for snow now!

  2. Theora? by mano78 · · Score: 5, Interesting

    From a quite-newbie point of view: is there a reason why Ogg Theora isn't included? Given the quality and increasing popularity of Vorbis, I would have expected at least a mention. And it would have been interesting to know its state relative to the others.

  3. No OGM? by metricmusic · · Score: 2, Interesting

    ..... Not only does ogg theora have great video quality but it has multiple subtitle support built in, which is great for up-coming unlicensed-yet anime and other foreign films.

    --
    http://www.livejournal.com/users/metricmusic
  4. Theora works. by Anonymous Coward · · Score: 3, Interesting

    About five months ago I got the theora encoder compiling in OS X.. Encoded a test 5 minute short. It was TINY and playback (through VLC or MPlayer I think) was great. It should have been included in any comparison.

  5. nobody seems to have heard of this codec by Anonymous Coward · · Score: 1, Interesting

    http://forum.doom9.org/showthread.php?s=4601d4772d 9800343fc7098250f3ab2f&threadid=87317

    iwod: "Where is the SNOW in Xmas?"

    akupenguin: "The rules say: don't ask what's "best". There isn't an objective answer.

    But I vote for Snow: very nice at low bitrates, and it doesn't need so much tweaking to get a compromise between resolution and quantizer. No blockiness at all (wavelets+obmc take care of that), though it has it's own set of artifacts. While it's slow for normal use, that shouldn't be a problem at 320x240..."

    Tommy Carrot: "Well, Snow is very impressive indeed..."

    Teegedeck: "'The best' indeed is a dangerous term when it comes to comparing codecs. But since in the 'ridiculously low bitrates' area wavelet codecs really don't seem to have a competition, my vote goes for Snow, too..."

    Mug Funky: "...wavelet means you can encode broad slabs of flatness alongside detail like subs pretty nicely. it's so experimental though..."

    ChronoReverse: "Frozen precipitation in the form of white or translucent hexagonal ice crystals that fall in soft, white flakes."

    Anonymous Coward: "why doesnt anyone on slashdot know bout snow?"

    1. Re:nobody seems to have heard of this codec by Elledan · · Score: 5, Interesting
      Valid link to the thread about the Snow wavelet-based codec: Snow

      For those too lazy to click the above link, here's the content of the first post:

      "I think a new thread is a more fitting place to discuss about the Snow codec. :) If someone wouldn't know what is it, it's an experimental wavelet codec made by the ffmpeg developers, which borrows a lot of tools from h.264, and while it's still early in the development, it's already giving very good results, far surpasses other wavelet codecs (rududu, dirac) and imho Xvid too, quality-wise. Unfortunately it's only usable with mplayer/mencoder right now, but i think the next ffdshow will include it, so the testing will be more easier. [Update: The latest ffdshow build provided by Celtic_druid have Snow support]

      I've played with the settings, and so far this command-line gives the best result:

      code:mencoder in.avi -o out.avi -ovc lavc -lavcopts vcodec=snow:vstrict=-1:vqscale=3:qpel:v4mv:cmp=1:s ubcmp=1:mbcmp=1:pred=1

      This gives ~600-800 kbps, depending on the source, and the quality is excellent imo.

      vqscale is the quantizer, if it's not included it in the command line, Snow will compress losslessly.

      So far my opinion about the different settings: qpel always increases the quality - recommended v4mv - i would only recommended it at lower quantizers (max 4-5), above that the stronger artifacts it causes like ringing can hurt the quality xxxcmp=1 (using SSE comparison method instead of SAD) slows down the encoding, but prevents the color mismatches, which can occur otherwise (anyone who tried rududu codec can remember to that). using pred=1 or 2 (different wavelet functions instead of the default) can increase the quality, but these make the encoding (and pred=2 the decoding too) much slower."

      Wavelet-based encoding definitely sounds like a great idea. It's only too bad that it isn't universally usable (it can't compress certain images well, either), and requires a fast CPU. At least it gives that Athlon 64 3500+ you just got something to do :)

      --
      Site & blog: http://www.mayaposch.com
    2. Re:nobody seems to have heard of this codec by tomstdenis · · Score: 2, Interesting

      ... except SNOW doesn't work on 64-bit cpus [at least my x86_64 with GCC 3.4.3].

      I was trying to encode the freedom downtime dvd with it [it was handy] and it segfaulted on the first frame.

      In fact the mplayer crew largely ignore x86_64 alltogether which pisses me off as several months ago I offered shell accounts on my 64-bit box just so they could actually get to adding proper support.

      For instance, the x86_64 has MMX, 3dNOW and SSE [1 and 2] NONE of which a stock build of mplayer [up to pre6] will use. It's not like they changed how they work, just now you get 16 SSE registers instead of 8. Even if they just stuck to the first 8 to keep it x86_{32|64} compatible that would be loads better than using C based routines for everything.

      OSS is only as good as the developers. And well while mplayer is coming along it still lacks some proper support for x86_64 which is rather annoying.

      Tom

      --
      Someday, I'll have a real sig.
  6. The Problem with WMV9 video by Anonymous Coward · · Score: 2, Interesting

    ...is that MS has a pretty stranglehold on it (although they've been moving to lessen its grip so as to not get completely rejected entirely by the industry). No open source player has source code for decoding it, and on the Mac, the only player that supports it (Windows Media Player for Mac OS X) lacks so many features such as drag-n-drop support, displayal of the file's name during playback, AVI, MPEG, and MP3 support, etc.

  7. Re:Winner by Hackeron · · Score: 3, Interesting

    What about libavcodec (mencoder's default)? I ran some xvid vs lavc myself and found lavc to be of better quality vs size. Isnt it ironic the best codec isnt even in the comparison?

    Reminds me of those sound codec tests where vorbis wasnt present :)

  8. BBC's Dirac ? by Alain+Williams · · Score: 2, Interesting

    I was hoping to get some insight as to how well dirac performs ...

  9. Wavelet vs. DCT? by uss_valiant · · Score: 2, Interesting

    Are all codecs from the shootout based on DCT? And if so, why is that? Are all wavelet based codecs too early in their development? I mean, wavelet is known for a pretty long time now, not as long as DCT :), but still. There's jpeg2000 and I'd have thought wavelet should be superior to DCT.
    It's not that I have absolutely no idea of codecs, I 've learned the basics by programming a very low bitrate (low quality :)) codec a few years ago.

  10. Re:Time to move on? by Anonymous Coward · · Score: 1, Interesting

    Just as mp3(and similar) is good enough to listen to...

    You know, this just isn't true.

    I have a moderately good stereo system: middling-high Denon amp, Royd speakers, some cheezy DVD player, Toshiba laptop.

    In the spirit of Christmas I decided I'd finally pay back the artists I listen to in the only way possible at this time: by buying their CDs. Yah, they only see a thin dime of my cash, but it's better than nothing.

    I was astounded at the difference in quality. Boards of Canada has much greater detail and depth. Groove Collective is tighter and cooler. Digable Planets doesn't sound as "digital".

    Even at the best settings, MP3 doesn't hold a candle to raw CD audio. It's the difference between AM and FM radio, or FM radio and MP3 VBR. A whole new level of quality.

    For a portable player, I'd choose MP3. For my laptop, MP3. For my home stereo, it'll be MP3 while I preview, and I'll be buying a CD if I really like the music. It's just that much better.

  11. WMV and why it must not be allowed to continue by dotwaffle · · Score: 2, Interesting

    I'm not an Open-Source zealot, in fact I frequently prefer a lot of non-open-source software, but I can definately see why people prefer that method of development. And the creation of a "standard" is exactly why open-source should be used when it is applied to software. For an example, what happens in 200 years time when someone wants to read a Blu-ray/HD-DVD? They can't! WMVv9's specification, AFAIK, has not been publicly released, and so it will quickly be superseeded and forgotten. However, MPEG-2 has been publicly specified and therefore can be read in the future by simply reading and understanding the specification. We use standards so that we don't have to rely on a company, or a person to decode the data for us, without our knowledge of how it works. If something is going to be used to store data for future retrieval, we want to be able to refer back to how it was made. I've not made it clear what I mean, but hopefully people can understand. XviD appears to be not only the most logical choice from a point of view of being a freely available standard that no-one wants control of, just willing to contribute to, it is also of the highest quality and and speed, and goes well with Ogg Vorbis sound, which is also completely open-source. I will not buy any Blu-ray or HD-DVD's whilst they intend on pursuing this course of action. I don't have very good speakers or very good TV anyway, so DVD will do for me :)

  12. Re:H.264 by andrewski · · Score: 0, Interesting

    That's the problem with getting all your standards news from Apple. When they say "It's coming..." they really mean "Our implementation of that standard is coming, and you'd better be willing to get Quicktime Pro to use it..."

    A couple of years ago, I bought a license for QT Pro, and it is great for a good deal of things, but I still feel a little jacked.

  13. Transcoding? by cooldev · · Score: 3, Interesting

    Can any video experts comment how transcoding from MPEG-2 affects video quality?

    This is a good test for comparing the quality of codecs for ripping DVDs, but do the results hold true when an uncompressed master is used as the source?

  14. Re:best codec is one I can use in a $60 DVD player by Chemical · · Score: 2, Interesting
    I bought one of these after hearing so many people rave about how great they are. It's true, it does have very strong support for many PC file formats. However, there are some very serious drawbacks.
    1. The file system browser only shows the first 11 characters of the filename. To be able to accuately differentiate one file from another in the browser, you need to abbreviate the file names when you burn them to a disc. Even worse when playing MP3s which usually have long filenames.
    2. When viewing Divx files, it streches the picture outside of the frame of the TV on all four sides, with no way to adjust this. For me this is a major problem because I watch a lot of fansubbed anime, and the result is that the subtitles are outside of the screen, thus making the player useless for watching fansubs (unless the show is widescreen).
    3. It crashes sometimes. I've never had a DVD player crash on me before.
    4. It doesn't show the title number or chapter number when you skip to the next, nor does it show the title or chapter on the player's display. You have to press the Display button on the remote to see where you are.
    5. When changing titles, it switches the language setting back to the disc default. Again, annoying for us anime fans.
    All and all, I haven't been very happy with this player, compared to my old, old, incredibly old school Toshiba player. The Divx playback feature is nice, but needs some of the kinks worked out. Maybe the next generation will be better.