CodecComparison

From DiracWiki

Jump to: navigation, search

[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:DiracSnowTheoraMPEG-4WMV-3
..................
Created by:BBC, Tim Borer, Thomas Davies, David Schleef & other contributorsMichael Niedermayer, FFMPEG contributorsOn2 Technologies, Xiph foundationMPEG teamMicrosoft
Design goal, primary license:Free & OSFree & OSFree & OSProprietary and patented, but publicly documented ("open")Proprietary and secret (but got "reversed")
Target public:????Open media geeksProfessionals and like-to-be professionals"windows" users, everybody, noobs ?
Time of becoming useful or popular:not yet, pending for 2009 ?not yetslowly 2004...20091998...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 ??LibTheoraProprietary 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 agoDevelopment status: DoneDevelopment 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, LGPLYES, LGPL, decoding only
(free codecs only) Documentation:PDF, version 2.2.2 from 2008-Aug, cca 1 MiB, still evolvingDraft, cca 20 KiB plain textPDF, cca 1 MiB from 2008,still evolving----
..................
Codec name:DiracSnowTheoraMPEG-4WMV-3
..................
Major transformations of video data / tricks to reduce size:RBG->YUV (or similar), optional chroma subsampling, wavelet compression, optional frame-diffWavelet compression (?)RGB->YUV, chroma subsampling, blocking&mixing, DCT, Huffman, frame-diffRGB->YUV, chroma subsampling, blocking&mixing, DCT, Huffman, frame-diffRGB->YUV, chroma subsampling, blocking&mixing, DCT, Huffman, frame-diff
Preferred container:OGG, MPEG-TS, AVI, moreOnly AVI (?)OGGMP4 or similar MPEG container, AVIWMV/ASF, AVI
Preferred audio codec:Vorbis, FLAC??Vorbis, FLACAAC, MP3WMA, 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 averageabove average ??averageaverage ??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 onlyYUV, 4:2:0 (?)??
Lossless compression also possible ?YES (?)NO (?)NONONO
DRM supported/possible ?NO (?)??NOYESYES
Streamable ?YES (?)??YESYES (some container subversions)YES (?)
Available encoders:GSTREAMER, FFMPEG2DIRAC, VLC 1.0 MENCODER (warns about "experimental")FFMPEG (buggy), FFMPEG2THEORA, PNG2THEORA example, VLC, NOT supported by MENCODERHardware encoders, proprietary video software, MENCODERWME/WMM
Available decoders and players:VLCMPLAYER onlyMPLAYER, VLC, Opera browser (?), Firefox 3.5, Chrom-browser (?) Hardware players, MPLAYER, VLC, QuickViewWMP, 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)YESYES (very dominant) :-(
Free movie hosting availability:NO (?)N/AYES, growing (mostly Wikimedia)YESYES
..................
Codec name:DiracSnowTheoraMPEG-4WMV-3