The compression level is really only just a convenient shortcut for humans to use when creating a flac file. The real values used during compression include Max LPC order, blocksize, Rice partition order (min,)max, exhaustive model search flag, and mid-side or Adaptive mid- side coding flags. As you can see, there are a lot of parameters and options, to the compression level just represents common combinations. You can't store the level in the metadata because you can create a tuned flac file without any compression level at all. Another thing to consider is that compression level 8 is not always the best for every file.

Brian Willoughby
Sound Consulting


On Jul 5, 2007, at 02:41, Harry Sack wrote:
Why isn't the compression level added in a metadata block by the flac encoder itself (just like the encoder version)? In this way all programs that read the file can see what compression level was used.

thx

2007/7/4, Scot Thompson <[EMAIL PROTECTED]>:
This has been asked many times. The answer is no. I suggest saving the compression level into a tag for future reference, but that won't help you with files you get from unknown locations.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harry Sack
Sent: Wednesday, July 04, 2007 7:14 AM
To: [email protected]
Subject: [Flac] FLAC: getting compression level using metaflac

Hi FLAC list!

I have a question (maybe a strange one) about getting the compression level (0-8) using metaflac. So I want to know for a given FLAC file what compression level was used to compress that file. I tried using the --list option but this doesn't give any information about this.

Is there a way to get the compression level of a given FLAC file using metaflac or another tool?

thx


_______________________________________________
Flac mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac

Reply via email to