According to http://flac.sourceforge.net/format.html#metadata_block_streaminfo : "FLAC supports from 4 to 32 bits per sample. Currently the reference encoder and decoders only support up to 24 bits per sample. " This is why I'm confused. I though one of the benefits of FLAC was it's ability to encode in word lengths longer than 16 bits. MW -----Original Message----- From: flac-dev-admin@lists.sourceforge.net [mailto:flac-dev-admin@lists.sourceforge.net]On Behalf Of Matt Zimmerman Sent: Sunday, June 02, 2002 10:45 PM To: flac-dev@lists.sourceforge.net Subject: Re: [Flac-dev] 24-bit audio? On Sun, Jun 02, 2002 at 07:48:52PM -0400, Mike Wren wrote:> Using the FLAC frontend with flac v1.0.2, I tried to encode a recently > recorded 24-bit mono wav to flac, but received the following error: > > options: -P 0 -b 4608 -m -l 12 -e -q 0 -r 0,6 -R 0 > gpt2002-06-01mono.wav: ERROR: unsupported bits per sample 24 > [...] > Can anyone else reproduce this error? What's the resolution?This error means just what it says...flac 1.0.2 doesn't support 24-bit samples. The code in CVS appears to, though, so you may want to try that. -- - mdz _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Flac-dev mailing list Flac-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flac-dev
--- Mike Wren <mikew@etree.org> wrote:> According to > http://flac.sourceforge.net/format.html#metadata_block_streaminfo : > > "FLAC supports from 4 to 32 bits per sample. Currently the reference > encoder > and decoders only support up to 24 bits per sample. " > > This is why I'm confused. I though one of the benefits of FLAC was > it's > ability to encode in word lengths longer than 16 bits.Yes, this is understandable. 'Reference encoder and decoders' refer to the implementations in libFLAC that transfrom raw PCM to FLAC and vice-versa. The command-line 'flac' is what parses a WAVE file into raw PCM and feeds it to the reference encoder. This is the part that did not have 24-bit support until recently. flac CVS has it and the next release will be in 1-2 weeks. I have been writing unit tests to cover all the new stuff, but I might still do a short beta. Josh __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
Thanks for the reply, Josh. As I'm sure you are aware, there's a lot of interest in a less-restrictive alternative to APE for the 24 bit audio community. Adding support for 24-bit audio files will make FLAC a much more attractive alternative. Let me know if you need people to bang on the 24 bit part of FLAC. I've started to get excited again about the potential for FLAC to provide a viable long-term alternative to both APE and SHN. MW On Mon, 3 Jun 2002, Josh Coalson wrote:> --- Mike Wren <mikew@etree.org> wrote: > > According to > > http://flac.sourceforge.net/format.html#metadata_block_streaminfo : > > > > "FLAC supports from 4 to 32 bits per sample. Currently the reference > > encoder > > and decoders only support up to 24 bits per sample. " > > > > This is why I'm confused. I though one of the benefits of FLAC was > > it's > > ability to encode in word lengths longer than 16 bits. > > Yes, this is understandable. 'Reference encoder and decoders' > refer to the implementations in libFLAC that transfrom raw PCM > to FLAC and vice-versa. The command-line 'flac' is what parses > a WAVE file into raw PCM and feeds it to the reference encoder. > This is the part that did not have 24-bit support until recently. > > flac CVS has it and the next release will be in 1-2 weeks. I > have been writing unit tests to cover all the new stuff, but I > might still do a short beta. > > Josh > > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com >