I would like to know why two .flac
files which, allegedly, contain the same data, vary so much in size.
I got two .flac
files of the same music album (same songs, same track lengths, etc.), but they differ in 500+ MB, and I don't understand why.
I would like to know why two .flac
files which, allegedly, contain the same data, vary so much in size.
I got two .flac
files of the same music album (same songs, same track lengths, etc.), but they differ in 500+ MB, and I don't understand why.
Run MediaInfo on the two files. It will tell you why they differ.
FLAC is always lossless as compared to the input file, but that doesn't mean there aren't good reasons why two FLAC files of the same song could differ in size:
FLAC offers multiple levels of lossless compression. The exact same input file compressed with two different compression settings will almost certainly result in two different file sizes.
Most forms of lossless compression share this property: PNG, bzip2, etc. It's a CPU time and memory tradeoff: the more resources you throw at the problem during compression, the more tightly you can compress the data.
The two input song files could differ in some key way, so that each is a lossless version of a different file.
An audio file sampled at 44.1 kHz will result in a smaller FLAC file than an audio file sampled at 96 kHz, even though they are the "same song." This is the nature of a lossless codec: it should preserve differences such as this, which means the file sizes will be different.
The input audio files differ only in bit depths, one 16-bit and the other 24-bit, for example. The difference would be inaudible in all practical cases, but one file would be 50% larger than the other.