Slashdot Mirror


Video Codec Comparison

FonkiE writes "Doom9 wrote a good article: After more than 3 weeks of work and no free time during that period it has been done: The latest codec comparison is online. 7 codecs have been put through one of the hardest tests in the history of codec testing. The results: find out on your own ;) I had planned to change the presentation somewhat but certain events (forum problems and such) prevented me from completing this for the release. I plan to eventually supply an updated version of the comparison."

264 comments

  1. Doom9 is my hero, dvd2svcd owns you. by drinkypoo · · Score: 1, Informative

    Though it does require that you use a commercial mpeg2 encoder, possibly an outdated one which can probably only be acquired illegally at this point.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    1. Re:Doom9 is my hero, dvd2svcd owns you. by Anonymous Coward · · Score: 0

      Hm? You were able to get something off of that site?

      doom9's webpage organization is proof that just dumping information at people isn't sufficient. A nice HTML table would've taken about 10 seconds to construct, and would've stood out much more.

      Also, where's Ogg Theora? A video codec test isn't complete unless an alpha Free codec is there to rank with all the proprietary ones.

    2. Re:Doom9 is my hero, dvd2svcd owns you. by cioxx · · Score: 1
      "A video codec test isn't complete unless an alpha Free codec is there to rank with all the proprietary ones."

      XviD is licensed under GNU GPL. Open source as it gets.

      As for Theora, it's not even half done.
    3. Re:Doom9 is my hero, dvd2svcd owns you. by paule9984673 · · Score: 2, Informative
      Yes, but XVID is subject to the mpeg-4 patents, which makes it somewhat non-free. At the moment it is an "educational codec" that can't be used in production.

      This might also be the reason it is only distributed as source code.

    4. Re:Doom9 is my hero, dvd2svcd owns you. by Spy+Hunter · · Score: 0, Troll

      It may be open source, but it's not free (as in beer). There are patents on mpeg4, so no implementation can be fully legal without paying royalties. I'm not even sure it's completely legal to even have a GPL mpeg4 codec. It's the same situation as with mp3 and Lame, and it has the same solution: Ogg. Ogg Theora, in particular (and perhaps Ogg Tarkin in the far future). I was really hoping the next doom9 codec comparison would include Ogg Theora, so everyone could see how it stacked up to the likes of Xvid. Doom9 is the only place I know of that really compares video codecs in a halfway impartial way. I guess we have to wait even longer now to find out if VP3 is any good.

      --
      main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
    5. Re:Doom9 is my hero, dvd2svcd owns you. by TheRaven64 · · Score: 2, Funny
      Also, where's Ogg Theora? A video codec test isn't complete unless an alpha Free codec is there to rank with all the proprietary ones.

      Also, where's Ogg Tarkin? A video codec test isn't complete unless an vapourware Free codec is there to rank with all the real proprietary ones.

      --
      I am TheRaven on Soylent News
    6. Re:Doom9 is my hero, dvd2svcd owns you. by Anonymous Coward · · Score: 0

      They already did VP3 - it sucked nuts.

      Ogg Theora isn't ready yet, and won't be for some time (much sooner than Tarkin, though). When there is actually some sort of usable codec he can test, he'll test it, but at the moment there isn't, it's pre-alpha not alpha.

      Wait for the next comparison, but understand that being based on VP3, Theora has a lot of work to do to catch up with the big boys. It could, maybe, but we'll have to see. Then again, Tarkin will probably slaughter them all, conveniently about the time Bluray hits.

    7. Re:Doom9 is my hero, dvd2svcd owns you. by spectral · · Score: 3, Informative

      Doom9 could have used PNGs. Quite annoying that half of the screenshots were totally destroyed by using ANOTHER lossy compressor on them. Yes, I should be looking at the video clips and not the screen shots, but then why the hell provide them at all?

    8. Re:Doom9 is my hero, dvd2svcd owns you. by drinkypoo · · Score: 1

      I should have said, "In its capacity as a SVCD creator." While you can use it as something else, its name kind of changes when you do, to DVD2AVI. I figured that by referring to it strictly as "DVD2SVCD" you would get the idea that I was encoding to MPEG2.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    9. Re:Doom9 is my hero, dvd2svcd owns you. by WWWWolf · · Score: 1
      Also, where's Ogg Theora? A video codec test isn't complete unless an alpha Free codec is there to rank with all the proprietary ones.

      Well, last I checked Theora was alpha, bitstream format was not stabilized, and there was only Linux code. And in my humble opinion, a codec isn't a codec unless I can VirtualDub it (or otherwise encode in Windows), WMP it, and Xine it...

      I would have loved to see a comparison of VP3 and other codecs - last time Doom9 tried it they were criticized of Not Knowing How To Twiddle The Controls. My own conclusion was that I could get pretty good stuff... hrm.

    10. Re:Doom9 is my hero, dvd2svcd owns you. by Doom9 · · Score: 4, Informative

      why provide them? because people demand them. Watch out for the next site update (due in roughly 2h).. I have made some improvements in the futurama comparison (no PGN.. that would increase the size too much, but the new shots are a lot nicer).

    11. Re:Doom9 is my hero, dvd2svcd owns you. by spectral · · Score: 1

      Wow, the author himself. Didn't expect that one ;) Yeah, you had mentioned the update providing new features, so I was planning on checking it again. Would PNGs really increase the size all that much? (I'm too lazy and ill-equipped at the moment to do a comparison, stupid lab computers.)

      The futurama ones were the ones that mostly mattered to me (being a big anime fan.. I don't have a DVD drive in my portable, so I just compress them to watch them when I'm not at home. Some might argue that I'd be better off buying a new drive for it, but it's cheaper to rip my [legal] collection.), so maybe I was a bit harsh since that's where you mentioned the JPEG problem the most :)

    12. Re:Doom9 is my hero, dvd2svcd owns you. by Doom9 · · Score: 1

      I did some tests with the original frames to find out how much I could compress without introducing many visible artifacts. PNG quality was of course great, but would only reduce the original BMP size (roughly 550kb for a futurama screenshot) to 220kb. JPEG @ 100% was about 100KB, and JPEG @ 97% is around 70-76KB whereas the original JPEG @ 85% was 30-36KB. I believe the current shots are a good compromise between loading time and quality, the old ones definitely werent.

  2. Looks like... by Anonymous Coward · · Score: 0, Informative

    DivX is still where it's at.

    1. Re:Looks like... by Not+The+Real+Me · · Score: 1

      Not as far as I'm concerned.

      Try playing back DivX5+ encoded videos on a p500 with 384megs of RAM. DivX5 runs like molasses on sub-1ghz machines, drops frames and jumping around in a movie is almost useless.

      Plus, the DivX5.03 codec crashes my M$ MediaPlayer 6.4. I have to use DivX's player which takes *FOREVER* to load on my home p500 machine.

      I don't view upgrading my home machine as an option to watch DivX5+ movies because the PC plays XVid, MPEG1 and 2, DVDs, DivX3/4, even Apple QuickTime movies perfectly.

  3. Spoiler! by Anonymous Coward · · Score: 5, Informative

    In conclusion: When encoding regular movies, if you look for a quick and dirty average solution DivX5 is your fix. If you're an SBC guru, want maximal details at high speed you can still stick to SBC, if you want details and are not worried about the alpha status and speed you should give XviD a shot. DivX5 and XviD also offer standalone playback capability on selected devices. If you don't worry about details too much and prefer to remain almost blockfree you should give RV9 a shot, or alternatively WMV9. Interestingly, the lead developer of XviD has offered to send me a build that would perform just like RV9.. I might take up that offer one day when I'm bored.

    For animated features, the two proprietary solutions deliver good results with XviD pulling slightly ahead.

    1. Re:Spoiler! by JW+Troll · · Score: 0

      hate to break it, but DivX 5 is NOT a quick fix in any sense of the word. It's slooooow to encode with, especially when multipassing. SBC is the fastest to encode with.

      --
      just like the humble blood clot... turboporsche@telus.net
    2. Re:Spoiler! by Pieroxy · · Score: 1, Insightful

      This test is amazing:

      RV9 and WMV9 have the most visible tendency to smooth out details

      I don't know where he got that (the end of the matrix page) but all the screenshots shows the opposite for WMV9: it shows a lot more details than *ALL* the others codecs.

      If your screenshots shows the opposite of what you say, then I just don't know what to believe! Don't show them!

    3. Re:Spoiler! by Anonymous Coward · · Score: 0

      and of course you read at the top of the pages how the pictures may not all be keyframes and in general are not always representative of what he actually saw so read his textual descriptions along with the pics

    4. Re:Spoiler! by Pieroxy · · Score: 1

      I agree to that, but my point is that if your pictures doesn't follow your points, why showing them?

      All over I did see this comment "The image doesn't do justice to the codec": Then don't show it or show a better one!

  4. after working with lots of them by thesadjester · · Score: 1

    I've really only found mpeg2 to be "good." I haven't really gotten mpeg4 to look as well as mpeg2 even with the lowest compression setting. I'm not sure if mpeg4 was simply designed for streaming or whatnot. Anyone know what the major differences between mpeg2 and 4 are?

    --
    -gabe
    1. Re:after working with lots of them by NanoGator · · Score: 5, Informative

      " I haven't really gotten mpeg4 to look as well as mpeg2 even with the lowest compression setting. I'm not sure if mpeg4 was simply designed for streaming or whatnot. "

      I had that problem early on, then I found the 'Maximum Quantizer' setting. It defaults to 16. I think what that means is "How big of artifact should you allow?" (I'd appreciate some correction on that if I'm wrong...) I turned that down to 8 (sometimes even 4) and it behaved MUCH better.

      Just thought I'd recommend you try that. If you already have, I'm not sure what to tell ya. I've had pretty good luck with it, but I haven't compared it to MPEG2 because the video I do is pretty much for web delivery.

      --
      "Derp de derp."
    2. Re:after working with lots of them by phreak404 · · Score: 4, Informative

      You can use the exact same compression matrices and quants from Mpeg-2 with Mpeg-4. Both support interlaced and progressive video (although you may have a harder time finding a reliable field-based format for Mpeg-4) and both support HD resolutions. The main difference between the two, is that Mpeg-4 video is part of a much larger specification designed to deal with not only video, but content delivery mechanisms (i.e. interactive things). If the specs could have been finalized quicker, it would have been a Flash killer.

      In any event, the differences in quality you see are more than likely related to implementation (i.e. differences in spec implementation between XviD, DivX 5, MS Mpeg-4, etc.), user error, and the fact that you're taking a compressed video source and compressing it again. Although many people do insist that Mpeg-4 over-quantanizes black and other 'dark' colors, resulting in no true 'black', that could just be perception.

      For a better view of how something like this works, open a PNG, save it as a JPG with a high compression level. Open the JPG, save it as a another JPG with a high compression level. Repeat 10 times and tell us the result.

    3. Re:after working with lots of them by thesadjester · · Score: 1

      This wasn't recompressed, it was DV -> mpeg4....
      Also, it was out of Final Cut Pro...I was actually kinda depressed with the quality.

      --
      -gabe
    4. Re:after working with lots of them by Anonymous Coward · · Score: 1, Informative

      DV is compressed.

    5. Re:after working with lots of them by Sangui5 · · Score: 5, Informative

      A better translation of "Maximum Quantizer" would be "what's the most information you should throw away". The lossy compression formats get a lot of their effectiveness by quantizing the data. Specifically, a quantizer of n means divide everything by n and throw away the fractional part on compression, then multiply everything by n on decompression. From a practical standpoint, it is the same thing as throwing away the least signifigant bits (a q of 16 throws away 4 bits, for example).

      Bitrate is generally controlled by modifying the quantizer values as the video progresses. So lowering the maximum quantizer is the same as specifying a higher minimum bitrate. In theory, a good implementation of a codec (using 2-pass quality-based VBR, B-frames, QPel, etc.) will function best if you don't restrict it's choice of quantizer. However, a really high quantizer value generally means that the codec screwed up, so limiting it doesn't hurt too much.

    6. Re:after working with lots of them by captaineo · · Score: 5, Informative

      MPEG is a very rich spec and leaves a LOT of room for encoders to find different and better algorithms. In fact you can almost think of an MPEG decoder as a virtual machine that executes a program to reconstruct the video. The encoder has a lot of freedom in choosing where to put I frames and how to find the motion vectors. (as opposed to say GZIP or JPEG, where there is pretty much only one way to encode things).

      One issue that sometimes bites people is converting between RGB-style and YUV-style color spaces. A round-trip from 8-bit R'G'B' to 8-bit Y'CbCr is always lossy, although not terribly so. The killer is when different codecs disagree on how to map the R'G'B' values to Y'CbCr values. MPEG-2 is nominally Y'CbCr with Y' in the range 16-235. Some encoder expect R'G'B' values in the range 16-235 and others expect 0-255. If there is a mis-match, shadows and highlights will get clipped and the translation will be much lossier.

      IMHO the non-video parts of MPEG, like "face compression," are just wishful thinking. Most optional parts of the spec are only going to be implemented by one or two vendors.

    7. Re:after working with lots of them by gerardrj · · Score: 3, Informative

      Thought this was important such than a non-A/C should post it also:

      DV is compressed at a fixed 5:1 ratio.

      Uncompressed video at a resolution of 720x480x24 is ~1MB per frame and 1.7GB per minute (at 30fps). DV uses about 220MB per minute including sound.

      --
      Article X: The powers not delegated... by the Constitution...are reserved...to the people
    8. Re:after working with lots of them by Sangui5 · · Score: 5, Informative

      MPEG4 _was_ initially intended for very low bitrate applications. And indeed, if bitrate is not an issue, then MPEG2 can (and generally will) produce output that is indistinguishable from the source.

      However, a lot of the features included in MPEG4 make it equivilent to MPEG2 in quality potential. It would be proper to think of MPEG4 as MPEG2 with a bunch of extra options. If you turn the options off, then you can expect very similar results. Since people generally are using MPEG4 to generate medium-quality (say, around SVHS) video at low (yes, 3 hours of video on 2 CDs is _low_ bitrate), most implementations are much more aggressive about allocating bits than most MPEG2 implementations are. Indeed, at the target bitrates people are choosing, most MPEG2 implementations will utterly fall apart (although MPEG2 itself ought to hold up better than actual performance would suggest).

      Among the key new features of MPEG4 are:

      1) QPel - MPEG2 allows you to say that a block in a frame is the same as a previous (or future) frame shifted by x pixels, or x.5 pixels, or is kinda like this block and kinda like this other block. MPEG4 extends this to quarters, rather than halves. This is supposed to really help very low motion, or small variations in globally compensated motion.

      2) Global motion compensation - MPEG4 allows you to say that the whole frame is panning/sweeping so-and-so much, and then make localized offsets. Actually, IIRC, it lets you make "global" statements at the object level, which leads to...

      3) Object-based decomposition - consider a video scene. You have a background, and several "objects" in the foreground. In theory, it would be nice to encode the background with low-motion assumptions (or constant panning assumptions), and the foreground with higher-motion assumptions. Additionally, picking out the different objects in traditional cel-style animation should let MPEG4 totally kick-ass in compressing animation. In practice, all of the techniques for separating out objects automatically suck royally (how you identify objects is not a matter of the spec, the spec just says that if you've separated out, you can handle them individually and paste them together later). This is MPEG4's biggest unrealized potential. The first implementation with good object decomposition should be a huge improvement over all past attempts at video compression. OTOH, don't hold your breath waiting for good object decomposition--it's a "hard" problem, as in computer-vision hard. Developing even half-way decent object decomposition ought to be good for at least 3 or 4 PhD theses.

      4) MPEG4 is looser. Just in general it leaves more things up to the encoder, such as what quantization tables to use, letting you vary q-levels more drastically, etc. Also, IIRC, MPEG2 only allows for certain fixed ratios of B-frames and P-frames. MPEG4 loosens these restrictions (all the way?) to allow much greater use on B and P-frames. These frames (especially B-frames) tend to be very compressable, although there are signifigent CPU-usage tradeoffs involved. If nothing else, MPEG2 implementations will almost never let more than 8 frames go by without an I-frame, regardless of whether the spec allows more or not.

      5) MPEG4 includes a wavelet-based transform for certain elements. I don't believe that anybody actually uses it for anything, but it is in the spec.

      6) Not a spec difference, but in practice, only MPEG4 uses 2-pass encoding. MPEG2 is heavily used for live stuff (well, 3 seconds delay for the censors plus a second for motion comp), and 2-pass is not an option. 2-pass has been implemented in MPEG2 (indeed, the first work with 2-pass was done with MPEG2), but the idea is relatively new. So most MPEG2 implementations don't do 2-pass, and never will, since all the new development effort is going into MPEG4. Many/most MPEG4 implementations include 2-pass since it lets the coder be much smarter about bitrate allocation, and it is a known technique.

      That just about sums up the major differences between MPEG2 and MPEG4. Oh yeah, and MPEG4's number is 2 higher :)

    9. Re:after working with lots of them by shepd · · Score: 1

      Why didn't they use something like Huffyuv for DV?

      Just wondering, because I find it often gives me a 3:1 compression ratio without any data loss at all.

      The difference certainly would have been worth it for a perfect video stream.

      --
      If you could be told what you can see or read, then it follows that you could be told what to say or think - BoC
    10. Re:after working with lots of them by gerardrj · · Score: 1

      I don't know what you mean by "they".
      If you mean the tester in this article, I have no idea. Why didn't they test any number of codecs (sorenson, MPEG4, DV, ...)
      If you mean the people who developed DV... probably because the codec you describe was not developed when DV was. DV is I think about a decade old now. You also say that the codec "often gives me a 3:1 compression ratio". DV is guaranteed to give you 5:1; no matter what. You can bet the farm on DV's data rate and that is VERY important when writing to tape.

      --
      Article X: The powers not delegated... by the Constitution...are reserved...to the people
    11. Re:after working with lots of them by shepd · · Score: 2, Insightful

      >If you mean the people who developed DV... probably because the codec you describe was not developed when DV was.

      Yeah, I do mean the developers of DV, however this doesn't appear to be the most complex codec to build in the world (if only the author's website was still up) -- I was just wondering why they never thought of this. Then again, at a decade old, I doubt any hardware could have handled it in realtime, so it makes sense that even if they had thought of this scheme they would have dropped it.

      >You can bet the farm on DV's data rate and that is VERY important when writing to tape.

      Ahhh, good point. Didn't think about that one. Thanks.

      --
      If you could be told what you can see or read, then it follows that you could be told what to say or think - BoC
    12. Re:after working with lots of them by Herr_Nightingale · · Score: 3, Interesting

      since MPEG2 requires such a high bitrate for decent looking video to emerge, I can give you five times better quality (for same size video file) using DivX ;-) because Divx ;-) is many times more efficient. Also note that MPEG2 is quite limited, doesn't work nicely with high resolutions, etc.
      The trick to good encoding is in knowing how to use NanDub (or VirtualDub, or VegasVideo, or whatever you use..) and knowing ALL of the various little settings that can be tweaked. The default settings INVARIABLY SUCK, with the quantizer matrix being set for fast, crappy quality video output. The max. quantizers (if using SBC or DivX5) should NEVER exceed 9, for example; however, the default is usually 31! You shouldn't use the default settings and still expect near-DVD quality.

      I'm writing a proper, updated tutorial on SBC and Divx 5 Pro right now, which I will submit to various newsgroups when it's done. In the meantime, check out Doom9.org for a rough idea of how to rip properly. They ignore some pertinent details (ie, filters - esp. contrast filter) but you should get a very good idea of the work involved to produce a decent rip.

    13. Re:after working with lots of them by Alan+Partridge · · Score: 2, Insightful

      "Not a spec difference, but in practice, only MPEG4 uses 2-pass encoding."

      WTF? Never seen a DVD-Video, then?

      This whole test is bullshit because a) all their source material was compressed and b) they left out some of the best GENUINE, commercial codecs. Total waste of time.

      --
      That was classic intercourse!
    14. Re:after working with lots of them by Anonymous Coward · · Score: 0

      I think your wrong, it is zero, proof follows:

      perl -e ' print "mpeg2" / 4, "\n";'

      0

    15. Re:after working with lots of them by benwaggoner · · Score: 2, Informative

      Well, the MPEG-2 part 2 codecs (the one's you've seen so far) are really suped-up versions of the H.263 videoconferencing codecs. It uses a lot of the same concepts as MPEG-2, but tuned for better performance at lower data rates. The new AVC MPEG-4 codec (which is what the 2004 version of this article will likely be about) is way better than both, and not based on either. Lots of whacky new stuff like multiple reference frame (so you can predict parts of the current frame on a frame THREE back, for example. Very nice with muzzle flashes!).

    16. Re:after working with lots of them by benwaggoner · · Score: 2, Interesting

      5x better than MPEG-2? Not a good MPEG-2! A cutting-edge MPEG-2 encoder (try Canopus ProCoder) using 2-pass encoding, and taking advantage of the modes than downloadble files support (like square pixel progressive encoding) could give pretty good results at the data rates the article is looking at - certainly nowhere near 5x worse. MPEG-2's biggest limitation is lack of a deblocking filter, so distracting block artifacts start showing up a lot below a certain point.

      At NAB I demoed a 1280x720 24p 4 Mbps MPEG-2 file, and it looked pretty darn good. Not as good as the best MPEG-4 advanced simple, but it wasn't night and day, more like 2pm and 4pm.

    17. Re:after working with lots of them by evilviper · · Score: 1

      Using mencoder, encode with the maximum bitrate possible. Doing this, you can shrink any MPEG2 video to half it's original size, without any quality loss at all. I suspect that this is probably a lossless process.

      I would also like to say that you have a ridiculous comparison. You are using LOSSY encoding to try and LOSSLESSLY convert MPEG2 video to MPEG4. The only fair way to compare them is to take an original, higher quality video, then encode it into lower-quality MPEG2 and MPEG4 videos.

      It's quite possible (or should I say likely?) that any bugs you've experienced are due to the encoder you've used, not the format itself.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    18. Re:after working with lots of them by Jonner · · Score: 1

      Even worse, the author didn't even mention ffmpeg, whose MPEG 4 video codec seems to be at least as good as (probably superior to) both Divx5 and Xvid. There is a Direct Show filter, so Win32 use should be quite possible. The author probably isn't aware of ffmpeg, since it's been primarily *nix only so far, but if optimizing quality vs. bitrate is desired, ffmpeg should be considered.

    19. Re:after working with lots of them by Jonner · · Score: 1

      That helps my understanding a lot! Thanks. Of particular interest to me is the global motion compensation.

      I've notice that the the scrolling credits at the end of the movie tends to be encoded badly and require disproportionately large bitrates, compared to the rest of the movie. It's occurred to me that the credits are really just a single, tall raster image, instead of a series of frames. Encoding a single JPEG (or even lossless PNG) for the whole credits sequence would result in huge savings. I've started leaving the credits off when I'm trying to fit a movie into a very small space, like one CD-R. Sometimes, I encode just the audio.

      It sounds like using GMC properly, the same type of savings could be gained, while still encoding compliant MPEG-4. What do you think?

  5. Re:Omg by Anonymous Coward · · Score: 0

    Proper ettiquette would have been to post a mindless blurb referencing FP, or First Post. But you wouldnt have gotten it anyway so youd just look stupid.

  6. heh by Anonymous Coward · · Score: 5, Funny

    test 1: The Matrix
    test 2: Saving Private Ryan
    test 3: Futurama

    Heh, the pinnacle of humankind's moving image creations

    1. Re:heh by Wheaty18 · · Score: 3, Informative

      The DVD's of The Matrix and SPR are pretty well done, transfer wise.

      I agree that some better choices could have been made though (keeping in mind this is a video test only), such as:

      - Terminator 2: Ultimate Edition.
      - LOTR: Fellowship Extended DVD.
      - Star Wars EP 1 or 2.
      - Bridge on the River Kwai (awesome 2.40:1 transfer).
      - Lawrence of Arabia
      - Doctor Zhivago

      The last 3 are about as visually stunning as movies can get.

    2. Re:heh by Hast · · Score: 1

      I've heard good things about Fifth Element as well. That it's supposed to be very high quality. There's a "platinum edition" or something available as well with even better details.

    3. Re:heh by Anonymous Coward · · Score: 0

      test 1: The Matrix
      test 2: Saving Private Ryan
      test 3: Futurama


      test 4: ???
      test 5: Profit!

    4. Re:heh by zonker · · Score: 0

      that's the superbit version you are referring to. there is a difference yes, but depending on the disc it may only be worth the extra cost for a/v buffs like myself cuz people without good equipment to watch it on are losing out on their picture and sound as it is... i've got the 5th element superbit disc btw (here's the regular one).

  7. For my fellow ADD'ers by qaffle · · Score: 1, Redundant

    In conclusion: When encoding regular movies, if you look for a quick and dirty average solution DivX5 is your fix. If you're an SBC guru, want maximal details at high speed you can still stick to SBC, if you want details and are not worried about the alpha status and speed you should give XviD a shot. DivX5 and XviD also offer standalone playback capability on selected devices. If you don't worry about details too much and prefer to remain almost blockfree you should give RV9 a shot, or alternatively WMV9. Interestingly, the lead developer of XviD has offered to send me a build that would perform just like RV9.. I might take up that offer one day when I'm bored.

    1. Re:For my fellow ADD'ers by cscx · · Score: 5, Funny

      For my fellow ADD'ers

      Yes, this comparison of video codecs is quite HEY LOOK A GUY ON A BICYCLE!

    2. Re:For my fellow ADD'ers by rmull · · Score: 0, Troll

      ooh! shiny! *poing*

      --
      See you, space cowboy...
    3. Re:For my fellow ADD'ers by Verteiron · · Score: 1

      Fortunately, most of us ADD'ers have a decent sense of humor, too.

      --
      End of lesson. You may press the button.
    4. Re:For my fellow ADD'ers by edo-01 · · Score: 1
      For my fellow ADD'ers

      Yes, this comparison of video codecs is quite HEY LOOK A GUY ON A BICYCLE!

      ObSimpsons ADD reference:

      "hey! That kid has bosoms!"

      "Don't chase me! I'm full of chocolate!"
      etc etc...
    5. Re:For my fellow ADD'ers by Anonymous Coward · · Score: 0

      Probably someone who saw that your joke was the same as the parent.

      Good thing you responded 'anonymously'. Wouldn't want you to lose any karma with this flamebait whiney horseshit.

      If you're going to restate the same joke, try to make it better, not worse.

    6. Re:For my fellow ADD'ers by Anonymous Coward · · Score: 0

      Pah. A Kiki reference and he gets modded down?!

  8. Comment removed by account_deleted · · Score: 5, Funny

    Comment removed based on user account deletion

  9. Re:Omg by Anonymous Coward · · Score: 1, Funny

    Yeah and you had to go and ruin it, good job.

  10. the search for better porn by nsda's_deviant · · Score: 0

    and the search for better porn continues! with higher bit encoding and even smaller file sizes we can all be happier with more porn per gigabyte. hopefully the prevailing codec (regardless of the best quality) will be license free & open source for more cross platform compatability. but seriouslly, ive been sitting around for 3 days compressing raw video and anyone who's done this knows what a pain in the ass it is. better codecs hopefully will mean more compatability in the future. ever wanted to show your kpop musicvideo to your friend on your cellphone?

    im flamebait for pushing for size but its true about size not being everything.

  11. Why use Jpeg? by Nutt · · Score: 5, Insightful

    Along a few of the pictures he says along the lines of "jpeg helped this codec. In this one it hurt this codec.." Granted he probably wanted to save bandwidth but why couldnt he post zipped up uncompressed files to download? Also, I think a single image with side by side comparisons of parts of each scene would be nice as I cant flip back and forth between all the pictures and remember what I liked and disliked about them all.

    1. Re:Why use Jpeg? by zakezuke · · Score: 2, Informative

      Right click, save picture as.

      View in your favorite slideshow program.

      --
      There is no sanctuary. There is no sanctuary. SHUT UP! There is no shut up. There is no shut up.
    2. Re:Why use Jpeg? by stephenb · · Score: 1

      Or just use png. Sure it'll be bigger than jpeg, but not by much, and for an image review article, you really should use a lossless format.

    3. Re:Why use Jpeg? by Nutt · · Score: 1

      Duh. Why didnt I think of that :P

    4. Re:Why use Jpeg? by wheany · · Score: 1

      The first thing I did when I opened the article was check the "properties" of the first screenshot. When I saw that it was JPEG insead of PNG I immediately thought the review sucks.

      It's not like PNG is a new image format...

    5. Re:Why use Jpeg? by Draigon · · Score: 1

      "The first thing I did when I opened the article was check the "properties" of the first screenshot. When I saw that it was JPEG insead of PNG I immediately thought the review sucks."

      That's why reviews typically come with a stringing together of letters and words called sentences. Try reading those things like you are for this one and it might work out better for you.

      --
      -Rabbit
    6. Re:Why use Jpeg? by wheany · · Score: 1

      Of course I read the review. But if the purpose of the review is to compare the image quality of the codecs, why would you use a lossy format to show the screenshots. Especially since he noticed the problems himself.

      It would have been better to not show any screenshots at all than to show screenshots that distort the quality of the tested codecs.

    7. Re:Why use Jpeg? by sffubs · · Score: 2

      Does the phrase 'slashdotted' mean anything to you?

      -s

      --
      ݼ)s$æúßðíÊ'öX'îò5^àûßQç£
    8. Re:Why use Jpeg? by wmansir · · Score: 2, Insightful

      If this were a still image compression test I would agree that using a lossy format for presentation would be completely unacceptable. But, as Doom9 stated several times in the review, the real judgment comes from watching these codecs in motion. As such the screen-caps are merely aids which, while useful in demonstrating differences, are not meant to be used solely to determine the quality of the codec. Unfortunately, offering clips to be downloaded is out of the question for practical and legal reasons.

      It would be nice to use a lossless format, but as it is the codec reviews take up a large amount of the sites bandwidth (even without slashdot's help). In addition to hosting the codec comparisons, many guides (in 9 languages), and an active forum, Doom9 also hosts a large library of video backup software. All of this is done without commercial sponsors, advertisements or fees.

    9. Re:Why use Jpeg? by bogado · · Score: 1

      Because the only way to compare the codecs would be putting the movies available. A single frame can be misleading also, since many (all?) codecs uses information from other frames to encode the next one usualy some frames can be better encoded then others .

      If there is a problem already, why not save every ones bandwidth and use jpeg. You already have to trust the results of the author, even if he had posted pngs.

      --
      []'s Victor Bogado da Silva Lins

      ^[:wq

    10. Re:Why use Jpeg? by grmoc · · Score: 1

      Actually, had this been done, oh say 5 years ago, that would have fallen into fair-use, so long as the clips were relatively short (i.e. a smal part of the work)
      IANAL

    11. Re:Why use Jpeg? by wheany · · Score: 1

      You already have to trust the results of the author, even if he had posted pngs.

      But he basicly said that "Okay, this JPEG looks better than it should" and "This JPEG does not do the codec justice" and so on. If we are already trusting the author, why post screenshots at all. Especially when they are not accurate.

  12. music codecs by goombah99 · · Score: 2, Insightful
    speaking of codecs i've been doing my own anaylys of the apple acc and mpw and aiff formats. I've been converting acc to Aiff then to mp3 by two methods 1) use audio hijack to grab the itunes output and 2) use imovie to convert the acc to aiff.

    what is odd is that while the final mp3 shows only 12% rms distortion (actually that's a fair bit if you're an audiophile) the intermediate AIFF shows massive added noise when I convert by imovie. this added noise is spread over the spectrum but has significant components at 10Khz. the final mp3 converted by method 1 or 2 are simmilar and show the same level of distortion 12% rms.

    being a signals processing expert but not a codec expert I'm totally at a loss to explain how distortion can show up in the aiff then vanish when reconverted to mp3 (or back to ACC). this makes no sense, and is actually impossible from an information from a (naive) signal/noise point of view unless the noise/distortion is either predictable or out of band form the codec's point of view. never-the-less this is reproiducible.

    I'd like to publish this analysis on slashdot but first want to clear this up.

    anyone got a clue?

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:music codecs by eht · · Score: 5, Informative

      Real easy answer, the distortion is part of what mp3 just throws away, it's actually quite a lossy codec in some areas.

      Like you said, out of band from the codec's point of view is the most likely answer I can give without playing with the files myself.

    2. Re:music codecs by viper66 · · Score: 2

      so you are converting a lossy format to lossless to lossy? what is the point of that?

    3. Re:music codecs by sacrilicious · · Score: 1
      I intuitively lean towards the "out of band per mp3" theory, but I don't have a genuine good explanation as to why the noise would surface in the AIFF. Seems to me that the AIFF should consist of the very same bits that an mp3 player would feed to the sound hardware. And, that encoding a noisy AIFF to mp3 should relatively faithfully reproduce that noise. The sounds that mp3 compression remove are generally not audible; the related psycho-acoustic model is geared towards deciding what sound subcomponents will be inaudible because they are masked by other tones, which then allows the codec to quantize the inaudible components to whatever values would most assist the compression.

      (digression) In fact, there should be some heuristic way to examine an mp3 file and determine the psychoacoustic model it used, and to then use this information to re-encode an mp3 (or go from AAC to mp3) without much degradation at all.

      --
      - First they ignore you, then they laugh at you, then ???, then profit.
    4. Re:music codecs by Anonymous Coward · · Score: 0

      One would think that given the proliferating number of codecs that it would be worth addressing he re-coding problem. codecs ought to make an effort to recognize the source of the input and adapt to its peculiarities rather than assuming what the user is feeding in is the original wav file.

    5. Re:music codecs by eht · · Score: 1

      Oh come on, jeez, why was 4 mod points wasted on me agreeing with the parent of the parent of this
      post

      1, maybe 2 I could see used, but 4?

      Where's my redundent or something similiar, all I did was confirm what the guy was thinking, and it's not like I even posted a link to prove that he was correct, I just stated it, the metamods really should have caught it too.

  13. insta summary by citroidSD · · Score: 0, Redundant

    for those short on time:

    In conclusion: When encoding regular movies, if you look for a quick and dirty average solution DivX5 is your fix. If you're an SBC guru, want maximal details at high speed you can still stick to SBC, if you want details and are not worried about the alpha status and speed you should give XviD a shot. DivX5 and XviD also offer standalone playback capability on selected devices. If you don't worry about details too much and prefer to remain almost blockfree you should give RV9 a shot, or alternatively WMV9. Interestingly, the lead developer of XviD has offered to send me a build that would perform just like RV9.. I might take up that offer one day when I'm bored.

    For animated features, the two proprietary solutions deliver good results with XviD pulling slightly ahead.


    (because you all read the article right...)

  14. Mirror available by paulproteus · · Score: 5, Informative

    To avoid Slashdotting the poor server, a mirror is available here:

    mirror.

    --
    |/usr/games/fortune
    1. Re:Mirror available by grendel20 · · Score: 1

      seriously...... i don't even want to imagine his bandwidth bill... and he even brought it upon himself....... craziness!

      grendel20

    2. Re:Mirror available by blosphere · · Score: 1

      They're not that poor servers, and they handle the load quite easily. load averages: 0.06, 0.10, 0.08

  15. If you want the results... by Slurpee · · Score: 0, Redundant

    From the site...

    Conclusion

    Once again we've come to the last page of a codec comparison and are asking the dreaded question "which is best?". I think we can rule out two codecs right away: mpegable AVI because it's currently unusable, and 3ivX because it returned clips with serious quality degradation. So we're left with 5 out of 7.

    I cannot shake off the feeling that DivX5 hasn't made so much progress since the last comparison. It still has a tendency to smooth out details and the only major news is an application that allows you to manually adjust bitrate settings and multipass encoding (the benefits if this is still under dispute if you follow the discussions in the DivX5 forum). DivX5 is certainly a stable product and is rather easy to use and the fact that there are DivX certified hardware devices will certainly help to increase its proliferation, but it fails to claim first place in any scenario. It also didn't deliver a too impressive performance in the animated movie scenario.

    RealVideo9 has not made any significant progress since the last test, either. I did never notice the bugs they were having during my last test, so the new release mostly came down to speed improvements for me, and the first test on animated materials. Personally I prefer codecs that retain more details than RV9 but that's just a personal preference. If "no blocks" is all you care about RV9 might just be your thing. Don't forget that it's proprietary (chances that any standalone player will eventually play it are extremely small), that it's not very editable and that your audio format choice is rather limited as well. Last but not least its rate control still leaves a lot of room for improvement.

    SBC seems to finally have found its match. It has to share the "most details" throne with XviD while clearly being beaten when it comes to animated features.

    With WMV9 Microsoft has finally managed what they've tried for almost 3 years (I still recall my first codec comparison... I tested WMV7 and found that it did not perform better - in fact rather worse - than plain DivX3 at the time), that is join the top league. With its financial power Microsoft might be able to get some hardware support, but I still think it's more likely that a real standard (MPEG-4) will make the race. In any case, WMV9 delivered a reasonable performance in all scenarios, except for rate control and speed.

    Last but not least, XviD has made a big step forward. It was able to catch up with DivX3 on the detail level and the only things I can criticize are QPel effects (which really aren't that visible when you use the built-in postprocessing, which by the way requires that you get the best CPU available), the two glitches I found (and which I've already submitted to the developers, hoping that they will soon be fixed) and that fact that its new features have decimated encoding speed. XviD playback is also supported by most hardware DivX/MPEG4 players so you might be able to play your rips on a standalone device which is certainly a bonus (make sure not to use any modulated quantizers though, they are not specs compliant).

    In conclusion: When encoding regular movies, if you look for a quick and dirty average solution DivX5 is your fix. If you're an SBC guru, want maximal details at high speed you can still stick to SBC, if you want details and are not worried about the alpha status and speed you should give XviD a shot. DivX5 and XviD also offer standalone playback capability on selected devices. If you don't worry about details too much and prefer to remain almost blockfree you should give RV9 a shot, or alternatively WMV9. Interestingly, the lead developer of XviD has offered to send me a build that would perform just like RV9.. I might take up that offer one day when I'm bored.

    For animated features, the two proprietary solutions deliver good results with XviD pulling slightly ahead.

  16. nice article, but.. by Squarewav · · Score: 5, Interesting

    there is lots of things left out like bitrate/quality comparisons, some codecs, like realvideo do a much better job at low bitrates (200k/s) then say xvid at the same bitrate.

    1. Re:nice article, but.. by tortap-0 · · Score: 1

      No doom9 is a DVD backup resource. What matters is getting a DVD onto one or two CDs. Streaming and low bitrate might have their applications but ripping movies is not one of them.

  17. many things left out... by pinqkandi · · Score: 3, Informative

    there are a lot of common codecs left out of here, for example Sorenson. (yeah yeah, can't view on Linux, but it's popular and quite good)

    1. Re:many things left out... by TenPin22 · · Score: 4, Informative

      Yes you can view ALL sorenson material on linux, try the latest STABLE version of mplayer or the latest beta10 of xine-lib.

    2. Re:many things left out... by Jeffrey+Baker · · Score: 1

      I'm pretty sure you mean you can view all Sorenson content on Linux on ia32 CPUs using Win32 shared libraries, which is quite different from your statement.

    3. Re:many things left out... by TenPin22 · · Score: 1
      ok ok :)
      mplayer /home/video/trailers/matrix\ reloaded.mov
      ...
      Opening video decoder: [qtvideo] Quicktime Video decoder
      External func COMCTL32.dll:17
      External func COMCTL32.dll:16
      QuickTime6 DLLs found
      QuickTime.qts patched!!! old entry=0x6693b330
      ...
      Still, its better than nothing as I would hazard a guess that most people that run linux have a ia32 box. It does require a decent machine to play the ultra hi res matrix reloaded trailer though. My duron 950 *just* manages it, anything less will stutter.
    4. Re:many things left out... by Anonymous Coward · · Score: 0

      Try the "ULTRA" one then. It crushed my 1900xp in linux and my friends Athlon 1400 in windows. killer.

      -AX

    5. Re:many things left out... by TenPin22 · · Score: 1

      If you read my post carefully it says:

      "ultra high res"

      My Duron 950 manages it with 1 teeny stutter at the bit where neo swings the pole round. My friends Duron 950 with only 100Mhz FSB (Mine is 133) stutters alot.

      Not sure why your AthlonXP would be having any problems.

    6. Re:many things left out... by snol · · Score: 1

      it's true you can view sorenson on mplayer, and even get most of the common audio codecs to work, but good luck getting a good A/V sync. Be prepared to play with your keypad + and - keys for a good long time while watching that Animatrix episode.

    7. Re:many things left out... by RoLi · · Score: 1

      Popularity = Chances of seeing it on P2P networks = about zero for Sorenson

    8. Re:many things left out... by Alan+Partridge · · Score: 1

      my 450Mhz PowerMac G4 plays it under QT6 at about 85% CPU load.

      --
      That was classic intercourse!
    9. Re:many things left out... by pinqkandi · · Score: 1

      Syncing is terrible, and the actual playing of it is quite bugging. Yes, you can "view" it, but I'd say the actual enjoyment level when attempting to is low.

    10. Re:many things left out... by Jeffrey+Baker · · Score: 1

      Damn. My PowerBook G4 400MHz w/ ATI Rage 128 Mobility graphics cannot play this trailer under OS X. It almost can, but then it starts dropping frames pretty liberally. I had to install mplayer on my Athlon 1400MHz to see it.

    11. Re:many things left out... by Jeffrey+Baker · · Score: 1

      That actually gives me a good idea. I think it should be possible to load and use OS X's libraries under Linux on PPC. At least, I cannot think of any reasons why this would be more difficult than loading and using Win32 DLLs on Linux x86.

    12. Re:many things left out... by Alan+Partridge · · Score: 1

      well, desktops ALWAYS kill notebooks, you should know THAT by now...

      --
      That was classic intercourse!
    13. Re:many things left out... by Jonner · · Score: 1

      I can play SVQ3 (Sorensen Video 3) encoded video from Quicktime movies quite well with MPlayer. It uses the Windows Quicktime library, so it only works on x86. MPlayer's Quicktime demuxer is lacking some features, so sync is off in some movies (like the Animatrix shorts), but it can be fixed by setting the offset (11 seconds for the Animatrix ones).

      Oddly, MPlayer drops fewer frames playing the huge (1000x540) Matrix trailer than the Quicktime player on Win98 on my limited 800 MHz Duron machine. There was no A-V sync problem. Also, re-encoding the video to MPEG 4 using ffmpeg's libavcodec through mencoder (part of MPLayer) allows me to watch the trailer on the same machine with almost no noticeable loss in quality.

      MPlayer is a real *nix application: it's primarily command-line and terminal based, extremely flexible and powerful, and has a steep learning curve. Compiled with all the libraries it wants, it can play almost any movie you throw at it without much help from the user, but it requires reading the documentation and experimentation to get the most from it, especially for encoding or transcoding. Also, since it does depend on many external libraries, you may have to compile it yourself, especially since some of the codecs (SVQ3 and RealVideo, for instance) it uses are proprietary (but free beer), so their distribution may not be possible in binary-based GNU/Linux distributions.

  18. Bink? by Anonymous Coward · · Score: 4, Interesting

    I keep hearing good things about Bink. Anyone have any experience with it, one way or the other? Seems to be used in a lot of games.

    1. Re:Bink? by Necroman · · Score: 2

      One thing that I noticed was Blizzard used to use this Video Codec when they released trailers of their games and such. This would make me believe that they also used Bink for their in game footage. But with the release of Warcraft 3, all their in-game movies are encoded with DivX....

      Who knows.

      --
      Its not what it is, its something else.
    2. Re:Bink? by Inf0phreak · · Score: 1

      Personally, I don't think that Bink is all that amazing. For one, it's Windows-only (IIRC, Bioware learned that the hard way while working on NWN for linux) and apart from that, I don't think that its quality is all that great. I clearly remember that the detail on the movies in Diablo 2 was less than impressive and there was serious banding whereever there was a slight gradient - as if the codec only allowed a low number of different colours in any one area.

      --
      ________
      Entranced by anime since late summer 2001 and loving it ^_^
    3. Re:Bink? by Halo1 · · Score: 1

      It's Windows and Mac (both classic and X). I think the main reason that it is (was) used a lot by game developers, is that it's easy to license (for reasonable terms), easy to include in your code and it doesn't require a separate install (it's just a shared library that you link to your program, unlike, say, Quicktime).

      --
      Donate free food here
    4. Re:Bink? by BlueArchon · · Score: 1

      Bink and Smacker (a older codec from the same company) are used in a lot of Blizzard games, like Warcraft I&II, Starcraft, Diablo I&II

    5. Re:Bink? by BlueArchon · · Score: 1

      Bink is a old codec, doesn't really stand up in quality to mpeg-4 codecs. It has some advantages to like requring minimal cpu-power to decode. It runs fine on a old pentium 90, try to watch a mpeg-4 on that...

      And it's used a lot in games, because it was designed for games.

    6. Re:Bink? by benwaggoner · · Score: 2, Informative

      I've done a lot of Bink encoding (Bink is featured in one of the tutorials in my book).

      Bink's adavantages are a really mature, widely ported (lots of consoles, Mac, Windows, Linux), fast, and highly-featured API. However, its internal codec isn't really THAT great in terms of compression efficiency (bang for the bit). It's fine for CD-ROM games where having a rich, fast, stable video playback system is more important than keeping space to a minimum. But I certainly wouldn't use it for content to be downloaded from the web.

    7. Re:Bink? by WWWWolf · · Score: 1

      I've noted the quality vs file size of Bink is pretty good, and I'm not surprised that game developers love it. I also like the Rad Video Tools application, because it can transform most game movie clips (including Smacker, Bink and QuickTime) to AVI, with some minor processing too - really convenient...

      Yet, even when the quality is pretty good, I'd hesitate to use Bink for anything because almost no player supports it - there's the featureless Bink player and that's that. Then again, it seems it was never intended for any other purpose than game cutscenes and such, where good watching UI is irrelevant.

      <linuxrant> And RAD folks should better tell us soon that there's a port to Linux so that Bioware can give us the True Client. </linuxrant>

    8. Re:Bink? by HuguesT · · Score: 1

      I was under the impression that Bink was not available under Linux. A quick google returns nothing of interest. Do you know any different?

    9. Re:Bink? by benwaggoner · · Score: 1

      Ach, you're right.

      http://www.radgametools.com/binksdk.htm

      I had thought they were working on that, but it appears not.

  19. quite the wrong way to go about it by Trepidity · · Score: 4, Interesting

    A signals-processing attempt to measure audio quality isn't useful in general, and especially when dealing with lossy codecs. The various measured distortion values aren't really interesting -- the only relevant result is audio quality. As such, the only interesting tests are blind listening tests.

  20. Re:Omg by Adam9 · · Score: 0

    Maybe hell froze over and everyone read the long and detailed article..?

    Nah.

  21. 3ivx and encoding by shepmaster · · Score: 5, Interesting

    Well, if you have read the article, you can see that 3ivx (not 3ivX as the article states :) ) does not fare well. However, 3ivx does have one thing that the others do not have whatsoever... it was built from scratch for QuickTime compatability. The reason that this is a good thing is the versatility you can achieve with a QuickTime movie. I have personally ripped and encoded an anime movie, and was able to put both English and Japanese, as well as English subtitles, all controlled by a flash menu. The few OGMs I have seen have similar capabilites, but nothing quite as nice as QuickTime.

    The video quality is actually pretty damn good, IMO. I suggest trying it out for yourself. Check my webpage for more relevant information.

    1. Re:3ivx and encoding by Jameth · · Score: 1

      Actually, you can do that with DivX as well, it just requires a player which supports it, and no major players do (as far as I know). The main advantage with the QuickTime subs is that most things off of Linux know how to support what QuickTime does, so they're actually useable.

    2. Re:3ivx and encoding by evilviper · · Score: 1
      What is it about OGM that makes it "nothing quite as nice as QuickTime"? Hey, with OGM you can use just about any video/audio format you want, no quicktime limitations to worry about.

      The fact that Vorbis audio is standard in OGMs is good enough for me. Quicktime still doesn't have built-in support for Vorbis, AFAIK.

      Also, 3ivx isn't your only option. You could just as easily have used VP3, and would have had no licensing/patent problems to deal with. Not to mention that it's almost universally accepted that VP3 is better than anything else at low bitrates.

      all controlled by a flash menu.

      Sometimes I feel like the only one on the planet that despises everything about flash... DVD nav on a PC (or anything with a mouse, rather than arrow-keys) is incredibly painful due to the use of Flash... And that's just one of it's common problems. Why oh why hasn't something better come along?
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    3. Re:3ivx and encoding by Jucius+Maximus · · Score: 1
      "However, 3ivx does have one thing that the others do not have whatsoever... it was built from scratch for QuickTime compatability."

      The guy doing the test used poor settings for 3ivx. He set minimum quality at QP12 which is embarassingly low. I generally use at least QP5. No wonder the images turned out badly. This was not helped by the fact that Happy Machines (the maker of 3ivx) did not respond to the reviewer's request for config info.

      If 3ivx had been set up with optimised settings, it would have faired much better.

    4. Re:3ivx and encoding by krel · · Score: 1

      Just thought I'd clarify, QP12 is ridiculously low, and ensures that the quality will dip to that level at some point. It occurs to me that the average bitrate feature of the later versions of free 3ivx don't have all the kinks out of it yet. Any 3ivx veteran can tell you that you'll get crappy quality on absolutely anything at QT8 or higher. QT5 is as high as you should go for a 300kbit/s episode of the simpsons, QT2 would have sufficed for the Matrix.

      --
      karma: ouch!
  22. Sigh, Quicktime and MP4-video? by 2nd+Post! · · Score: 3, Interesting

    I wish they tested that too, the encoder isn't free, but it is cheap. Then the question is, is the price worth it?

    1. Re:Sigh, Quicktime and MP4-video? by RzUpAnmsCwrds · · Score: 3, Informative

      Quicktime is a container format (like AVI), not a codec.

    2. Re:Sigh, Quicktime and MP4-video? by Dynedain · · Score: 4, Informative

      I believe he meant the Quicktime MPEG-4 codec...which is specific only to quicktime (and is quite good IMHO)

      --
      I'm out of my mind right now, but feel free to leave a message.....
    3. Re:Sigh, Quicktime and MP4-video? by 2nd+Post! · · Score: 3, Informative

      mov is a container format, like avi.

      Quicktime is a framework, with encoding, codecs, playback, and other features.

      Quicktimes also has an mp4 implementation, as well as Sorenson, h264, mpeg2, and others.

    4. Re:Sigh, Quicktime and MP4-video? by TheRaven64 · · Score: 1
      mov is a container format, like avi.

      Quicktime is a framework, with encoding, codecs, playback, and other features.

      Quicktimes also has an mp4 implementation, as well as Sorenson, h264, mpeg2, and others.

      And don't forget that mov is the official container format for MPEG-4.

      --
      I am TheRaven on Soylent News
    5. Re:Sigh, Quicktime and MP4-video? by benwaggoner · · Score: 2, Informative

      The QuickTime MPEG-4 encoder is actually pretty bad (single pass only, speed instead of quality tuned). Sorenson Squeeze, Envivio Encoding Station, and plenty of other tools can make a QuickTime-compatible MPEG-4 file without a hitch, and with much better compression efficiency.

  23. Which formats are the most durable? by astrashe · · Score: 5, Interesting

    If you wanted to make video files that will have the best chance of being viewable in 10 or 20 years, what are the best file formats and codecs?

    Are any file formats and codecs likely to be visible?

    1. Re:Which formats are the most durable? by SpikeSpiff · · Score: 1
      ONLY on BEOS!

      Seriously, I think that the persistence of Atari video cartidges and C64 hackers proves that we will have access to this stuff, at least on a hobbyist basis, for a long time.

      --
      "All that is required for evil to triumph is for good men to do nothing." - Edmund Burke
    2. Re:Which formats are the most durable? by Raster+Burn · · Score: 5, Informative

      Fully standards compliant mpeg4. It's not going to look nearly as good as XviD or DivX5, but it will be "durable."

    3. Re:Which formats are the most durable? by Anonymous Coward · · Score: 0

      WMV.

      The likelyhood of MS going away in the next 20 years is aprroxiamtely 0.

    4. Re:Which formats are the most durable? by Monkelectric · · Score: 0, Offtopic
      If you wanted to make video files that will have the best chance of being viewable in 10 or 20 years, what are the best file formats and codecs?

      Puhhhhhleeeaasseee. Every geek knows the porn cycle goes like this: Download Porn, Masturbate, Mom coming for a visit, Delete Porn. Download porn, masturbate, mom coming for a visit, delete porn...

      --

      Religion is a gateway psychosis. -- Dave Foley

    5. Re:Which formats are the most durable? by Anonymous Coward · · Score: 1, Funny

      Actually when your mom visits, I don't delete my porn collection. She rather enjoys it.

    6. Re:Which formats are the most durable? by Kris_J · · Score: 3, Insightful
      If you wanted to make video files that will have the best chance of being viewable in 10 or 20 years, what are the best file formats and codecs?
      Burn a Video CD or DVD. If you can produce a disk that will play on 90% of the stand-alone (DVD) players in any given electronics store then you'll probably still be able to play it in 20 years time, so long as the media hasn't degraded.
    7. Re:Which formats are the most durable? by Sangui5 · · Score: 4, Informative

      Both XviD and DivX5 can be fully standards complaint mpeg4. They offer a few (very few, optional, generally experimental) features which are outside the standard, but for the most part, they *are* mpeg4. Some of the seemingly basic differences between XviD and DivX5 is that mpeg4 has a lot of features which are not mandatory for encoders, and (for the longest time at least) they implemented different sets of optional features. And while the XviD and DivX5 teams are both attempting to implement as many of the fancy features as possible, they haven't polished them all off yet.

      To repeat: DivX5 and XviD are both implementations of the core MPEG4 specification, plus some set of optional features which are included in the MPEG4 specification, plus an extra or two which don't really make any quality differences (yet).

    8. Re:Which formats are the most durable? by Wesley+Felter · · Score: 1

      Unfortunately, most people use XviD and DivX5 with AVI instead of the standard file format (MP4) and MP3 instead of the standard audio codec (AAC). But they're getting closer.

    9. Re:Which formats are the most durable? by WasterDave · · Score: 1

      MPEG-2, hands down.

      Dave

      --
      I write a blog now, you should be afraid.
    10. Re:Which formats are the most durable? by Graspee_Leemoor · · Score: 1

      " If you wanted to make video files that will have the best chance of being viewable in 10 or 20 years, what are the best file formats and codecs?"

      I am concerned about this too. Just imagine the chaos in 20 years or so and we're trying to play back video with all these different MPG4 codecs with different versions etc.

      My advice is to use xvid because YOU CAN GET THE SOURCE. This is the most important thing in the world because in the "Mysterious Future" (tm) you then won't have to have a Windows x86 emulator to play the video from some dusty old binary, you can tweak it a bit and compile on your shiny new MysteriousFutureBox and it will work.

      graspee

    11. Re:Which formats are the most durable? by RoLi · · Score: 1

      Xvid, because it is the closest to the official MPEG4 standard and open source (and OSS never dies).

    12. Re:Which formats are the most durable? by chefbimbo · · Score: 1

      Mhh what does your mon on your machine, anyway?

    13. Re:Which formats are the most durable? by Alan+Partridge · · Score: 1

      yeah, I mean they've done such a good job of supporting .AVI, haven't they?

      --
      That was classic intercourse!
    14. Re:Which formats are the most durable? by BlueArchon · · Score: 2, Informative

      I use huffyuv to archive my videos, it's a quite simple lossless codec with the source code available. If it dies it shouldn't be too hard to write a own decoder to it after 10 years...

      Only disadvantage is the size of the videos, it only compresses to about 40% of the uncompressed original.

    15. Re:Which formats are the most durable? by TheRaven64 · · Score: 2, Informative
      AVI instead of the standard file format (MP4)

      Actually, the 'official' container format for MPEG-4 is Apple's .mov format used in QuickTime. .MP4 files are usually just raw MPEG-4 bitstreams dumped into a file with no real container format.

      --
      I am TheRaven on Soylent News
    16. Re:Which formats are the most durable? by benwaggoner · · Score: 1

      MPEG-1 playback will certainly will be around until the end of time. MPEG-4 will probably be in the same position in a few years. I'd probably stick to ISMA complaint, using Simple Visual for video and AAC-LC mono or stereo for audio. Those files will play in QuickTime, RealOne (on windows), MPEG4IP, and other players today, and in the future. And MPEG4IP is even open source.

    17. Re:Which formats are the most durable? by astrashe · · Score: 1

      What do you think about the durability of MPEG-2? I notice you said that MPEG-1 would last, and that MPEG-4 would probably turn out the same way, but you didn't say anything about MPEG-2.

      I know (ie., I've read) that DivX5 and Xvid are both based on MPEG-4, as are some codecs that MS distributes, but I'm not sure I understand why they don't seem to interoperate, and how that affects durability. If I have Divx5 installed on a machine, it won't play Xvid encoded AVI files, and vice versa.

      I don't know if the problem is that they're really incompatibile, or if it's a consequence of my creating .avi files instead of .mpg files, and the .avi format insisting on a certain codec.

    18. Re:Which formats are the most durable? by benwaggoner · · Score: 1

      MPEG-2 will last, but software decoders for it aren't nearly as ubiquitous as for MPEG-1. So if archiving content that doesn't need MPEG-2 (which means no interlacing), I'd go for MPEG-1. But if it does have interlacing, go for MPEG-2.

      I don't think that .avi solutions are good for the long term. it isn't an ISO standard, and also not very good. AVI is already a legacy format outside of the ripping community. I'd go for a real .mp4 file.

    19. Re:Which formats are the most durable? by Petteri+Kangaslampi · · Score: 3, Informative
      Actually, the 'official' container format for MPEG-4 is Apple's .mov format used in QuickTime. .MP4 files are usually just raw MPEG-4 bitstreams dumped into a file with no real container format.

      This is incorrect. MP4 is a container file format, originally based on the QuickTime .MOV format. Google: mp4 file format, or see ISO/IEC 14496-1, "Information technology - Coding of audio-visual objects - Part 1: Systems" (MPEG/4 systems specification).

    20. Re:Which formats are the most durable? by benwaggoner · · Score: 1

      Actually .mp4.mov. The MPEG-4 file format is based on QuickTime, but they made some changes and enhancements that broke backwards compatibility. QuickTime provides a transparent conversion for apps that use their own API, but other .mov tools will need an update to use .mp4.

    21. Re:Which formats are the most durable? by Surt · · Score: 1

      Unfortunately, evidence is beginning to suggest that very little DVD media will make it past the 15 year mark, which is pretty sad for people building movie collections.

      --
      "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
    22. Re:Which formats are the most durable? by evilviper · · Score: 1
      Burn a Video CD or DVD. If you can produce a disk that will play on 90% of the stand-alone (DVD) players in any given electronics store then you'll probably still be able to play it in 20 years time

      First off, I don't think DVDs can be played in 90% of players available in China... VCDs on the other hand, are pretty much universally compatible.

      Second, there are no guarantees in life. The MPAA could force all manufacturers who want to license CSS, to disable playing of non-encrypted videos... That means your VCDs would suddenly not be supported in the future.

      Or, maybe the next generation of DVD will be based on VP3/Theora. Then, since it isn't MPEG-based, it'll cost extra to get MPEG1/2/3/4 decoding, and most manufacturers will probably just drop MPEG completely.

      I say, when digital TV becomes a reality, any computer can become your video/audio player... Then, you can have any codecs you want, for as long in the future as you want. I hear Nvida cards have Linux drivers that do decent TV-out.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    23. Re:Which formats are the most durable? by Cyno · · Score: 1

      No shit. Most people use xvid or divx with AVI instead of the standard file format (ogm) and mp3 instead of the standard audio codec (ogg).

    24. Re:Which formats are the most durable? by kasperd · · Score: 1

      Fully standards compliant mpeg4. It's not going to look nearly as good as XviD or DivX5, but it will be "durable."

      When considering durablity the physical media format is much more important than the encoding format. If your physical media is durable any encoding will be durable. Actually finding a decoder is another issue, having decoder source on the media together with the movie improves the chances. When XviD or DivX is called less durable it is AFAIK because they are often recorded with less error correction on the physical media. If you have more error correction and allow yourself to spend two medias on each film rather than one, your chances of not loosing the data improve. If you finally XOR the two media together and write the result onto a third media your chances are very good.

      --

      Do you care about the security of your wireless mouse?
  24. It's ALL about by CptChipJew · · Score: 0, Redundant

    original AVI!

    --
    Vonal Declosion
    1. Re:It's ALL about by Anonymous Coward · · Score: 0

      AVI is just an encapsulation format, not a codec.

  25. MPEG1, still the best by Anonymous Coward · · Score: 4, Interesting

    All these years and MPEG1 is still the only truly universal video format.

    1. MPEG1 is not encumbered by patent problems as MPEG2 and 4 are. http://www.mpegla.com Thus it is effectively free-as-in-beer by default.

    2. MPEG1 is playable everywhere from the old Solaris and SGI boxen to the newest PCs.

    3. No finding out after the fact that the .mov or .avi you downloaded requires a codec you don't have.

    4. It is not a tool to let Microsoft, Sorenson, or Real dominate all online video and divide the web into gated communities.

    1. Re:MPEG1, still the best by updog · · Score: 4, Informative
      It may be more open, but even MPEG-2 has enormous advantages and features over MPEG-1. Here are just a few:

      Defines the "transport stream", for delivery over unreliable networks (Internet). MPEG-1 only has the concept of "program streams", useful only for data stored on a reliable media (eg CDROM or DVD);

      Defines profiles and levels, which put contraints on ranges and parameters. For example, MainProfile @ MainLevel is good for standard def video, while MainProfile @ HighLevel is suitable for HD;

      Support for interlaced pictures;

      16:9 aspect ratio, pan and scan;

      scalable coding profiles, 3:2 pulldown, concealment motion vectors, 9-10 bit quantization, etc, etc etc

      MPEG-2 is really what spawned the digital video age, and it's the standard used for practically all of the digital video that you watch (digital cable, satellite TV), DVD, SVCD, and many PC codecs.

      MPEG-1 just doesn't cut it for all of these applications.

    2. Re:MPEG1, still the best by Anonymous Coward · · Score: 1, Insightful

      I can't deny MPEG1 is technologically inferior to MPEG2.
      Although it is still not a catch-all. Example...part 8 of the MPEG2 specification--for higher-quality YUV--was dropped entirely for "lack of interest". http://bmrc.berkeley.edu/research/mpeg/faq/mpeg2-v 38/faq_v38.html

      But back to the point. So what? What good is a standard that isn't universal? I would LOVE a super ultra high-falutin 4:2:2, 12-bit YUV video codec to archive precious footage on. After all, VHS is so bad why not salvage every last detail while you still can instead of compromising quality further? Maybe I want studio-quality in my home. But if said codec is non-free and not platform independent it defeats the purpose of archival---preservation for the ages, or, in the case of smaller web files, guaranteed audience accessibility.

      I was given a .mov recently. H.263...no sweat. Compile new vlc and ffmpeg and poof. Video works. Audio still in an unsupported format. Oops. I guarantee my parents would never have support for this on their computer, let alone the werewithal to figure out how to make it work. Meanwhile MPEG1 just works.

    3. Re:MPEG1, still the best by evilviper · · Score: 1

      1. VP3/Theora isn't encumbered by patents either, and it is a far better codec by any measure.

      2. I'll give you that one. However, do you think that is a good reason to go with a codec? You need to stick your DVD-quality movie on 50 CDs because you wanted to be compatible. Congratulations.

      3. You are blaming a container format for missing codecs. No, trash #3, it's mainly a spin-off of #2 anyhow.

      4. Again, VP3/Theora is just as free, and a better codec. It may be patent-free, however, I certainly wouldn't want to download a hi-quality MPEG-1 stream. A few weeks later, when the download finishes, I'll just re-encode it to MPEG4, saving mosterous ammounts of space.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    4. Re:MPEG1, still the best by Jeff+DeMaagd · · Score: 1

      The problem with this comparison is that it completely ignores bandwidth and quality comparisons.

      You do have a point though. I have several video files which I have no idea what the codec is so I can't play them. It may be worse down the road if the codecs become "lost" like some of the DivX variants seem to be.

    5. Re:MPEG1, still the best by Anonymous Coward · · Score: 0

      Precisely.
      What good is a codec that will only become lost someday? Super VHS and D-VHS are undeniably superior to VHS, too. In the case of D-VHS you can store hours of HDTV footage in the same physical volume old VHS-quality footage took! Talk about serious space savings! But if someone asked for a copy of last night's TV show would you give him a D-VHS tape and say "It's such a better format. Go and buy a DVHS VCR to play it." Heck no, you'd copy it to standard VHS. And years down the road when your Beta/SVHS/DVHS VCR breaks will you be able to find a replacement outside of eBay? If not all the high-quality formating in the world is pretty useless.

      Superiority is a wonderful thing, but superiority that isn't easily universal will only be lost to the winds of time. (At which point you effectively have a 100% lossy codec, don't you?)

      Theora would be great to see as a universal standard, but I said the same thing about DAT (48 KHz audio! woohoo), Super VHS, etc. One can only hope.

  26. FFMPEG by TenPin22 · · Score: 1

    I think mencoder favours ffmpeg for Mpeg4 encoding and the mplayer docs suggest it as better quality and faster than Xvid ?

    Pity it wasnt tested too.

    1. Re:FFMPEG by 1000StonedMonkeys · · Score: 2, Informative

      That's for decoding. ffmpeg as an encoder is designed for realtime compression and thus doesn't match the quality of the mpeg4 codecs that don't have to worry about how long they take.

    2. Re:FFMPEG by Anonymous Coward · · Score: 1, Insightful
      ffmpeg (the program) was originally designed for realtime compression, but the codecs in libavcodec have been tweaked for use in programs like mencoder (it comes with mplayer) which are not necessarily realtime.

      The following commands produce video that looks pretty good, at least to me (from an NTSC DVD source - "tccat -i /dev/dvd -T 1,-1 > movie.vob" can be used to rip the DVD if you have transcode, or you can use an mencoder option like "-dvd 1" instead of giving a VOB):
      • mencoder movie.vob -ofps 23.976 -nosound -mc 0 -sws 2 -vop $VOP -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:vbitrate=$VBITRATE:vpass=1 -o movie-pass1.avi
      • Same thing, but with vpass=2, a real output filename, and audio encoding options if you want them (you can also encode audio separately and mux it later).


      You'd need to replace $VOP with some video options (like scale=FINALWIDTH:FINALHEIGHT,crop=WIDTH:HEIGHT:TOP :BOTTOM), (use -vop cropdetect to automatically calculate the crop parameters) and $VBITRATE with the bitrate (700-800 looks good, and fits the average movie on a CD). Each command runs no higher than 20fps on my home computer, which is nowhere near realtime - with 2pass encoding, 48 or 60fps would be realtime.
  27. Where's libavcodec/ffmpeg ? by vlad_petric · · Score: 3, Informative

    libavcodec is actually just as good as divx5, and certainly better than xvid. While it's true that it produces stuff that's compatible with divx decoders (theoretically all MPEG4s should be compatible with each other, but that's only the theory), it is certainly not subsumed by divx5. It also has many of the codec features of divx5 pro - e.g. B-frames, Trellis quantizer (which improves quality / reduces bitrate big time(tm))

    --

    The Raven

    1. Re:Where's libavcodec/ffmpeg ? by snol · · Score: 1

      Where did you hear that libavcodec is better (I assume you mean for encoding) than xvid? It's widely used as a decoder - probably the best option for mplayer, and also gaining a lot of ground with ffdshow in windows - but I've never heard that it's a particularly high-quality mpeg4 encoder compared to divx or xvid. It's possible (since I've never tried it as an encoder) but one would think if it was better than xvid that you'd see more pirated ffmpeg-encoded stuff floating around. Where did you get your info?

    2. Re:Where's libavcodec/ffmpeg ? by Junta · · Score: 1

      Despite the claims of mplayer documentation, I have found, for at least animated content, that xvid performs *FAR* better than libavcodec. Content encoded with libavcodec was downright blocky at even 200-300 kbps more than xvid's smooth output.

      --
      XML is like violence. If it doesn't solve the problem, use more.
    3. Re:Where's libavcodec/ffmpeg ? by evilviper · · Score: 3, Informative

      I can personally attest that, at the time I switched (DivX 4 days), ffmpeg was not only higher quality, more configurable (which allows even higher quality than that with a little work) but far faster as well.

      Now, I haven't tried xvid/Divx in quite some time, but I can still say that, of the mpeg4 videos I'e downloaded, commonly encoded with Divx 4/5, Xvid, and 3ivx, the quality is always lower than what I can get from ffmpeg.

      In addition, I'd say the reason you don't see more ffmpeg videos is just because there aren't that many Unix machines around. You probably haven't downloaded even 10% of the videos on the internet, so you probably can't make a fair estimate. Also, the legal issues (licensing) lead most people to stick with Divx, WMP, or Quicktime. Also, it's not hard to imagine that Ffmpeg would gain popularity if it came in a simple, easy-to-use, installer for Windows.

      Arrrr Maties...

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  28. Future Dupe Alert! by Anonymous Coward · · Score: 0
    "I plan to eventually supply an updated version of the comparison."

    If a author warns us of a future update thats sure to be posted on slashdot and surely will contain links to the old story does that still make it a dupe?

    Wow I get to hear about stories to be posted before their even written and I'm not even a subscriber!

  29. What a decoding by Anonymous Coward · · Score: 3, Insightful

    It seems that everyone is worried about encoding and what I would like to know is which format takes the least cpu to decode. I'm running on a rather weak laptop and even mpg1 gives me mismatched audio. Are the mpg4/SBC decoders less cpu intensive?

    1. Re:What a decoding by real_smiff · · Score: 3, Informative

      i would suggest ffdshow. i believe it is generally regarded as the least cpu-intensive MPEG4 decoder (depending of course on the configuration, of which it has lots!)

      --

      This is my Sig, this is my Gun. One is for Slashdot and one is for Fun.

  30. The real question is... by maunleon · · Score: 0, Offtopic


    Was this test violation of the DMCA? Someone circumvented the copy protection of the respective DVDs.

    1. Re:The real question is... by Anonymous Coward · · Score: 1, Insightful

      Europeans don't give a shit about stupid American laws.

    2. Re:The real question is... by chefbimbo · · Score: 1

      That's what Skylarov did, too.

      But you're right, of course. And we're proud of it, too.

  31. Compressing the Compressed!!! by pastpolls · · Score: 2, Interesting

    I have a problem with re-compressing an already compressed source. MPEG-2 for DVD can run between 2Mb and 9Mb (8Mb realistically). I have always been a believer in the garbage in/out theory of compression (please don't make me explain). Each of these titles I am sure were encoded at diffrent bit-rates. I dare to say, the cleaner the source, the better the compression. In this instance I believe the best compressor is the one that can best smooth out the errors of MPEG2, not necessarily the best compressor. I would like to see how these do off of uncompressed source media.

    1. Re:Compressing the Compressed!!! by real_smiff · · Score: 2, Interesting

      nice idea, and you're right, but all the attention seems to be on (re)compressing commercial DVD movies, and no one has the original uncompressed source to those apart from the movie studios... i'm not sure how useful an MPEG4 codec that's great at such material would be, assuming everyone is using it for warezy purposes (i guess the video coming out of camcorders etc is also compressed in a similar way?). Anyway in case you don't know it's normal to apply some pre-processing to DVD source with filter like Convolution3D (see the doom9 forum for more info). IMHO such pre-processing needs to be built into XviD to make it more accessible, but i digress.

      --

      This is my Sig, this is my Gun. One is for Slashdot and one is for Fun.

    2. Re:Compressing the Compressed!!! by Sangui5 · · Score: 3, Informative

      Never mind that so far as video goes, getting totally uncompressed source is nearly impossible. 640 wide*480 high*24 bit*30 fps = 221Mbps. Yep, two-hundread and twenty-one million bits per second. That translates to under 30 seconds of video on a standard CD, or about 6 minutes on a DVD.

      I've done some work in video compression, and it was a non-trivial task to get never-compressed source. Indeed, we had to generate it ourselves, and were limited to low-motion real life (stop motion-style pan over a room) and animation (hours upon hours of Bryce). And at that, it turned out that in practice, we could have just ripped some DVD and gotten identical results.

    3. Re:Compressing the Compressed!!! by Alan+Partridge · · Score: 1

      for goodness' sake! Uncompressed video (525 SD) is 720x486x59.94 interlaced, 10bit, subsampled 4:2:2. Data rate is 270Mbps. It's not as if you have to look very far for this kind of material - what the fuck do you think is used in the production of TV programmes?

      --
      That was classic intercourse!
    4. Re:Compressing the Compressed!!! by benwaggoner · · Score: 1

      Well, a modern high-end Hollywood DVD is going to be pretty clean. Given all the other filtering going on in preprocessing, the artifacts don't wind up being THAT big a deal. In a head to head comparision between uncompressed source and a professionally mastered DVD of the same source, the end-point will be pretty similar. Also, since all the codecs used the same source, it was still an apples-to-apples comparison.

      Still, it befuddles me how much time people are willing to spend copying a DVD that only costs $18 in the first place...

    5. Re:Compressing the Compressed!!! by HuguesT · · Score: 1

      Hi point may have been that standard video sequences used in motion research (e.g. the taxi sequence, the garden sequence, the rubik cube sequence, etc) are not available uncompressed. He's looked hard and the only way to get an uncompressed sequence is to make it yourself, precisely what he wrote.

  32. yay, the good guys won (or something) by real_smiff · · Score: 3, Interesting
    I'm really happy to see XviD come out on top (well, i think it did anyway :p). The devs really deserve it, with all the work they've put in, and the problems they've had with commercial companies ripping their code off, users whining, the brain numbing difficulty of what they're trying to do, not getting paid for it, and so on and so forth.

    I've been semi-following XivD for about a year, occasionally compressing one of my DVDs to see how it's doing. (which always seems to be: Great, but better the next week (i.e. a severe double-edged sword!).

    One thing you know about Xvid is that those problems (the ones Doom9 found) will get addressed. Cheers XviD team.

    --

    This is my Sig, this is my Gun. One is for Slashdot and one is for Fun.

  33. Isn't there something missing from this "review"? by Svartalf · · Score: 4, Insightful

    To be sure, he's comparing the performance of the codecs against content that is popular (and typically difficult to compress...)- but he's pulling it from a lossy format, namely the MPEG2 stream off of a DVD.

    There's a reason why you're really supposed to re-encode from the CD when you're producing .OGG's or something like them instead of pulling them from MP3's as source. With a lossy format, you're deliberately losing content, introducing hopefully un-noticable distortions into the reproduction of the sound. Unfortunately, the varying formats use different assumptions, which produce differing kinds of distortions into the result. Because of this, re-encoding from MP3's, your sound files end up with distortions on top of distortions- the quality and compression suffers as a result.

    The same applies to video files.

    This is not to say that what Doom9's doing isn't important or relevant- it is if you're using the codecs to space shift (i.e. Put several movies on your laptop so you're not carrying the DVD's on your business trip...) or pirating movies. The reality is that the codecs he's reviewing are largely designed for previously untouched video feeds- someone ought to test that as well.

    Anything else is not really a proper review- unless you're only caring about ripping and re-encoding DVDs. To me, that's something useful to know about, but I'm as or more interested in the intended usages of this stuff as well.

    --
    I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
  34. What is a quantizer? by steveha · · Score: 5, Informative

    I can explain quantizers.

    To compress a sample of audio or video data, you want to throw away details that don't matter. So you transform the data using a function, and then you apply a quantizer to throw away some of the data. The whole point of the transform function is to make a data set that is "safer" to quantize.

    Most audio and video codecs use the DCT function, which decomposes an image into a series of waves. If you throw away some of the wave data, you get a similar series of waves, and hopefully humans won't notice the differences.

    Applying the quantizer is the "lossy" step in lossy compression. Here's how you do it:

    You divide the output data (from the transform function) by some integer number, the quantizer, and you use integer division. (Because you want to simplify the data, you actually want the fractional part discarded!) The bigger the quantizer, the more data is thrown away. A quantizer of 1 would give perfect quality, but very poor compression.

    Here is a semi-real example:

    You have some data to compress. Let's say it's eight bytes (maybe an audio sample for Ogg Vorbis).

    After the DCT, it looks like this (using decimal numbers because it's easier):

    355 244 33 192 43 9 3 8

    Quantize with a quantizer of 8:

    {8} 44 30 4 24 5 1 0 1

    The {8} is intended to show that the quantizer has to be stored with the quantized data stream, so we know what quantizer was used so we can dequantize.

    On dequantization, we just multiply by 8 again:

    352 240 32 192 40 8 0 8

    Then we feed these resulting numbers into the inverse DCT, and get back some data that is hopefully not full of artifacts.

    When you are encoding, you quantize, and then you encode the resulting stream of numbers. Because the values of the numbers are smaller (e.g. 24, instead of 192) you can encode the values with fewer bits. And you can apply run-length compression to the quantized values; in my example it wouldn't buy you much, but in real examples you will often have a bunch of zeroes in a row.

    Video compression dialogs (such as the JPEG options in "Save As" in The GIMP) often give you a slider for a quality percentage. This is actually controlling the quantizer. For JPEG, you have 31 possible settings for the quantizer, so there is no difference between 80% and 81%.

    By the way, my personal experience with video compression is that a quantizer of 8 gives pretty good compression with very few visible artifcats. An 8 quantizer corresponds with about a 75% in the quality sliders (such as Save As in The GIMP).

    Some afternoon when you are bored, save the same JPEG image over and over with different quality settings, and watch what happens with the artifacts. When you set the quality down to 2% (corresponding to a 31 quantizer) you get ugly, coarse blocks. The GIMP under Linux is particularly good for this because you can drag the quality slider and the preview updates instantly, so you don't have to save and re-open.

    steveha

    --
    lf(1): it's like ls(1) but sorts filenames by extension, tersely
    1. Re:What is a quantizer? by Anonymous Coward · · Score: 0

      Remember when it wasn't unusual to find good posts like this on Slashdot? Now I feel the need to say something whenever one pops up.

    2. Re:What is a quantizer? by mlippert · · Score: 1

      Thanks for an excellent explanation.

      I have 1 question though. From your explanation, as the quality setting is applied to jpegs, it sounds like recompressing a jpeg would not increase the loss if the same quantizer was used as was used on the original. Is that true?

      So if I load a jpeg into an editor, make some minor changes and then save it, the areas I haven't changed will not experience more loss if I use the original quality setting.

      Mike

    3. Re:What is a quantizer? by NanoGator · · Score: 1

      I just wanted to let you know I learned from your post. Thank you for taking the time to write it.

      Nano

      --
      "Derp de derp."
    4. Re:What is a quantizer? by steveha · · Score: 1

      From your explanation, as the quality setting is applied to jpegs, it sounds like recompressing a jpeg would not increase the loss if the same quantizer was used as was used on the original. Is that true?

      That should be true.

      JPEG, and the video codecs that I know about, all divide an image up into squares of 8 pixels by 8 pixels. Then each square is processed. For JPEG, the squares are run through the DCT.

      So only the edited 8x8 squares should actually be affected.

      I haven't tested this, though.

      steveha

      --
      lf(1): it's like ls(1) but sorts filenames by extension, tersely
    5. Re:What is a quantizer? by steveha · · Score: 1

      If you did pick up some noise, it would be from the repeated DCT and inverse DCT, not from the quantization itself. The ideal DCT wouldn't introduce noise, as I understand it, but in real life there might be rounding errors.

      --
      lf(1): it's like ls(1) but sorts filenames by extension, tersely
  35. Re:Isn't there something missing from this "review by Anonymous Coward · · Score: 0

    No, there is nothing missing from this review. You were apparently unable to grasp the content. Note the title of the website: "The definitive DVD backup resource." This review is about which codecs are useful for compressing DVDs for "backup." Nothing more.

  36. DivX 5 by foxalopex · · Score: 2, Interesting

    Myself I get most of my anime thanks to the existance of these compression formats. I'm a fan of DivX 5 simply because it's easy to get a hold of the codec and it works for all my historical DivX 3.x movies. I have nothing against the Xvid team but it's a bit annoying when I get the occational anime that won't play on anything else but the Xvid codec, requiring me to find it and install it into my system. And as the reviewer noted it's got a few bugs still. DivX 5 may not be the best but it's certainly the most convenient and standard to an end-user.

    1. Re:DivX 5 by Anonymous Coward · · Score: 2, Informative

      You don't need the XVID codec. XVID attempts to be Mpeg-4 compatible as does DIVX5. That being said You can decode XVID with the DIVX5 codec and vice versa. What you need is a simple FourCC changer to change the FourCC (the software "marker" which tells your computer what codec is being used and what to decode with).

      Or you can just DL FFDSHOW (check SourceForge. I reccomend the Alphas... lots of features yet quite stable) And use that to decode all your MPEG4 type files.

  37. Tables Aversion? by MonkeyBoyo · · Score: 2, Interesting
    Does whoever wrote this for Doom9 have an aversion to presenting the tabular information in tables? The analysis is full of sections like:
    As you may know, not every rate control mechanism is perfect so here are the final movie sizes I got:

    3ivX: 723'574 KB (Matrix), 1'493'398 KB (SPR), 178'754 KB (Futurama)
    DivX5: 717'642 KB (Matrix), SPR: 1'435'154 KB (SPR), 179'250 KB (Futurama)
    mpegable: 920'234 KB (Matrix), 1'144'774 KB (SPR), 171'168 KB (Futurama)
    RV9: 722' 977 KB (Matrix), 1'447'144 KB (SPR), 180'976 KB (Futurama)
    SBC: 716'658 KB (Matrix), 1'434'004 KB (SPR), 179'304 KB (Futurama)
    WMV9: 727'886 KB (Matrix), 1'460'384 KB (SPR), 183'288 KB (Futurama)
    XviD: 717'242 KB (Matrix), 1'434'320 KB (SPR), 179'288 KB (Futurama)
    Why torture the reader? I like columns of digits to vertically line up so I can see where the signifigant changes are.
    1. Re:Tables Aversion? by Anonymous Coward · · Score: 0

      Well,

      It comes out perfectly for me, I'm using Mozilla Firebird, and if you didn't realize, the font they are using is monospaced. Which means all the characters line up properly without messy tables.

      And another thing, this is a direct latex to html. You should go and beg for a latex file next instead of bitching here.

      Appericate work done by ppl more intelligent than you instead of bitching. Bitching just makes your hole wider and deeper.

      <insert goatse link here>

  38. Windows Media Video by Shilaeli · · Score: 1, Funny

    I rip all my DVDs to WMV so none of you linux lusers can watch it.

    1. Re:Windows Media Video by dpete4552 · · Score: 1

      I can play WMV on Linux just fine :) (e.g. Xine, Mplayer, etc...)

      --
      http://www.archive.org/details/ThePowerOfNightmares
  39. Re:Isn't there something missing from this "review by Anonymous Coward · · Score: 0

    I'm looking for the "definitive" way to back up my LDs. Laser rot and all.

  40. link to latest ffdshow (MPEG4 decoder) binaries by real_smiff · · Score: 2, Informative
    sorry i should have provided a link:

    http://sourceforge.net/project/showfiles.php?group _id=53761

    use the latest alpha version.

    --

    This is my Sig, this is my Gun. One is for Slashdot and one is for Fun.

  41. Helix license forbis comparison? by Internet+Ninja · · Score: 5, Interesting

    IANAL but looking at the Helix binary EULA there seems to be a clause disallowing this sort of thing.

    https://reguseronly.helixcommunity.org/2002/clic kw rap/eula-clickwrap
    Entry 2(a)(vii)
    You may not make available to any third party the results of any evaluation or testing of the Software by You under this License. Any such forbidden use shall immediately terminate Your license to the Software.

    Just a thought

    1. Re:Helix license forbis comparison? by Anonymous Coward · · Score: 0
      Any such forbidden use shall immediately terminate Your license to the Software.

      So now only copyright laws apply to your usage of the software. I which all the restrictive licenses had clauses like that...

    2. Re:Helix license forbis comparison? by Kalak · · Score: 1

      Any such forbidden use shall immediately terminate Your license to the Software.

      OK, so /. now commands that he terminate his license.

      --
      I am, and always will be, an idiot. Karma: Coma (mostly effected by .hack)
    3. Re:Helix license forbis comparison? by Anonymous Coward · · Score: 1, Funny

      You may not make available to any third party the results of any evaluation or testing of the Software by You under this License. Any such forbidden use shall immediately terminate Your license to the Software.

      Oh that must suck sooooo much. After you publish your review, you lose your license to their pre-production release. So you have to go back to the web site and click 'Okay' again to obtain another license to their unfinished software. Right.

  42. I have a Mac and never use Quick Time by Anonymous Coward · · Score: 0

    I think that videolan and mplayer are much better than Quick Time

    1. Re:I have a Mac and never use Quick Time by womby · · Score: 1

      I think that videolan and mplayer are much better than Quick Time

      aparenty you are confusing the format with the player.

      the parent was describing using the 3ivx codec in a quicktime file.

      you counterd that you dont use the quicktime player.

      --
      **** lying is wrong even for sleeping dogs
    2. Re:I have a Mac and never use Quick Time by Anonymous Coward · · Score: 0

      no one actually cares what you think, sonny

  43. Article/comparrision misses the spot by Anonymous Coward · · Score: 1, Interesting

    The main issue missing here is that the various video codecs, conversion tools, and audio processing tools are not easy enough to use.

    Ease of use should be the focus of new releases of virtualdub, tmpenc, flaskmpeg, avisynth, etc.

  44. Windows Media Video in Lunix by Anonymous Coward · · Score: 0

    We can watch wmv 7,8, and 9 in Linux, both with xine or mplayer. Even videolan can be used for some wmv files.

  45. Ah, that's why we have ffdshow by TheFr00n · · Score: 2, Interesting

    The format war continues, but ultimately the majority of the codecs are trying to implement the mpeg4 standard. Surveys and comparisons aside, if you trawl around you'll find that most "users" (ie not companies) are using either DivX3/5 or XviD.

    Some clever individual has come up with ffdshow, which you can get off doom9.org, which will play either DivX or XviD without having either codec installed on your system. And at around 500k, it's a smaller download than either of those codecs

    --
    "By Grabthar's Hammer, what a savings."
  46. off-topic. video and audio codecs totally seperate by real_smiff · · Score: 1

    sorry to be an arse, but the article discusses video codecs and this has really no relation.

    --

    This is my Sig, this is my Gun. One is for Slashdot and one is for Fun.

  47. Re:Isn't there something missing from this "review by nmos · · Score: 3, Insightful

    You make a good point but it's not just DVDs that use compressed video. Digital cable, satellite, digital video cameras, etc. are all pretty common sources for people using these codecs and they're all compressed. Heck, most of the stuff I encode has been through compression/decompression twice allready, once by Directv (mpeg2)and once by my pvr (mjpeg) and when I want to store it long term I use mpeg4.

  48. "There are some blocks on Nibbler's red cape... by Anonymous Coward · · Score: 1, Interesting
    There are some blocks on Nibbler's red cape in SBC, but thanks to JPEG compression this screenshot doesn't let you spot them properly.
    What an idiot of science. If I was to write a codec comparison, then I would save my screenshots in a lossless image format, like PNG. What we have here are falsified measuring data plus some hollow words. Not everyone has the time, resources or equipment to reproduce the test arrangement's results. This methodology stinks.
  49. Similar test in current issue of C't magazine by harmonica · · Score: 1

    See article (unfortunately only its beginning, and without illustrations) if you understand German. Reading the full thing (very thorough) in the print version, you'll learn that WM9 'wins', closely followed by Real's latest codec.

    1. Re:Similar test in current issue of C't magazine by Anonymous Coward · · Score: 1, Interesting

      I noticed even in this article, the WM9 encoded shots look pretty damn good compared to the others. I think the author may have been (possibly subconsciously) downplaying how good WM9 is because of the M$ connection.

      I'd love to see something as good on Linux. Anyone know if you can use mplayer to encode using the WM9 encoder?

  50. Sound and vision... by hughk · · Score: 3, Interesting
    It is interesting that some encoders tend to do bad things with the sound. What does this have to do with the video playback quality, well if the player has to seek between the video stream and the sound stream, then video (requiring the higher bandwdth) suffers. Playing from a fast HD masks some of this out, but usually not from CD.

    For whatever reason, some programs mess up the spacing of the video and sound streams, for example, Variable Bit-Rate Audio often gives problems. The thing is that it isn't the video codec itself, just the delays getting sound and vision to run concurrently.

    --
    See my journal, I write things there
  51. Ogg theora? by slux · · Score: 1

    Why not Ogg Theora?


    I was a little disappointed with the review as they we're already reviewing an alpha status codec and could've given some indication about how well will Theora fare against it's more patent-burdened codecs.<br><br>
    I for one am excited about the idea of getting my movie files on a really freely usable codec as well.

    1. Re:Ogg theora? by Dr.Dubious+DDQ · · Score: 3, Interesting

      Unfortunately, it appears that Ogg Theora development is "mostly dead". The main developer has been stuck doing contract work (on the integer decoder for Vorbis, as far as I can tell) and can't get to it "for the foreseeable future". The mailing lists are almost completely dead, and, most tellingly, Xiph hasn't updated the theora.org page since January.

      I doubt very much they'll have the 1.0 release next month as they have been saying since last June that they'd do...Alpha 1 was looking really promising, but Alpha 2 got pushed back twice (originally scheduled for early December 2002...then late December...then they stopped talking about it anywhere.) Last I'd heard was they were planning to skip Alpha 2 and go straight to Beta in March. Obviously that didn't happen. I do know Monty managed to get some (non-Theora-specific?) work done that will benefit Ogg Theora, but that was back in February, and nobody's talking about it since then.

      There are hints that there are other people puttering with the code a little (and VP3 decoding support [the "video codec" part of Ogg Theora - I gather there are still a few "tweaks" to be worked out to turn VP3 into "Ogg Theora"] is slowly being worked on for ffmpeg, Xine, and MPlayer.) but I don't know if Xiph has enough attention on it to get anything out. (Support for VP3/Theora video codec going into Xine is mentioned - very briefly - in the latest "Ogg Traffic" newsletter which at least indicates SOMEBODY remembers that Theora exists. I think if they at least got out some documentation on the format (particularly the .ogg part - they say .ogm is 'horribly hacked' but until there's a "proper" standard available for people to work to, that's all we have for "video-in-ogg") it would help. (If encoding support for Theora in ffmpeg/mplayer isn't far behind, then adoption and work on it outside of Xiph will probably pick up pretty quickly.)

      Kinda sad to see the project languish silently as it has for most of the year - some days I can't tell if Xiph will be abandoning Ogg Theora or ever getting back to it or what...

      As a side note, back on the topic of "codec comparison", my playing with the one and only release of Ogg Theora way back when it was released (8 months ago!) gave me the impression that it can be a very nice format, especially for more compressed bitrate. Where most codecs seem to get "blockier" as they compress, VP3/Theora seems to get "blurrier" instead, which to my eye generally "looks nicer", despite the fact that it has lost as much actual information from the video as the "blockier" codecs (e.g. mpeg4). IF Xiph ever gets around to some file format documentation and VP3/Theora encoding support appears relatively soon, I can easily imagine Ogg Theora becoming a popular format for internet video and archiving home video.

  52. Theora by Simon+Lyngshede · · Score: 0, Redundant

    I know the Ogg people isn't done with Theora yet, but I would have loved to see it included. Im really interested in seeing how it will perform.

  53. How much detail is needed? by CAIMLAS · · Score: 2, Interesting

    I don't know about anyone else, but for the most part (with the exception of 3ivX) I didn't notice enough image degrigation to matter. Especially at 24fps.

    Don't believe me? Try this: scroll through the screenshots (at about the rate of 1 image going from the bottom of the screen to the top per second - 1fps) and tell me if you can pick out the glitches in most of these codecs.

    What's more, if anyone was walked into several rooms in sequence, all playing the same movie, but one being DVD, one being DivX3, one being WMV9, etc. I suspect nobody would be able to distinguish one from the other, provided they're encoded at one of the higher quality settings - even if they're intimately familiar with the film.

    This is a load of garbage. DVD is a broken codec to begin with.

    --
    ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    1. Re:How much detail is needed? by Anonymous Coward · · Score: 0

      Well, that is just utter nonsens you pull out of your ass...
      If the movie is running, the errors turns out MORE. Simply because you can se the deviation between each frame.
      If you saw the movies played side by side, it would be really easy to see the difference of the codecs.
      TRY IT, before you post utter nonsense.
      (But you are right that DVD is a broken codec to begin with ;)

    2. Re:How much detail is needed? by benwaggoner · · Score: 1

      I agree that the differences at these data rates are getting smaller and smaller. The big differences these days are at higher resolutions or lower bitrates, or files tuned for streaming (with a constrained buffer) instead of download (where codecs can move bits around within a file with abandon).

  54. Err, your webpage is down. by Anonymous Coward · · Score: 0

    "Check my webpage for more relevant information."

    It's down. Like, not up. It's this one, right?

  55. there's issues other than psychoacoustics by Trepidity · · Score: 1

    One of the major sources of quality degradation in transcoding is re-quantization. Almost all (all?) lossy compression algorithms do some sort of quantization, whether it be in the frequency or time domain, to save space where it seems possible; for example, taking a 16-bit quantity and storing it in 12 bits (2^16 gets mapped to 2^12, 0 gets mapped to 0, and everything in between gets rounded to its nearest corresponding 12-bit value). Now say you transcode, and the new algorithm uses 10 bits on the same quantity. Now you have 16->12->16->10, which is really horrible.

    Now if you could determine which quantities were quantized in what way, you could try to minimize these effects; 16->12->16->12 shouldn't really introduce any additional errors, for example. But your resulting file will still be lower-quality than a WAV->xxx encode, since you're restricting the codec's options. In, say, an MP3->AAC transcoding, you'd be forcing AAC to use quantization granularities tuned for MP3, not allowing it to use what it determines as optimal in the context of its AAC encoding.

  56. How are we supposed to know... by peterpi · · Score: 1

    ... whether artifacts in the screenshots are down to the video codec, or down to the fact that the author has jpeg compressed them? This is one of the few places where it really would have been a good idea to use a non-lossy format.

  57. Compress something compressed? by lexcyber · · Score: 1

    I can't see how this test say anything? Why use compressed crapmaterial to start with? It is pointless. Or as a compressionguru said in a lecture. Garbage in, megagarbagee out. Use an uncompressed source!

    --
    - To understand recursion, we must first understand recursion -
  58. This is for the average user by Quila · · Score: 1

    Who is compressing video from DVD, consumer digital cameras, PVRs, etc. So it's a real world comparison.

    99.99% of people don't have the hardware necessary to do uncompressed video, either their camera can't do it, their video card can't do it, or their hard drive can't write it without dropping frames.

    640x480[low res]x30[fps]x3[bytes per pixel]= 27.6 MB/sec sustained writing. Or you can try doing HDTV resolutions at 83 (720p) to 186 (1080p) MB/sec.

  59. Why only 2-pass? by Quila · · Score: 1

    DivX will do multiple passes, and the Gordian Knot that he was using will do six by picking it from a drop-down.

    An increase in quality has been debated, but DivX with six passes has, at least for me, always come within 1MB of the target size and never over.

  60. Re:Isn't there something missing from this "review by Junta · · Score: 1

    That is a valid point, but in terms of really clean, complex footage, there aren't many places to go for uncompressed, digital content. Professionally published DVDs of high bitrate provide nearly artifact-free video, and I would say that is certainly 'good enough' for the purposes of showing off a codec.

    What I don't agree with is the use of JPEG to encode captures of the footage for demo purposes. PNG would have been a far far better choice. I know still images alone are never a good indication of a codecs performance with respect to motion and such, but lossless stills would have at least been more indicative than lossy stills.

    --
    XML is like violence. If it doesn't solve the problem, use more.
  61. Basis of the official container format you mean by Anonymous Coward · · Score: 0

    Get a real .mp4 file and rename it to .mov and see what your quicktime player makes of it ... it wont work, cause they aint the same.

    1. Re:Basis of the official container format you mean by 2nd+Post! · · Score: 1

      Um, if it's a real mp4 file, it doesn't matter what you rename it, Quicktime player should play it...

      Sorta like taking an mp3 file and renaming it anything... iTunes should still play it, if it's a legal mp3 file...

  62. Size targets are overrated by Anonymous Coward · · Score: 0

    If it doesnt help quality I have a better idea ... Ill make a codec which pretends it does a wicked fast 6 pass encode, but it really just padds a couple of extra 0s to the bitstream on each pass.

    Without a quality difference, what difference is there? None ... more than 2 pass is stupid, exact size targets are not something to go after.

    1. Re:Size targets are overrated by Quila · · Score: 1

      Multi-pass helps DivX level out the bitrate usage throughout the movie, balancing high and low bitrates of various scenes in achieving a given size. Instead of a movie being 10MB too short, it can use that 10MB to add to the quality, and, more importantly, it never goes too long to fit on a CD.

      Plus, subsequent passes take just as long as the first one. No padding.

  63. Should have used PNG by benwaggoner · · Score: 1

    He should have used PNG, which is lossless RGB 24-bit.

    Of course, encoding in JPEG @ 100% quality would have been effectively as good. There really isn't any excuse for having still image artifacts on top of the source artifacts in this kind of article.

  64. MPEG-1 can change aspect ratio by benwaggoner · · Score: 1

    Actually, MPEG-1 also supports aspect ratio switching. Not all players do, but most of the modern software ones do.

    While all of the above are important for digital broadcasting applications, for storing progressive-scan content, MPEG-1 is pretty much identically good, and players are much more widely distributed (it still costs $2.50 to distribute a MPEG-2 decoder legally).

  65. Profile@Level by benwaggoner · · Score: 1

    In MPEG-2, any particular implementation is defined by a Profile and a Level. A profile defines the tools available to a particular bitstream (like interlaced video, or B-frames), and levels define the parameters of those tools (like maximum resolution and data rate).

    For an encoder Profile@Level defines the maximum features you can use to make a compliant bitstream (so it's okay not to use all the tools and still claim to make an Advanced Simple stream - the encoder is compatible, just not maximum quality). For a decoder, Profile@Level defines the minimum level of support - it's always okay to play back illegal streams, but at a minimum all legal streams of the targeted Profile@Level need to be supported.

    So our problem is that .mp4 is extremely overloaded, since it doesn't indicate the Profile@Level used for any of its parts. So it's easy to make a file that won't play in the player that automatically takes .mp4 when a file is opened.

  66. Deblock at decode by benwaggoner · · Score: 1

    Actually, the codec is too late in the process. The internal workflow is:

    Decode -> Filter -> encode

    The filter step includes cropping, scaling, inverse telecine, etcetera. ideally, deblocking should be done at the decode stage, where the codec knows where the macroblock boundaries are, and so can better discriminate between artifacts and image elements. If it's done at the codec stage, the encoder won't know anything about the original source, and must use much more ham-fisted filters.

  67. License comparison EULA's likely unenforceable by benwaggoner · · Score: 1

    I write a lot of codec review articles for DV Magazine. My editors tell me not to worry about those EULA's. Not only are the "no review" clauses considered largely unenforceable, there are any number of magazines out there who whould love to be the test case on this stuff.

    Disregarding the legal issues, it's be a huge PR nightmare if a company actually started suing users for discussing how the products work. I can't imagine why they put the clauses in there. It's alienates users without actually gaining any real protection.

    1. Re:License comparison EULA's likely unenforceable by alexo · · Score: 1
      I write a lot of codec review articles for DV Magazine. My editors tell me not to worry about those EULA's. Not only are the "no review" clauses considered largely unenforceable, there are any number of magazines out there who whould love to be the test case on this stuff.

      Disregarding the legal issues, it's be a huge PR nightmare if a company actually started suing users for discussing how the products work. I can't imagine why they put the clauses in there. It's alienates users without actually gaining any real protection.
      In that case, why don't you, or somebody else in the industry, publish some .NET benchmarks?

      Since almost all MS products carry a EULA which states "You may not disclose the results of any benchmark test of the .NET Framework component of the OS Components to any third party without Microsoft's prior written approval", I believe this would be the ideal test case.
    2. Re:License comparison EULA's likely unenforceable by benwaggoner · · Score: 1

      Well, I'm a compression nerd, not a server nerd, which is why I don't write something like that. I can't imagine that publications that cover this space aren't preparing just such articles.

      Microsoft's various PR agencies are all very good, and provide excellent support in software, technical contacts, etcetera for folks working on articles. I doubt they'd let this clause become a problem.

      Which again begs the question of why it is in there.

  68. Re:Isn't there something missing from this "review by Eccles · · Score: 2, Insightful

    You make a good point but it's not just DVDs that use compressed video.

    Good point, but it would have been nice to have multiple sources for the tests, not just DVDs. It could be that particular codecs are tripped up more by the compression techniques of DVDs vs. DV, etc., so your choice of codec might be influenced by your input source.

    --
    Ooh, a sarcasm detector. Oh, that's a real useful invention.
  69. DIfference images by duckpoopy · · Score: 1

    When the ground truth (in this case the source dvd) is known, why wouldn't these results be presented as difference images? It would make the artifacts much easier to see.

    --
    word.
  70. You misunderstood me by Anonymous Coward · · Score: 0

    I just proposed a faster method of doing more than 2 passes which gives indistuingishable quality ... to me it seems like a win win scenario.

    If you are anal an exact size target matters, if you are not ...

  71. Terms that "survive termination" by yerricde · · Score: 1

    So now only copyright laws apply to your usage of the software. I which all the restrictive licenses had clauses like that.

    Except where you get to the part that the disclaimer of warranty, limitation of liability, ban on reverse engineering, etc. "survive termination of this License." Is this enforceable?

    --
    Will I retire or break 10K?
  72. Have you considered using? by Anonymous Coward · · Score: 0

    http://www.matroska.org/

    Support the future of video and audio encoding : matroska as container ( http://matroska.org )

    - extensability for future use
    - menues ( like DVDs have )
    - chapter entries
    - selectable subtitle streams
    - selectable audio streams
    - fast seeking in the file
    - high error recovery
    - streamable over internet ( both HTTP and RTP )

    And best of all, the sourcecode of all the libraries developed by the matroska developement team will get licensed under GNU GPL and QPL license types. How can you go wrong?

  73. An extra 10 MB out of 700 MB? by yerricde · · Score: 1

    Instead of a movie being 10MB too short, it can use that 10MB to add to the quality

    Raise your hand if you actually notice the difference between a 689 MB video and a 699 MB video during normal viewing.

    (less than 0.5% of hands go up)

    I'd rather lose 10 MB so that I can include extras such as the necessary codecs, a .lrc file for captioning, etc.

    --
    Will I retire or break 10K?
    1. Re:An extra 10 MB out of 700 MB? by Anonymous Coward · · Score: 0

      Raise your hand if you actually notice the difference between a 689 MB video and a 699 MB video during normal viewing.

      It's noticible if the 689 MB video is a single-pass encode, and the 699 MB video is a two-pass. The file doesn't just get bigger, it's encoded more efficiently, so action scenes get a higher bitrate and will look better (low-motion scenes would actually decrease in quality, but it shouldn't be obvious). The difference is not huge, but two-pass encoding is usually automated, so there's little reason not to do it if your software supports it.

      Even with a 699 MB video, you probably still have room for codecs and subtitles on a standard 80 minute CD (702.8 MB). If not, you can always set the target size to 690 MB.

  74. Have you considered matroska ??? by Anonymous Coward · · Score: 0

    http://www.matroska.org/

    It was made to be more extensible for the future. (This is subjective as the future isn't here, but it was a top priority to ensure nearly anything could be stored in Matroksa for the next 10 years.)

    Support the future of video and audio encoding : matroska as container ( http://matroska.org )

    - extensability for future use
    - menues ( like DVDs have )
    - chapter entries
    - selectable subtitle streams
    - selectable audio streams
    - fast seeking in the file
    - high error recovery
    - streamable over internet ( both HTTP and RTP )

    And best of all, the sourcecode of all the libraries developed by the matroska developement team will get licensed under GNU GPL and QPL license types. How can you go wrong?

  75. Spyware by Anonymous Coward · · Score: 0

    I just d/led the latest rev of Gordian Knot and low and behold it installs Gator among other things. Did an Adaware check to remove it. So beware of "free" software.

  76. Re:Isn't there something missing from this "review by Doom9 · · Score: 3, Funny

    I would gladly encode material from the digital master tapes but my chances of getting access to those are pretty slim :/

  77. Re:Why use LCD? by Versa · · Score: 2, Insightful

    What I really don't understand is why he reviewed the videos on an LCD monitor, LCD's that are known to have inferior color to CRTs. CRT's can't reproduce the range of colors that a CRT can.

  78. 3ivx by azav · · Score: 1

    3ivx at QP 12 would look like crud. Use QP 5 or higher. In numbers, that's 85%.

    Kid tested, Mother approved.

    --
    - Zav - Imagine a Beowulf cluster of insensitive clods...
  79. Does the word "phrase" mean anything to you ;) by ziriyab · · Score: 1
    Does the phrase 'slashdotted' mean anything to you?

    phrase: A sequence of words intended to have meaning.

  80. see eyeball.com by XMichael · · Score: 0

    eyeball.com has a codec that kinda blows all these away, check it out http://www.eyeball.com/

  81. Fair Enough But... by ignipotentis · · Score: 1

    It is all well and good to give the codec an ideal place to be run. My favorite tourture test (and which curently Windows Media v9 is by far in the lead) is a live encoding test.

    I'm just a college student with little room, and so my computer is an all in one. As such, it is my pvr. I use the ATI All-In-Wonder 8500 DV.

    While i have a 30 Gig drive dedicated for pvr purposes, it sucks recording in mpeg1 or mpeg2 because of the massive file sizes it creates.

    I set out to find the codec that works best for live recordings of TV. Divx seems to do well video wise, but the audio gets out of sync fast. Xvid sucks on a live recording. I am able to do a 800x600 capture of live tv with WMV9 and not lose sync, and when viewed at a slight distance (4 feet) is good enough to watch what i missed.

    The main benifit is that this translates my 30 gig drive into aprox 30 hours of storage. Get the other codecs to let me record live and not consume all my resources and i'll be happy as a clam.

    --
    Don't waste time... procrastinate now!
  82. A question about gamma correction by r6144 · · Score: 1
    It seems to me that most video files does not have gamma correction, i.e., half the value (of R' G' B') means half the intensity.

    I haven't read the standard. Is this really so?

    1. Re:A question about gamma correction by captaineo · · Score: 1

      No format that I am aware of uses linear 8-bit color components. 8 bits doesn't give you enough steps in brightness at the low end of the scale. If you look at an image in 8-bit linear, you'd see horrible banding in dark areas. You need at least 12 or 16 bits for a linear format.

      Most video codecs, even those primarily intended for viewing on a computer screen, use the Y'CbCr color space, which is the standard for digitized NTSC and PAL video. The Y' component is non-linear and has a defined gamma encoding.

  83. Re:Isn't there something missing from this "review by Svartalf · · Score: 1

    I would gladly encode material from the digital master tapes but my chances of getting access to those are pretty slim :/
    ...to none, and slim just took a powder...

    Point taken. But, you might also, as someone else that responded to me pointed out, use other sources than just DVD's. Satellite, captured NTSC, etc. would also be very good comparisons. What you're checking is something useful- which does the best job under the conditions provided by DVD's. I want more info than that (yeah, I know, do it yourself- if I had time, I might... :-)
    --
    I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas