[Flac] FLAC: getting compression level using metaflac
brianw at sounds.wa.com
Thu Jul 5 10:02:59 PDT 2007
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.
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
> 2007/7/4, Scot Thompson <scot.thompson at cox.net>:
> 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: flac-bounces at xiph.org [mailto:flac-bounces at xiph.org] On
> Behalf Of Harry Sack
> Sent: Wednesday, July 04, 2007 7:14 AM
> To: flac at xiph.org
> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Flac