[Flac-dev] are 588 sample frames subset or nonsubset?

Howard Farrar howard.farrar at meridian.co.uk
Tue May 20 09:48:17 PDT 2008


Hi

I am thinking of ripping albums to a single flac file with embedded
cuesheet.  As track and index points have to be on a 588 sample boundary due
to the CD TOC standard working in 588 sample frames, I thought it may be
beneficial to rip CDs with a blocksize of 588 samples.

According to the format page on sourcefourge a stream is subset if

	"The blocksize bits in the frame header must be 0001-1110.
	 The blocksize must be <=16384;
	 if the sample rate is <= 48000Hz, the blocksize must be <=4608.

As far as I can tell, this means that a blocksize of 588 should be subset,
although the blocksize would be a 16 bit value at the end of the frame
header.

However when I try encoding with flac 1.2.1 it says that only the blocksizes
that can be represented in the 4 bits in the early part of the frame header.

Which is correct?  Can anyone forsee any problems with encoding with a block
size of 588 samples?

Best Regards

Howard


Meridian Audio Ltd - www.meridian-audio.com - Registered in England
Registered Office: 11 Latham Road, Huntingdon, Cambs, PE29 6YE, UK
Company Registration No. 2710631 VAT Registered No. GB576660505



More information about the Flac-dev mailing list