HydrogenAudio

Lossless Audio Compression => FLAC => Topic started by: iphoneman on 2020-06-29 17:58:02

Title: FLAC Conversion - Silence
Post by: iphoneman on 2020-06-29 17:58:02
When a WAV is converted into a FLAC file, besides the usual lossless compression, if the WAV file has lots of silence, does the FLAC compress that way down?

In other words, normally a WAV file seems to me to convert to a FLAC 1/2 the size of the WAV. So a 500MB WAV becomes a 250MB FLAC.

But if much of the WAV file is silence, should that mean that the losslessly compressed FLAC will be much smaller than 250MB?

Thanks.
Title: Re: FLAC Conversion - Silence
Post by: rutra80 on 2020-06-30 00:01:34
Yes.
Title: Re: FLAC Conversion - Silence
Post by: Chibisteven on 2020-06-30 00:19:56
504 MB WAV or about 50 minutes of silence (44,100 Hz, 16-bit, Stereo) can be compressed down to 571.93 KB.
Title: Re: FLAC Conversion - Silence
Post by: iphoneman on 2020-06-30 16:24:48
Yes, this makes sense.

It also means that WAV's with lots of dead space don't need to have silent sections trimmed if they will be converted to FLAC (and i assume any compressed format, such as AAC 32.
Title: Re: FLAC Conversion - Silence
Post by: rutra80 on 2020-06-30 22:43:35
In case of lossy compression it's true only for non-CBR encodes.