[Flac] FLAC: compression silence frames

Andrew Snare ajs at pigpond.com
Thu Sep 6 07:20:25 PDT 2007


On Thu, Sep 06, 2007 at 01:50:11PM +0200, Harry Sack wrote:
> How does the flac encoder encodes silence frames?

See:
	<http://flac.sourceforge.net/format.html#prediction>

In particular, the "Constant" model applies.

> Is there actually used some space to store these?

A tiny bit.

> So basically my question is: will compressing a PCM audio file *with*
> silence frames in the beginning/at the end give me +/- the same filesize as
> compressing the same audio file but *without* the silence frames in the
> beginning/at the end, because it's only some extra 'silence' that is
> encoded?

The file with embedded silence will be slightly larger.

 - Andrew


More information about the Flac mailing list