FLAC Logo
  home  |   news  |   download  |   features  |   goals  |   format  |   id  |   comparison  |   documentation  |   developers  
comparison

The purpose of the comparison page is not only to show how compression ratios and encoding times using the flac reference encoder compare to other lossless encoders, but also to compare features (for example, some coders archive only and files must be uncompressed completely before playback can start). Keep a few things in mind:

  • As far as I know, only two of the lossless encoders out there (flac and Kexis) are truly free (source code for Shorten is available but the license is more restrictive). Most others give out free binaries, but without access to the source, you are leaving your data to the whim of the maintainer for eternity; you have no way to port the program to another OS or fix it if it breaks. This can be a serious drawback unless the format has world-class clout (like MP3).
  • The compression ratios and times are representative only of the reference encoder. They are not indicative of the limits of all FLAC encoders or the FLAC format itself since the format is open and extensible, and anyone is free to write a better FLAC encoder. And it is almost certain that the reference encoder itself will improve.
  • Since FLAC supports streaming, it is at a slight disadvantage to the formats that don't because they don't have the extra overhead of all those frame headers.

I make an effort to keep this information as accurate as possible, but if any of the data is wrong, let me know and I'll correct it.

Reviewed encoders:

  • flac of course.
  • Kexis - An open-source source codec. Still in the alpha stage. No player or library support yet.
  • LPAC - A closed source codec. At least it's available for more than just Windows, but there's only a Winamp plugin.
  • Monkey's Audio - A closed source, Windows-only codec, with a Winamp plugin.
  • Ogg Squish - An open source source codec that is no longer maintained. The version I tested, 0.98, was the latest I could find. I don't have Windows timing results but it is among the 'fast' coders, based on UNIX tests.
  • Pegasus-SPS - A closed source, Windows-only codec.
  • RKAU - A closed source, Windows-only codec.
  • Shorten - A.J. Robinson's well-known codec; source is available here.
  • WaveZIP - A closed source, Windows-only archiver. Uses the MUSICompress[tm] engine which supposedly has a patent. I used to have a link to the company that makes WaveZIP (GadgetLabs) but apparently they have gone out of business (maybe for trying to sell something that should cost nothing).
  • WavPack - A closed source, Windows-only archiver.

Encoders I couldn't get a copy of:

  • AudioPak
  • WavARC

If you take maximum compression ratio and speed out of the picture (as you will see later, most coders exhibit similar performance), here is a subjective sort based on overall "usefulness". As far as features go, having source code gives you the most freedom since you can add anything you need that is missing; besides, open source projects tend to get better faster than closed source ones. A close second (depending on the user) would be OS support or plugin support.

Codec Source Available? Plugins Available? Streamable? Seekable? Cost OS support
flac v0.10 YES YES (Winamp, XMMS) YES YES FREE ANY (source)
Shorten v3.2 YES YES (Winamp, XMMS) no no (v3 only) FREE ANY (source)
Ogg Squish 0.98 YES no (?) YES YES FREE ANY (source)
Kexis 0.2.2 YES no no no FREE ANY (source)
LPAC v1.20 (codec 2.0) no YES (Winamp only) no? YES FREE Windows/Linux/Solaris
Monkey's Audio v3.80 no YES (Winamp only) YES YES FREE Windows only
RKAU v1.06 no YES (Winamp only) no YES FREE Windows only
WavPack v3.6 no YES (Winamp only) no YES FREE Windows only
WaveZIP v2 no no no no FREE (24-bit costs $) Windows only
Pegasus-SPS no no no no $39 (free trial) Windows only

The machine I used for encoding the test files is a PII-333 with 256 megs of RAM, running Windows NT 4.0 SP5. Unfortunately, Windows is the lowest-common-denominator platform for all the encoders.

The input corpus currently consists entirely of CD music tracks. In the future it may include more kinds of input (like speech, other sample rates/resolutions, etc). There are 14 tracks whose genres range from death metal to pop to classical to chant.

In all tables, the results are sorted by compression ratio, which is compressed size / uncompressed size. The first table is a summary of results on all input tracks. The remaining table shows the results of the encoders on each track.

Some interesting things to note: LPAC quality settings are not too stable with -r (which allows seeking during playback) turned on. In most cases the 'normal' mode makes the smallest file, and much faster. RKAU also has a tendency to get bigger in the 'high' mode. Shorten's method for quantizing the LPC coefficients is not very good which is the main reason why the fixed predictor runs are both smaller and faster.

Another ironic fact is that the encoders that are patented or cost money turn out to be the worst by most measures. SPS is so archane and crippled that I gave up trying to put together results for it after one track.

Codec Encode time Decode time Compressed size Compression ratio
Monkey's Audio 3.80 (extra high)21:09.65 397.89 MB0.5097
RKAU 1.06 (normal)54:05.71 397.96 MB0.5098
RKAU 1.06 (high)137:00.11 398.29 MB0.5103
Monkey's Audio 3.80 (high)7:59.74 404.08 MB0.5176
LPAC 1.20 (-r, high)91:19.47 409.72 MB0.5249
LPAC 1.20 (-r, normal)21:22.25 409.81 MB0.5250
LPAC 1.20 (-r, extra high)112:53.78 410.54 MB0.5260
flac 0.10 (-8)55:36.36 411.86 MB0.5276
flac 0.10 (-5, default)13:34.01 413.55 MB0.5298
flac 0.10 (-3)10:07.74 419.41 MB0.5373
WavPack 3.6 (high)10:21.44 420.92 MB0.5393
Ogg Squish 0.98? 431.08 MB0.5522
flac 0.10 (-1)8:57.16 432.42 MB0.5540
Shorten 3.2 (-p0 -b256, default)10:05.16 433.56 MB0.5554
Kexis 0.2.217:50.23 434.33 MB0.5564
Shorten 3.2 (-p8 -b2048)12:21.27 438.86 MB0.5622
WaveZIP8:41.72 452.95 MB0.5802
RIFF WAVE  780.56 MB1.0000

Here are the results for each individual track.

Track Codec Encode time Compressed size Compression ratio
Dream Theater
6:00
58.47 MB
    
Monkey's Audio (extra high)1:39.0843.70 MB0.7475
Monkey's Audio (high)0:41.9843.85 MB0.7500
RKAU 1.06 (high)8:12.4443.87 MB0.7503
RKAU 1.06 (normal)2:59.5643.88 MB0.7504
flac 0.10 (-8)4:17.3244.33 MB0.7581
flac 0.10 (-5, default)1:04.4344.40 MB0.7594
LPAC 1.20 (-r, high)6:51.2444.42 MB0.7598
LPAC 1.20 (-r, normal)1:45.7244.44 MB0.7601
LPAC 1.20 (-r, extra high)7:50.8044.44 MB0.7601
Shorten 3.2 (-p8 -b2048)0:58.4244.75 MB0.7654
flac 0.10 (-3)0:49.0544.78 MB0.7658
Ogg Squish 0.98?45.17 MB0.7725
WavPack 3.6 (high)0:49.2145.37 MB0.7760
Pegasus-SPS4:45.0045.40 MB0.7765
Kexis 0.2.21:25.0446.52 MB0.7956
flac 0.10 (-1)0:44.1246.64 MB0.7978
Shorten 3.2 (-p0 -b256, default)0:47.1946.68 MB0.7984
WaveZIP0:38.9947.22 MB0.8077
Eddie Warner
Titus
27.87 MB
    
RKAU 1.06 (high)3:34.7914.54 MB0.5216
RKAU 1.06 (normal)1:12.2514.60 MB0.5238
flac 0.10 (-8)1:58.0315.00 MB0.5384
flac 0.10 (-5, default)0:29.1815.12 MB0.5424
flac 0.10 (-3)0:21.9615.43 MB0.5537
Shorten 3.2 (-p0 -b256, default)0:20.7115.78 MB0.5662
Monkey's Audio (extra high)0:45.4716.04 MB0.5754
Monkey's Audio (high)0:13.9916.11 MB0.5779
Shorten 3.2 (-p8 -b2048)0:26.3716.21 MB0.5818
flac 0.10 (-1)0:19.2416.38 MB0.5879
LPAC 1.20 (-r, high)2:59.2916.60 MB0.5956
LPAC 1.20 (-r, extra high)3:24.9216.61 MB0.5959
LPAC 1.20 (-r, normal)0:40.9116.65 MB0.5973
Ogg Squish 0.98?17.03 MB0.6112
WavPack 3.6 (high)0:15.9617.22 MB0.6180
Kexis 0.2.20:32.8117.40 MB0.6242
WaveZIP0:17.5517.89 MB0.6420
Tool
Forty-six & 2
64.25 MB
    
Monkey's Audio (extra high)1:48.9439.30 MB0.6116
Monkey's Audio (high)0:33.4339.51 MB0.6149
RKAU 1.06 (normal)3:34.7539.93 MB0.6214
RKAU 1.06 (high)8:37.4239.97 MB0.6220
LPAC 1.20 (-r, normal)1:52.2240.57 MB0.6314
LPAC 1.20 (-r, high)7:36.5540.61 MB0.6320
LPAC 1.20 (-r, extra high)9:49.6440.71 MB0.6336
flac 0.10 (-8)4:37.5640.88 MB0.6363
flac 0.10 (-5, default)1:08.8541.04 MB0.6387
WavPack 3.6 (high)0:52.3741.72 MB0.6492
flac 0.10 (-3)0:52.3041.74 MB0.6496
Ogg Squish 0.98?42.27 MB0.6578
flac 0.10 (-1)0:46.4442.70 MB0.6646
Kexis 0.2.21:30.8542.75 MB0.6652
Shorten 3.2 (-p8 -b2048)1:02.4943.06 MB0.6701
Shorten 3.2 (-p0 -b256, default)0:52.0643.18 MB0.6721
WaveZIP0:42.8444.52 MB0.6930
Cannibal Corpse
Mummified In Barbed Wire
33.37 MB
    
Monkey's Audio (extra high)0:49.2023.47 MB0.7033
Monkey's Audio (high)0:23.2523.66 MB0.7087
LPAC 1.20 (-r, normal)1:01.1623.75 MB0.7116
LPAC 1.20 (-r, high)5:13.5723.92 MB0.7168
LPAC 1.20 (-r, extra high)6:04.2723.95 MB0.7175
RKAU 1.06 (normal)1:32.2024.04 MB0.7202
RKAU 1.06 (high)3:21.7024.04 MB0.7202
flac 0.10 (-8)2:26.1924.18 MB0.7244
flac 0.10 (-5, default)0:36.6524.30 MB0.7281
Shorten 3.2 (-p8 -b2048)0:33.9825.12 MB0.7526
flac 0.10 (-3)0:27.7725.16 MB0.7539
Ogg Squish 0.98?25.23 MB0.7558
WavPack 3.6 (high)0:28.0725.44 MB0.7621
Kexis 0.2.20:47.0726.03 MB0.7799
flac 0.10 (-1)0:24.6526.10 MB0.7818
Shorten 3.2 (-p0 -b256, default)0:27.1926.61 MB0.7972
WaveZIP0:22.2526.89 MB0.8058
Alanis Morisette
Hand In My Pocket
39.09 MB
    
Monkey's Audio (extra high)1:03.9822.85 MB0.5845
Monkey's Audio (high)0:25.7023.04 MB0.5893
RKAU 1.06 (high)5:54.6823.16 MB0.5925
RKAU 1.06 (normal)2:23.6323.19 MB0.5933
flac 0.10 (-8)2:47.0223.45 MB0.5998
LPAC 1.20 (-r, normal)1:07.5823.45 MB0.6000
LPAC 1.20 (-r, high)4:47.0323.49 MB0.6008
LPAC 1.20 (-r, extra high)5:50.5323.52 MB0.6016
flac 0.10 (-5, default)0:41.3923.56 MB0.6026
Ogg Squish 0.98?24.11 MB0.6167
WavPack 3.6 (high)0:31.4424.30 MB0.6217
flac 0.10 (-3)0:31.1924.32 MB0.6220
Shorten 3.2 (-p8 -b2048)0:37.2324.72 MB0.6323
Kexis 0.2.20:55.1324.80 MB0.6345
flac 0.10 (-1)0:28.0024.81 MB0.6347
Shorten 3.2 (-p0 -b256, default)0:29.8225.34 MB0.6481
WaveZIP0:28.0525.95 MB0.6638
Gloria Estefan
Conga
45.15 MB
    
Monkey's Audio (extra high)1:15.7930.12 MB0.6670
Monkey's Audio (high)0:29.6830.32 MB0.6716
flac 0.10 (-8)3:17.0530.75 MB0.6811
RKAU 1.06 (high)6:52.6930.83 MB0.6828
flac 0.10 (-5, default)0:48.8230.86 MB0.6833
RKAU 1.06 (normal)2:41.4230.87 MB0.6837
LPAC 1.20 (-r, normal)1:20.2931.03 MB0.6871
WavPack 3.6 (high)0:37.1531.04 MB0.6875
Ogg Squish 0.98?31.06 MB0.6879
LPAC 1.20 (-r, high)5:33.2131.06 MB0.6879
LPAC 1.20 (-r, extra high)6:39.2831.11 MB0.6889
flac 0.10 (-3)0:37.1131.63 MB0.7006
Shorten 3.2 (-p8 -b2048)0:44.2731.76 MB0.7034
Kexis 0.2.21:06.7531.86 MB0.7056
flac 0.10 (-1)0:33.1531.99 MB0.7085
Shorten 3.2 (-p0 -b256, default)0:36.3932.47 MB0.7191
WaveZIP0:29.4233.02 MB0.7313
Cream
White Room
53.01 MB
    
RKAU 1.06 (high)8:15.4634.30 MB0.6469
RKAU 1.06 (normal)3:12.9934.35 MB0.6479
Monkey's Audio (extra high)1:28.4534.65 MB0.6535
Monkey's Audio (high)0:24.1734.91 MB0.6586
flac 0.10 (-8)3:50.4735.00 MB0.6602
LPAC 1.20 (-r, normal)1:34.1635.10 MB0.6621
LPAC 1.20 (-r, high)6:39.2935.17 MB0.6633
flac 0.10 (-5, default)0:57.0835.17 MB0.6634
LPAC 1.20 (-r, extra high)7:39.2835.19 MB0.6638
flac 0.10 (-3)0:43.3635.37 MB0.6672
Shorten 3.2 (-p8 -b2048)0:51.3335.40 MB0.6677
Ogg Squish 0.98?35.74 MB0.6742
WavPack 3.6 (high)0:44.1835.82 MB0.6758
Shorten 3.2 (-p0 -b256, default)0:40.7636.42 MB0.6870
flac 0.10 (-1)0:37.7936.56 MB0.6897
Kexis 0.2.21:13.4636.64 MB0.6911
WaveZIP0:35.7737.13 MB0.7004
Maurice Ravel
Fanfare from "L'eventail de Jeanne"
20.82 MB
    
RKAU 1.06 (normal)1:46.516.86 MB0.3297
RKAU 1.06 (high)3:53.546.90 MB0.3316
Monkey's Audio (extra high)0:30.307.09 MB0.3407
LPAC 1.20 (-r, normal)0:30.937.47 MB0.3586
LPAC 1.20 (-r, extra high)3:06.277.48 MB0.3591
LPAC 1.20 (-r, high)2:21.167.48 MB0.3593
Monkey's Audio (high)0:12.587.56 MB0.3634
flac 0.10 (-8)1:21.117.70 MB0.3699
flac 0.10 (-5, default)0:19.787.73 MB0.3713
flac 0.10 (-3)0:14.587.80 MB0.3745
WavPack 3.6 (high)0:16.117.99 MB0.3838
flac 0.10 (-1)0:12.888.15 MB0.3913
Ogg Squish 0.98?8.15 MB0.3914
Shorten 3.2 (-p0 -b256, default)0:13.688.19 MB0.3932
Shorten 3.2 (-p8 -b2048)0:17.568.29 MB0.3983
Kexis 0.2.20:26.888.52 MB0.4091
WaveZIP0:13.118.72 MB0.4193
Maurice Ravel
String Quartet (4th movement)
56.18 MB
    
Monkey's Audio (extra high)1:29.2620.87 MB0.3715
RKAU 1.06 (normal)3:51.4221.46 MB0.3820
Monkey's Audio (high)0:34.2921.55 MB0.3836
RKAU 1.06 (high)10:39.0521.56 MB0.3838
LPAC 1.20 (-r, high)6:28.1422.30 MB0.3969
LPAC 1.20 (-r, normal)1:28.0222.32 MB0.3972
LPAC 1.20 (-r, extra high)8:13.8622.38 MB0.3983
WavPack 3.6 (high)0:43.8422.53 MB0.4010
flac 0.10 (-8)3:57.7322.61 MB0.4025
flac 0.10 (-5, default)0:56.7722.69 MB0.4039
flac 0.10 (-3)0:41.8523.22 MB0.4133
flac 0.10 (-1)0:36.7723.38 MB0.4161
Kexis 0.2.21:14.8123.42 MB0.4168
Shorten 3.2 (-p0 -b256, default)0:40.3023.71 MB0.4221
Ogg Squish 0.98?24.12 MB0.4293
Shorten 3.2 (-p8 -b2048)0:49.1825.59 MB0.4554
WaveZIP0:36.6025.84 MB0.4600
Sergei Prokofiev
Piano Concerto No.3 (3rd movement)
100.68 MB
    
Monkey's Audio (extra high)2:37.5434.55 MB0.3431
RKAU 1.06 (normal)6:34.9735.31 MB0.3507
Monkey's Audio (high)1:00.4735.46 MB0.3521
LPAC 1.20 (-r, high)10:12.4735.74 MB0.3549
RKAU 1.06 (high)18:34.2035.80 MB0.3555
LPAC 1.20 (-r, extra high)12:18.7935.83 MB0.3558
LPAC 1.20 (-r, normal)2:33.4336.05 MB0.3580
WavPack 3.6 (high)1:17.0637.88 MB0.3762
flac 0.10 (-8)6:58.4638.08 MB0.3782
flac 0.10 (-5, default)1:40.3638.21 MB0.3794
flac 0.10 (-3)1:14.1338.56 MB0.3830
flac 0.10 (-1)1:05.0739.35 MB0.3908
Shorten 3.2 (-p0 -b256, default)1:12.5139.49 MB0.3921
Kexis 0.2.22:12.7939.89 MB0.3962
Ogg Squish 0.98?41.86 MB0.4157
WaveZIP1:05.6043.67 MB0.4337
Shorten 3.2 (-p8 -b2048)1:29.1945.34 MB0.4502
Frederic Chopin
Prelude No.24 in d minor
27.46 MB
    
Monkey's Audio (extra high)0:42.6910.53 MB0.3834
Monkey's Audio (high)0:19.6910.77 MB0.3921
LPAC 1.20 (-r, high)3:21.6110.91 MB0.3973
LPAC 1.20 (-r, normal)0:41.7910.92 MB0.3976
LPAC 1.20 (-r, extra high)3:56.3610.93 MB0.3979
RKAU 1.06 (normal)1:58.4210.97 MB0.3994
RKAU 1.06 (high)5:20.7111.21 MB0.4083
WavPack 3.6 (high)0:22.3211.52 MB0.4193
flac 0.10 (-8)1:54.3711.69 MB0.4255
flac 0.10 (-5, default)0:27.7711.72 MB0.4266
flac 0.10 (-3)0:20.1011.74 MB0.4275
flac 0.10 (-1)0:17.5011.86 MB0.4320
Shorten 3.2 (-p0 -b256, default)0:19.2112.05 MB0.4386
Kexis 0.2.20:37.6112.14 MB0.4419
WaveZIP0:18.7513.08 MB0.4765
Ogg Squish 0.98?13.31 MB0.4845
Shorten 3.2 (-p8 -b2048)0:24.2314.40 MB0.5242
Domenico Scarlatti
Sonata K.42 (arr.Yepes for guitar)
16.39 MB
    
Monkey's Audio (extra high)0:25.796.96 MB0.4245
RKAU 1.06 (high)3:09.406.96 MB0.4246
RKAU 1.06 (normal)1:14.436.97 MB0.4252
Monkey's Audio (high)0:10.287.14 MB0.4356
LPAC 1.20 (-r, normal)0:25.987.27 MB0.4436
LPAC 1.20 (-r, high)2:21.307.34 MB0.4480
flac 0.10 (-8)1:10.017.37 MB0.4497
LPAC 1.20 (-r, extra high)3:00.917.38 MB0.4500
flac 0.10 (-5, default)0:16.417.40 MB0.4512
WavPack 3.6 (high)0:13.177.41 MB0.4520
flac 0.10 (-3)0:12.097.43 MB0.4530
Shorten 3.2 (-p0 -b256, default)0:11.437.48 MB0.4564
Kexis 0.2.20:21.797.50 MB0.4572
flac 0.10 (-1)0:10.487.53 MB0.4590
Ogg Squish 0.98?7.74 MB0.4723
WaveZIP0:10.567.83 MB0.4781
Shorten 3.2 (-p8 -b2048)0:14.598.20 MB0.5004
The Benedictine Monks of
Santo Domingo de Silos
Laetatus sum
24.26 MB
    
RKAU 1.06 (high)3:15.2912.21 MB0.5031
RKAU 1.06 (normal)1:25.4812.21 MB0.5034
Monkey's Audio (extra high)0:41.1912.47 MB0.5138
Monkey's Audio (high)0:15.6912.68 MB0.5228
LPAC 1.20 (-r, normal)0:41.2212.75 MB0.5253
flac 0.10 (-8)1:44.8512.82 MB0.5285
LPAC 1.20 (-r, high)3:40.6512.88 MB0.5309
LPAC 1.20 (-r, extra high)4:53.8112.92 MB0.5323
flac 0.10 (-5, default)0:25.6312.92 MB0.5324
flac 0.10 (-3)0:18.5612.98 MB0.5349
WavPack 3.6 (high)0:20.2113.15 MB0.5420
Kexis 0.2.20:34.0413.30 MB0.5481
Shorten 3.2 (-p0 -b256, default)0:17.8713.32 MB0.5489
flac 0.10 (-1)0:16.3313.34 MB0.5499
Shorten 3.2 (-p8 -b2048)0:22.1813.42 MB0.5531
Ogg Squish 0.98?13.41 MB0.5528
WaveZIP0:16.3713.72 MB0.5655
L. Subramaniam
Raga Sivapriya
213.56 MB
    
RKAU 1.06 (high)47:18.7892.94 MB0.4351
RKAU 1.06 (normal)19:37.6893.31 MB0.4369
Monkey's Audio (extra high)5:51.9795.30 MB0.4462
Monkey's Audio (high)2:14.5497.52 MB0.4566
LPAC 1.20 (-r, high)23:13.9697.80 MB0.4579
flac 0.10 (-8)15:16.1997.99 MB0.4588
LPAC 1.20 (-r, normal)5:46.8498.04 MB0.4590
LPAC 1.20 (-r, extra high)30:04.0698.10 MB0.4593
flac 0.10 (-5, default)3:40.8998.44 MB0.4609
flac 0.10 (-3)2:43.6999.25 MB0.4647
WavPack 3.6 (high)2:50.3599.53 MB0.4660
Ogg Squish 0.98?101.88 MB0.4770
Shorten 3.2 (-p8 -b2048)3:30.25102.60 MB0.4804
Shorten 3.2 (-p0 -b256, default)2:56.04102.84 MB0.4815
Kexis 0.2.24:51.20103.57 MB0.4849
flac 0.10 (-1)2:24.74103.63 MB0.4852
WaveZIP2:25.86107.47 MB0.5032

nbsp;Copyright (c) 2000,2001 Josh Coalson