Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Strongest FLAC compression possible? (Read 5137 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Strongest FLAC compression possible?

Currently, I'm ripping my entire CD collection and compressing into FLACs.  I'm interested in making the FLACs as small as possible and have no concern whatsoever for encoding time.

To achieve this, I'm currently using -V -p -l 12 -b 4096 -m -e -r 8.
(Those who use FLAC regularly will note these settings are even stronger than -8.  I tried using -r 16 which the documentation states is supported, but anything over -r 8 caused an error in my tests.)


My question is: what settings, if any, would allow for even better compression?

Strongest FLAC compression possible?

Reply #1
You could try flake, or cudaflac.  They might be able to squeeze a little more compression out.

Strongest FLAC compression possible?

Reply #2
You could try flake, or cudaflac.  They might be able to squeeze a little more compression out.

Thanks!  I'm not interested in flake since the current version doesn't support metadata (though it'd be great to see the optimizations applied in the reference FLAC).  And it's my understanding that "cuda flac" is a class of Nvidia GPU-based encoders.  If so, is there a specific one you'd recommend?

Strongest FLAC compression possible?

Reply #3
I'm interested in making the FLACs as small as possible and have no concern whatsoever for encoding time.


FWIW, FLAC -8 is only 0.35% smaller than FLAC -5 on my music collection, and the difference between -8 and your settings is probably going to be a lot smaller than that. It's just not worth it.
Also, see FLACCL.

Strongest FLAC compression possible?

Reply #4
Quote
Also, see FLACCL.

This wiki page is a bit outdated: CUETools 2.1.4 contains FlacCL encoder ver. 0.4.

Strongest FLAC compression possible?

Reply #5
The metadata could of course be transferred to flake-encoded files afterwards, if you are a bit handy.

But those who are truly obsessed with compression, should maybe consider other codecs than FLAC, which was optimized for decoding speed. There is really no way to improve over FLAC without sacrificing some degree of compatibility, but if that is no issue, then ... TAK.


Strongest FLAC compression possible?

Reply #7
Additional settings "-A tukey(0.5) -A flattop" should bring a bit more compression gain.
http://www.synthetic-soul.co.uk/comparison/lossless/

Thanks for the suggestion.  Not knowing anything about the different -A options, I've left it at default in the past.  I don't suppose you're aware of a website that discusses the different algorithms in depth?

Strongest FLAC compression possible?

Reply #8
If this is for portable use, you may want to experiment with lossyflac, as it will remove some of bits wasted storing noise.