Comparison of compression ratios between FLAC --best and TAK -p4, 5,074 songs compared |
Comparison of compression ratios between FLAC --best and TAK -p4, 5,074 songs compared |
Jun 25 2012, 09:19
Post
#1
|
|
![]() Group: Members Posts: 1060 Joined: 4-May 04 From: France Member No.: 13875 |
This post made me wonder whether I had over-estimated TAK's compression capabilities, so I decided to run a benchmark on my entire music collection.
I used caudec to transcode my 5,074 FLACs (--best, version 1.2.1) to TAK (-p4, version 2.2.0), one album at a time. All songs are CD audio (16 bit / 44.1 kHz, stereo). I measured the size in bytes of all the files comprising the album, as WAV, FLAC and TAK files. I then calculated the compression ratio of the FLACs and the TAKs compared to the WAVs, as a percentage. Finally, I calculated the difference in ratios between FLAC and TAK: that value (also a percentage of the WAV file) is always negative, meaning TAK compressed better than FLAC in all cases. Here are the results, as a CSV file. On average, TAK compressed 2.19% better than FLAC. Here's a list of the top 10 albums where the difference was the most significant:
Note: I used -p4 with TAK simply because I forgot about the existence about -p4m. I later tried it on a couple albums though, and while TAK -p4 is faster than FLAC --best, TAK -p4m is slower. Improvement in compression is unlikely to be much larger than 0.2%, from what I can tell. This post has been edited by skamp: Jun 25 2012, 09:44 -------------------- Save my friend from going homeless: http://outpost.fr/url/308w
|
|
|
|
![]() |
Jun 25 2012, 11:31
Post
#2
|
|
![]() Group: Members Posts: 1060 Joined: 4-May 04 From: France Member No.: 13875 |
Revised CSV with the last column showing the compression improvement of TAK over FLAC, in %. My BASH-fu is stronger than my spreadsheet-fu
This post has been edited by skamp: Jun 25 2012, 11:32 -------------------- Save my friend from going homeless: http://outpost.fr/url/308w
|
|
|
|
skamp Comparison of compression ratios between FLAC --best and TAK -p4 Jun 25 2012, 09:19
Porcus QUOTE (skamp @ Jun 25 2012, 10:19) I then... Jun 25 2012, 10:46
skamp TAKs are on average 96.48% the size of the FLACs, ... Jun 25 2012, 11:13
lvqcl WAV bytes, sum: 227851632252
FLAC bytes, sum: 1417... Jun 25 2012, 11:17![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 06:50 |