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

15 of 264 comments (clear)

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

  2. 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.
  3. 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?

  4. 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.
  5. 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
  6. 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!

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

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

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

  9. 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
  10. 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.

  11. 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!
  12. 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.
  13. 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.
  14. 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.