Displaying 11 results from an estimated 11 matches for "flac__stream_encoder_not_streamable".
2004 Nov 11
3
Legal sample rates
...16:08:21 -0800 (PST)
Josh Coalson <xflac@yahoo.com> wrote:
> > Is there someway of figuring out if a sample rate is valid?
>
> that's the right way.
But it doesn't tell me that the sample rate is invalid it tells
me FLAC__SEEKABLE_STREAM_ENCODER_STREAM_ENCODER_ERROR or
FLAC__STREAM_ENCODER_NOT_STREAMABLE.
> the reason it's being rejected is the encoder is configured to
> obey the subset:
>
> http://flac.sourceforge.net/format.html#subset
>
> to encode 11.025 kHz you need to call
> FLAC__seekable_stream_encoder_set_streamable_subset()
OK, from reading the documentation,...
2004 Nov 11
3
Legal sample rates
...; > > > Is there someway of figuring out if a sample rate is valid?
> > >
> > > that's the right way.
> >
> > But it doesn't tell me that the sample rate is invalid it tells
> > me FLAC__SEEKABLE_STREAM_ENCODER_STREAM_ENCODER_ERROR or
> > FLAC__STREAM_ENCODER_NOT_STREAMABLE.
>
> oh, I meant FLAC__format_sample_rate_is_valid() is the right way
> to check.
Ok, I tried that, but this:
printf ("\n\n%u -> %d\n%u -> %d\n%u -> %d\n",
112, FLAC__format_sample_rate_is_valid(112),
11025, FLAC__format_sample_rate_is_valid(11025),
44100, FLA...
2004 Sep 10
0
Re: Bug#196556: flac: FLAC__STREAM_ENCODER_NOT_STREAMABLE
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
2004 Sep 10
2
Re: Bug#196556: flac: FLAC__STREAM_ENCODER_NOT_STREAMABLE
...th ABSOLUTELY NO WARRANTY. This is free software, and you
> are welcome to redistribute it under certain conditions. Type `flac' for
> details.
>
> options: -P 4096 -b 4608 -m -l 8 -q 0 -r 3,3
>
> YouGotMail.wav: ERROR initializing encoder
> state = 14:FLAC__STREAM_ENCODER_NOT_STREAMABLE
> ------------- snip -----------------
>
> Any valid file i try to encode gives me the same result. :-(
>
> I had the very same problem with the former Debian version of flac.
Run file(1) on the .wav file and send the output. Particularly, what are the
sampling rates of the input...
2004 Nov 10
4
Legal sample rates
Hi all,
I'm trying to use the FLAC C libraries to encode audio.
I'm doing something like:
FLAC__seekable_stream_encoder_set_channels(pflac->fse, 1);
FLAC__seekable_stream_encoder_set_sample_rate(pflac->fse, 11025);
FLAC__seekable_stream_encoder_set_bits_per_sample(pflac->fse, 8);
if ((bps = FLAC__seekable_stream_encoder_init(pflac->fse)) !=
2004 Sep 10
1
Re: Bug#196556: flac: FLAC__STREAM_ENCODER_NOT_STREAMABLE
severity 196556 minor
thanks
On Sun, Jun 08, 2003 at 12:06:56PM +0200, Paul Seelig wrote:
> On Sat, Jun 07, 2003 at 10:09:20PM -0400, Matt Zimmerman wrote:
> > 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
2004 Nov 11
0
Legal sample rates
...flac@yahoo.com> wrote:
>
> > > Is there someway of figuring out if a sample rate is valid?
> >
> > that's the right way.
>
> But it doesn't tell me that the sample rate is invalid it tells
> me FLAC__SEEKABLE_STREAM_ENCODER_STREAM_ENCODER_ERROR or
> FLAC__STREAM_ENCODER_NOT_STREAMABLE.
oh, I meant FLAC__format_sample_rate_is_valid() is the right way
to check.
> > the reason it's being rejected is the encoder is configured to
> > obey the subset:
> >
> > http://flac.sourceforge.net/format.html#subset
> >
> > to encode 11.025 kHz you nee...
2004 Nov 16
0
Legal sample rates
--- Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote:
> On Thu, 11 Nov 2004 13:33:42 -0800 (PST)
> Josh Coalson <xflac@yahoo.com> wrote:
> > 11025 is a valid sample rate, but 9 channels is not a valid
> > # of channels.
> >
> > the FLAC__STREAM_ENCODER_NOT_STREAMABLE error means you are
> > violating the "set streamable subset" setting that is in effect.
> >
> > I guess FLAC__STREAM_ENCODER_NOT_STREAMABLE could be expanded
> > to FLAC__STREAM_ENCODER_NOT_STREAMABLE_BAD_SAMPLE_RATE,
> > FLAC__STREAM_ENCODER_NOT_STREAMABLE...
2004 Sep 10
3
Non-audio applications
...and recompiling, but alas I couldn't get decompression to go :(
The command line I used for flac was
/usr/bin/time flac --lax --endian=little --channels=5 --bps=16 --sample-rate=64320 --sign=signed --force-raw-format reallyraw -o reallyraw.flac-5chn
I needed the --lax otherwise it generated a FLAC__STREAM_ENCODER_NOT_STREAMABLE error.
The shorten command line was
/usr/bin/time shorten -c 10 -ts16lh reallyraw reallyraw.short.10
I am basically letting you guys know about a possibly more interesting
than normal application for your code and soliciting any tips you may
have :)
--
Daniel O'Connor software and network e...
2004 Sep 10
0
Non-audio applications
...o make it handle more
channels.
> The command line I used for flac was
> /usr/bin/time flac --lax --endian=little --channels=5 --bps=16
> --sample-rate=64320 --sign=signed --force-raw-format reallyraw -o
> reallyraw.flac-5chn
>
> I needed the --lax otherwise it generated a
> FLAC__STREAM_ENCODER_NOT_STREAMABLE error.
Yes, by default the encoder tries to encode according to a subset
of parameters that makes for easier decoding. You need --lax to
turn that off.
> I am basically letting you guys know about a possibly more
> interesting
> than normal application for your code and soliciting any t...
2004 Sep 10
5
[Flac-users] Re: settings for tighter compression than -8?
Early this past week, Miroslav Lichvar suggested for me:
> Ok, you need 0.04% improvement, that should not be a problem. Try
> flac --lax -e -p -l 32 -r 10 --no-padding
Thank you again, Miroslav. I tried that, and it took almost two full
days (surprisingly, Windows ME stayed up that long without crashing) to
re-encode the entire set on my 266-MHz machine. After all, in the help
file