CodecComparison
From DiracWiki
[edit] Comparison table
(please add what's missing and fix what's wrong :-) , most notably additional justification of inventing a new codec and pushing into a such oversaturated market)
Comparing Dirac against some other notable lossy video codecs:
| Codec name: | Dirac | Snow | Theora | MPEG-4 | WMV-3 | |
| ... | ... | ... | ... | ... | ... | |
| Created by: | BBC, Tim Borer, Thomas Davies, David Schleef & other contributors | Michael Niedermayer, FFMPEG contributors | On2 Technologies, Xiph foundation | MPEG team | Microsoft | |
| Design goal, primary license: | Free & OS | Free & OS | Free & OS | Proprietary and patented, but publicly documented ("open") | Proprietary and secret (but got "reversed") | |
| Target public: | ?? | ?? | Open media geeks | Professionals and like-to-be professionals | "windows" users, everybody, noobs ? | |
| Time of becoming useful or popular: | not yet, pending for 2009 ? | not yet | slowly 2004...2009 | 1998...2004 (had already versions MPEG-1 and MPEG-2 before) | 2002...2004 (had already versions WMV-1 and WMV-2 before) | |
| Reference implementation: | There are 2: "Dirac" and "Schrodinger" | MENCODER ?? | LibTheora | Proprietary MPEG lib ? | WME/WMM, WMP, codec DLL (?) | |
| Reference implementation details: | "Dirac": C++, LGPL, 1.0.2 is out "Schrodinger": plain C, BSD-like license, 1.0.7 is out Bitstream frozen, mostly done (?) | Alpha (?) | Libtheora: plain C, BSD-like license, 1.0 released 2008-Nov, 1.1a2 2009-May, bitstream "frozen" already years ago | Development status: Done | Development status: WMV-3 done, WMV-4 might come soon :-( | |
| (proprietary codecs only) Alternative OS implementation (legal status still grey): | -- | -- | -- | YES, several, both encoding and decoding, LGPL | YES, LGPL, decoding only | |
| (free codecs only) Documentation: | PDF, version 2.2.2 from 2008-Aug, cca 1 MiB, still evolving | Draft, cca 20 KiB plain text | PDF, cca 1 MiB from 2008,still evolving | -- | -- | |
| ... | ... | ... | ... | ... | ... | |
| Codec name: | Dirac | Snow | Theora | MPEG-4 | WMV-3 | |
| ... | ... | ... | ... | ... | ... | |
| Major transformations of video data / tricks to reduce size: | RBG->YUV (or similar), optional chroma subsampling, wavelet compression, optional frame-diff | Wavelet compression (?) | RGB->YUV, chroma subsampling, blocking&mixing, DCT, Huffman, frame-diff | RGB->YUV, chroma subsampling, blocking&mixing, DCT, Huffman, frame-diff | RGB->YUV, chroma subsampling, blocking&mixing, DCT, Huffman, frame-diff | |
| Preferred container: | OGG, MPEG-TS, AVI, more | Only AVI (?) | OGG | MP4 or similar MPEG container, AVI | WMV/ASF, AVI | |
| Preferred audio codec: | Vorbis, FLAC | ?? | Vorbis, FLAC | AAC, MP3 | WMA, MP3 | |
| Image data quality, size reduction factor: | above average ?? | above average ?? | marginally below average, improvement in 1.1 (now alpha) | average ?? | average ?? | |
| Codec "cost" (algo complexity, CPU performance): | noticeably above average | above average ?? | average | average ?? | average ?? | |
| Video size: | wide-range | ?? | wide-range:1 to 10'485'760 pixels per dimension | ?? | ?? | |
| Color models, subsampling, bitdeph: | YCbCr(YUV), YCoCg and more (one luma plus 2 chroma planes), sub 4:4:4, 4:2:2, 4:2:0, wide-range bitdepth | ?? | YCbCr(YUV), mostly 4:2:0, also 4:4:4 and 4:2:2 possible, bitdepth 3x8bpp only | YUV, 4:2:0 (?) | ?? | |
| Lossless compression also possible ? | YES (?) | NO (?) | NO | NO | NO | |
| DRM supported/possible ? | NO (?) | ?? | NO | YES | YES | |
| Streamable ? | YES (?) | ?? | YES | YES (some container subversions) | YES (?) | |
| Available encoders: | GSTREAMER, FFMPEG2DIRAC, VLC 1.0 | MENCODER (warns about "experimental") | FFMPEG (buggy), FFMPEG2THEORA, PNG2THEORA example, VLC, NOT supported by MENCODER | Hardware encoders, proprietary video software, MENCODER | WME/WMM | |
| Available decoders and players: | VLC | MPLAYER only | MPLAYER, VLC, Opera browser (?), Firefox 3.5, Chrom-browser (?) | Hardware players, MPLAYER, VLC, QuickView | WMP, MPLAYER, VLC | |
| (free codecs only) Availability and quality of examples of codec/lib usage: | ?? | NO ? | Partial, leaves space for improvements | -- | -- | |
| Movies availability: | Very few so far (see Main_Page) | NO ?? | YES, growing (mostly Wikimedia, see also list at Xiph Wiki) | YES | YES (very dominant) :-( | |
| Free movie hosting availability: | NO (?) | N/A | YES, growing (mostly Wikimedia) | YES | YES | |
| ... | ... | ... | ... | ... | ... | |
| Codec name: | Dirac | Snow | Theora | MPEG-4 | WMV-3 |
