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."

35 of 233 comments (clear)

  1. Winner by Anonymous Coward · · Score: 3, Informative

    Nero Digital won on quality, but for both speed and quality, doom9.org concludes XviD is currently the best solution.

    1. Re:Winner by Hackeron · · Score: 2, Informative

      libavcodec (lavc) is part of the ffmpeg project: http://ffmpeg.sourceforge.net/

    2. Re:Winner by dsparil · · Score: 5, Informative

      NeroDigital was declared the overall winner, not XviD. XviD had the best quality versus encoding speed. TFA specically says

      Finally, XviD, one year after taking the crown, had to give it back. It would've won again, if it were not for ateme's AVC codecs. So, if you make DVD backups now that need to work on a standalone or slower machine, XviD is still a very good option, but I guess we'll see AVC capable decoder chips in 2005.

      and

      Looking at the encoding speed table, this was an easy pick: XviD clearly delivers the best quality per FPS and shows that high speed is not detrimental to quality at all. Also, ateme's Main Profile encoder delivered a good 31.40 fps, which is very respectable for an AVC codec, and thus it earned the 2nd place in this category.

  2. H.264 by daveschroeder · · Score: 4, Informative

    I realize it's not available yet, but it's coming...and frankly, it's pretty amazing. Scales from 3G handheld devices to HD content, already part of the forthcoming HD-DVD and Bluray Disc formats, not to mention being an ITU and MPEG standard, etc.

    1. Re:H.264 by Anonymous Coward · · Score: 5, Informative

      H.264 is MPEG-4 Advanced Codec (AVC). Some AVC codecs are included in the article, the Nero Digital and HP4X one's in particular.

    2. Re:H.264 by Anonymous Coward · · Score: 1, Informative

      The Nero Digital codec is a working implementation of H.246 AVC. It is indeed good.

    3. Re:H.264 by Anonymous Coward · · Score: 1, Informative

      It's coming ? It's already here !
      Nero Digital IS a H.264 (MPEG 4 AVC) codec !

    4. Re:H.264 by Anonymous Coward · · Score: 5, Informative

      I realize it's not available yet, Huh? You can get source code of the reference hode, or zillions of commercial implementations

    5. Re:H.264 by Bulln-Bulln · · Score: 4, Informative

      I don't see a codec called HP4X in the article and if you actually read the article (yeah, I know... this is /.) you'll see that the simmilar named HDX4 codec is an ASP (not AVC) codec.

      (HP4X has something to do with calculators from HP.)

    6. Re:H.264 by msh104 · · Score: 2, Informative

      the "just released" mplayer version (www.mplayerhq.hu) also supports it.

    7. Re:H.264 by gl4ss · · Score: 2, Informative

      but he is right.

      hint: some of these toy codecs ARE h.264/avc.

      --
      world was created 5 seconds before this post as it is.
  3. Re:No OGM? by imsabbel · · Score: 4, Informative

    OGM is only a file container, so it doesnt matter.
    And ogg theora is a VERY outdated version of the vp codec. VP6.x was tested, theora is based on vp4.something, a more than 2 years outdated codebase.
    draw you own conclusions

    --
    HI O WISE PRINCE. WHT TOOK U SO DAM LONG?
  4. Re:What about Ogg Vorbis? by BladeMelbourne · · Score: 3, Informative
    Wow, most of your MP3 files must be 0 kbps or 0 KB in size.

    MP3 files most definately have frames:
    http://www.id3.org/mp3frame.html
    http://www.dv.co.yu/mpgscript/mpeghdr.htm

  5. Re:Theora? by Weird+O'Puns · · Score: 5, Informative

    Theora is still in alpha stages and still has many problems with it. Currently it doesn't stand a chance with the codecs in the shoot-out, especially with the bitrates they were using in the tests.

    That being said, remember that Theora is already pretty useful for low bitrate Internet streams.

  6. H264 and MPlayer : you can try x264 by Anonymous Coward · · Score: 5, Informative

    x264 is a free (GPL) implementation done by one of the French guys of the videolan team (who made the VLC player).
    http://www.videolan.org/x264.html
    MPlayer-pre6 now supports it. You just need to compile the x264 codec, and compile MPlayer with the x264 libraries linked (see ./configure options).

    I tried it, it is very promising.
    Apparently it also works with transcode and has a Win32 version too.

    See alsothis thread about using mencoder and x264:
    http://forum.doom9.org/showthread.php?threadid=830 39

  7. Re:snow is better and mplayer supports it now! by Anonymous Coward · · Score: 3, Informative

    Michael Niedermayer is the author and afaik he works for fraunhofer. but i believe the snow video codec is based on wavelets, no more blocks, and is open source.

    but i dont have an account so this will be buried at score 0.

    i cant believe nobody on slashdot knows of this great codec. which as i said is supported by mencoder/mplayer now!

  8. Re:No OGM? by Bloater · · Score: 4, Informative

    Theora is based on VP3.2

    Theora also has some changes that allow potentially much higher quality - although the reference encoder doesn't use them yet. Also the current reference encoder tries to encode noise very faithfully, and that causes noticeable quality issues (especially "beating" at low bitrates on noisy source data). Having said that, I normally find Theora to be noticeably better quality at the same bitrate than DivX.

  9. Re:What no FLC? by Bert64 · · Score: 2, Informative

    Wasn't FLC an animation format used mostly on DOS? Amiga users had CDXL, one of the first codecs capable of streaming video from a cd, and playable on a 1x drive with a 7mhz cpu.. Obviously the quality is nothing compared to modern formats, but for it's time it was amazing.. It predates mpeg by several years for instance.

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  10. Re:Theora? by Anonymous Coward · · Score: 1, Informative

    Despite what you say about Theora, it is stable enough to stream all of Guadec.

    See www.theora.org for news/code/video samples.

  11. Is WM9 part of AVC? by NeMon'ess · · Score: 3, Informative

    Googling for "What is AVC?" bring up this. I'm confused as to if they're saying AVC will be stardard in HD-DVD? Is WM9 an AVC? If not, will both be options for HD-DVD content providers? I ask because in the shootout WM9 didn't look very good. Relatively it blurs more of the scene than xvid.

  12. Re:Theora? by Inf0phreak · · Score: 4, Informative
    AFAIK, Theora doesn't fit into the toolchain that Doom9 uses with AviSynth because it doesn't have a DirectShow filter of VfW implementation (Please feel free to correct me though).

    I think you have to use a command line encoder that only accepts some weird raw picture format which by my (and most other persons', I presume) standards is just silly and in no way usable (*). Unless mencoder supports it, of course. But that still doesn't work with his usual toolchain.

    (*): And don't come with that "oh, but it's alpha software. Things like that can wait!" because it won't get any use or testing at all if they keep it that way. So when 1.0 finally comes out they get bashed for its horrible quality and have to spend months tuning their encoder again, doing work they could have saved themselves had they had better testing from the start. That's how I guess it's going to be when 1.0 finally comes around.

    PS: I still think it's a pretty cool project and with the java implementation for streaming, it would be very nice to see more wide-spread use of Theora, but I won't be holding my breath.

    --
    ________
    Entranced by anime since late summer 2001 and loving it ^_^
  13. An On2 derivative by Hal+XP · · Score: 4, Informative
    At this stage Theora is not much more than a mutation of the On2 VP3 codec, which On2 donated to the free software community.

    A quote from the Theora faq:

    Q. Is the Theora bitstream identical to VP3?

    Yes and No. Theora is a superset of VP3, so VP3 streams (with minor syntactic modifications) can be made into Theora streams without recompression (but not vice versa).

    Theora will be almost entirely based upon the VP3 codec designed by On2. However, Theora video data will be delivered inside of the Ogg container format (with Vorbis for audio), so Ogg Theora files will not be the same as VP3 files. There also may be quite a few performance advantages to using Theora when 1.0 is complete. While our focus is integration, there will certainly be a lot of optimization involved, as well.

    So there! Theora is optimized VP3, which means there's a good chance it would turn out to be a faster codec. But as far as visual quality is concerned Theora is likely to be just as good or just as bad as VP3.

    On2 itself is well represented in the survey by its VP6 codec, and judging from the pseudo version numbers on the codec names, it should be safe to assume that VP3 is inferior to VP6 (VP6 - VP3 = 3 generations of development).

    --
    I'm a sci-fi vegan: I don't want the aliens to think we have as much right to live as the fried chickens we eat.
    1. Re:An On2 derivative by eht · · Score: 2, Informative

      Heh, I used to work for On2 4 years ago, the version numbers are like those of Netscape and Slackware, they just plain jump a number, or the codecs were created internally but were never actually released.

      Those of us who left (and one friend who still works for them) are quite surprised they're still around, they used to be big into codecs for video games back when they were Duck, one of their last projects was helping port FFVII to the PC, and they did a lot of Sega stuff too before that

  14. Re:Theora? by Bulln-Bulln · · Score: 3, Informative

    Theora is based on On2's VP3 and this codec was removed from Doom9.org's codec comparisons long ago, because it's old and didn't have significant (if any) improvement in quality. The same thing happend with "DivX ;-) 3" (the hacked MS codec).
    These codecs have not been removed, because the Doom9 guy hate them or something, but because the old test results still apply and testing them over and over again would just be a waste of time.

    IIRC VP3 (and DivX 3) was removed in 2003. So check out a comparison from 2003 to see how it performs.

  15. Re:Video codec's will always be worked on by ambrosine10 · · Score: 4, Informative

    And, yes, those stairs, rain and especially faces ARE blurred in real life.

    What, you have glaucoma? Are you near-sighted? Go buy some glasses.

    The original picture WAS crisp, and there's no reason why the encoded version shouldn't be. We get most of our information from visual sources and so our demand for high-quality visuals will never go down. Normal people take time even distinguishing 64k AAC clips from the original sometimes. But with visuals it's easy to spot artifacts.

    divx is watchable and a good size/quality compromise.

    Yes, and maybe 64k MP3 is good enough for you. It's not for most people. Be happy, you have what you want. Let the developers develop for the rest of the human population who care.

    You can get a 90 minute film onto a cd, for instance.

    Yes and as development continues that same 90-minute film on the CD will look closer and closer to the original.

    If, in the future, you can encode a 90 minute hdtv into 700mb with no quality loss

    This is impossible to do losslessly - that's why we're developing lossy codecs. There will always be a tradeoff between quality and file-size, but it will continue to improve, barring people like you who claim everything is fine, fine. The point of technology is progress. If you're happy with your LPs and your black and white TV, fine, but don't go ruining it for the rest of us.

    hardware needed to decode and render the film will probably not use cds.

    Uh, what?

  16. Re:What no FLC? by Anonymous Coward · · Score: 1, Informative

    IFF is a container format, so it's like saying you're watching an AVI. What type of IFF animation? IFF ANIM, IFF ANIM+SLA, IFF ANIM+ANFI?

  17. Re:What about Ogg Vorbis? by Calroth · · Score: 2, Informative

    MP3 files most definately have frames

    Ever wondered why MP3 files aren't "gapless" and there are short gaps of silence between tracks that should otherwise run together? This is why. It's not a problem with your player; it's the way the MP3 spec works... it pads your sound file out to be a multiple of x samples.

  18. Ultra high bandwidth PNG? by eggspurt · · Score: 3, Informative
    It's important to understand that most default PNG exporters are not very good. You should use a PNG optimizer, such as Ken Silverman's PNGOUT or Cosmin Truta's OptiPNG. Let us focus on the matrix3-3ivx-6364.png image:
    • Default: 129,002 bytes
    • OptiPNG: 121,967 bytes
    • PNGOUT: 113,759 bytes
    It may not seem much, but it adds up. Sometimes you can reduce the bit depth (for gray scale), make a palette (for drawings and charts that don't need 64 bits of color depth), and reduce resolution. Some more tricks are at Baseline JPEG and JPEG2000 Artifacts Illustrated.
  19. best codec is one I can use in a $60 DVD player by Anonymous Coward · · Score: 5, Informative

    I love my $60 Philips DVP 642 Divx/Xvid stand-alone DVD Player:
    http://www.theinquirer.net/?article=20465
    http://walmart.com/catalog/product.gsp?product_id= 2598455
    http://www.amazon.com/exec/obidos/tg/detail/-/B000 204SWE

    When they make a $60 DVD player for other codecs than MPEG2/MPEG4 I'll be interested. Until then, why bother if something is a little bit better? A WMV9 DVD player would probably be another $50 and not worth it (not that they even exist right now).

    1. Re:best codec is one I can use in a $60 DVD player by Anonymous Coward · · Score: 1, Informative

      To answer some questions/comments about the DVP642 (from original poster):

      You can update the firmware with a simple CD-R boot of the new firmware. You can even defeat macrovision by reverting to a slightly older firmware. In theory the mpeg4 decoder can be updated that way as well.

      There is an instant region 0 defeat via a code right from the remote.

      Xvid plays perfectly on this. The only single encoding I have not been able to play was encoded with QPEL, which is extremely rarely used.

      This thing even handles divx/xvid subtitles (.SRT)

      It does NOT show the "divx logo" while playing any movie.

      Your local Walmart probably stocks it (mine did) and has a 30 day return policy, go try it!

      Go read the inquirer article.
      More info also at http://www.videohelp.com/dvdplayers.php?DVDnameid= 4117

    2. Re:best codec is one I can use in a $60 DVD player by flatface · · Score: 2, Informative

      This IS the best DVD player I have ever owned. It still has some problems that haven't been solved yet (firmware upgrades). It doesn't have MKV or OGM container support, it crops off the edges of DivX/XviD movies (!), and the subtitle font can't be changed (It's a tad small). Hopefully some firmware upgrade in the future will fix this.

  20. Talking about Apple's implementation... by daveschroeder · · Score: 2, Informative

    ...which was what I linked to.

  21. I still use Xvid by Corellon+Larethian · · Score: 2, Informative

    I have a Liteon 2001 DVD player. When it first came out, Divx had all kinds of problems on it. It did well just a play a movie; fast-forwarding and rewinding were luxuries.

    Luxuries saved for Xvid. Xvid has always played absolutely perfect on it. I can FFW and FRW like it was an ordinary MPEG2, I can seek to a time and the pause is very small. It reads DVDRW's like they were mastered DVD's. It plays Vorbis and can handle WMV, as well nested directory structures.

    I did my own little comparison here, just recently. I tried using low bitrates with Divx 5.2.1, and low bitrates with both Nic's and Koepi's Xvid binaries. Xvid utterly won out, not to mention that the Divx encoder would hang when I selected options that it deemed "fucking insane".

    I choose Xvid because it works for me, all the time, with whatever I throw, at or in, with it. It works with bare minimal effort on my part. I don't have to use the "right" encoding program, I don't have to choose the "right" resolution and quanitizer matrix, I don't have to have to keep high bitrates.

  22. No by Wesley+Felter · · Score: 2, Informative

    WMV9 is a competitor to AVC. HD DVD and Blu-ray support MPEG-2, AVC, and WMV9, so content providers can choose any of the three.

  23. Re:Free as in ... by IdntUnknwn · · Score: 2, Informative

    Actually it is severely patent encumbered. There is absolutely no way to create an MPEG4 codec without violating *a lot* of patents. How does XviD get around this? The XviD project claims to be an educational/research project. Note that the XviD project cannot officially release binaries as I believe this would require the payment of royalties. Otherwise its in a gray area of the law.