[Flac-dev] are 588 sample frames subset or nonsubset?
Josh Coalson
xflac at yahoo.com
Mon May 26 22:20:22 PDT 2008
ok, the docs are correct and the stream encoder is being too strict
in what it allows. I've checked in a fix but in the meantime you
can encode with the --lax argument if you are using a blocksize of
588 and the resulting files will still be subset.
Josh
--- Josh Coalson <xflac at yahoo.com> wrote:
> hi Howard, I'll check into the discrepancy but having the FLAC
> blocksize match the CD sample frame size is probably not desirable.
> the optimal blocksize for FLAC is relative to the stationarity of
> the signal and the 588 sample frame is not related to that, it's
> an artifact of optimal storage on CD.
>
> Josh
>
> --- Howard Farrar <howard.farrar at meridian.co.uk> wrote:
>
> > 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
>
>
>
>
> _______________________________________________
> Flac-dev mailing list
> Flac-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/flac-dev
>
More information about the Flac-dev
mailing list