[matroska-devel] Re: filesize comparison

Ludovic "BlackSun" Vialle blacksun at corecodec.com
Mon Apr 21 14:04:27 CEST 2003


Nice comparison, matroska is way better than avi and ogm :D

Moritz Bunkus wrote:
> Hi everyone.
> 
> After modifying my cue creation code (it's more flexible now - for each
> track I can either not create an index at all, only include blocks which
> contain I frames or include all blocks) I've done some file size
> comparisons. Here are the results:
> 
> I first started with a movie, 'The Transporter'. The original is an XviD
> with VBR MP3 which I converted to several Matroska files:
> 
> 734322688 The Transporter.avi
> 
> The standard mode will be not to create cue entries for audio tracks and
> only include blocks that contain I frames for video tracks which results
> in...
> 
> 729528113 The Transporter (cues for I-frames).mkv
> 
> gain (bytes): 4794575 ( = 4.57MB)
> gain (%):       0.65%
> 
> 0.65% does not sound like a big deal, but I think that 4.57MB is quite a
> nice number ;)
> 
> Next in line is a file with cue entries for ALL video frames but not for
> the audio track:
> 
> 734305441 The Transporter (cues for ALL video frames).mkv
> 
> gain (bytes): 17247 ;)
> 
> Still a bit smaller than the original which I quite like.
> 
> The last case is a file with cue entries for all frames for all
> tracks. This seems quite brain damaged, but what the hell, for the sake
> of completeness I tried this one as well:
> 
> 737116933 The Transporter (cues for ALL frames).mkv
> 
> loss (bytes): 2794245 ( = 2.66MB)
> loss (%):       0.38%
> 
> Ok, so much for a movie. Now I wanted to see how 'bad' Matroska is when
> it comes to creating audio only files. Of course MP3 embedded in
> Matroska will be bigger, but Vorbis in Matroska is more
> interesting. Here are the results (with a maximum cluster length of
> 5seconds):
> 
> 3126224 Groove Armada - Suntoucher (quality 0).ogg
> 3142978 Groove Armada - Suntoucher (quality 0).mkv
> 
> loss (bytes): 16754 ( = 0.016MB)
> loss (%): 0.54%
> 
> 5589519 Groove Armada - Suntoucher (quality 4).ogg
> 5590208 Groove Armada - Suntoucher (quality 4).mkv
> 
> loss (bytes): 689 ( = 0.001MB)
> loss (%): 0.01%
> 
> 8000896 Groove Armada - Suntoucher (--alt-preset 160).mp3
> 8060098 Groove Armada - Suntoucher (--alt-preset 160).mkv
> 
> loss (bytes): 59202 ( = 0.056MB)
> loss (%): 0.74%
> 
> So it looks like that Matroska is as good as Ogg at middle bitrates
> while it's definitly 'worse' at very low bitrates. But hey - that's what
> Ogg is optimized for.
> 
> All in all I'm pretty happy with the results. Of course they cannot be
> generalized with such few samples. But it should show the direction that
> Matroska files will take - which is video and audio, not only audio. My
> summary is "yeah! go get 'em!" :)
> 


http://www.matroska.org



More information about the Matroska-devel mailing list