[Flac-dev] Re: Bug#196556: flac: FLAC__STREAM_ENCODER_NOT_STREAMABLE

Paul Seelig pseelig at Uni-Mainz.de
Sun Jun 8 03:14:24 PDT 2003


Hi Matt!

On Sat, Jun 07, 2003 at 10:09:20PM -0400, Matt Zimmerman wrote:

> Run file(1) on the .wav file and send the output.  Particularly, what are the
> sampling rates of the input files?
>
"RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 11025 Hz"
 
All the WAV files i tried before have been the ones shipped with the
openwebmail Debian package, showing almost all the same sample rate.

> I ran a simple test to try to reproduce your problem, and I happened to grab
> one wav file which had a sampling rate of 4660 and was able to reproduce
> your problem.  flac works fine on the other files, which have more normal
> sampling rates (8000, 16000, 32000, 44100).  If I use sox to convert the
> sampling rate of the problematic file, flac works on the result.
> 
Bingo!

So i tried again with a "RIFF (little-endian) data, WAVE audio, Microsoft
PCM, 16 bit, stereo 44100 Hz" i once produced from a vinyl recording using 
gramofile and finally succeeded! Both encoding and, according to cmp(1)
decoding again, worked flawlessly. All other WAV from the same source work 
equally well, so at least my problem is solved. :-)

Looks like this shortcoming needs to be documented for *users*, if it still
isn't. A short glancing through the documentation didn't give me any valid
results from a user's perspective.
                                      Thank you, P. *8^)
-- 
     ------------ Paul Seelig <pseelig at uni-mainz.de> --------------
   African Music Archive - Institute for Ethnology and Africa Studies
   Johannes Gutenberg-University   -  Forum 6  -  55099 Mainz/Germany
     ----------------- http://ntama.uni-mainz.de ------------------




More information about the Flac-dev mailing list