AW: AW: [Flac-dev] Incomplete format description?

Miroslav Lichvar lichvarm at phoenix.inf.upol.cz
Thu Jan 23 10:03:05 PST 2003


On Thu, Jan 23, 2003 at 04:44:06PM +0100, Tor-Einar Jarnbjo wrote:
> Torsdag, 23 januar 2003, skrev Miroslav Lichvar <lichvarm at phoenix.
> inf.upol.cz>:
> 
> >If input is 16 bit, side channel will be 17 bit (16bit - 16bit is
> >17bit number). And warmup samples will be (17 - wasted_bits) bit.
> 
> Voila, this was the source of all my frustration, sync problems and 
> who knows what.
> 
> My decoder now works correctly for files encoded with the default 
> settings. Are there any decoder parameters I can set to get an encoded 
> file using as many "features" as possible, so that I can stress my 
> decoder and hopefully find all bugs?

Have a look at test/test_streams.sh script from flac package.

If your decoder has a command line interface and can output to raw
data, modify the script in way that your decoder will be used for
decoding. I know, overkill, but then you can be pretty sure that it is
decoding well.

At least try to decode files encoded with -1, ..., -8 options.

-- 
Miroslav Lichvar




More information about the Flac-dev mailing list