Displaying 4 results from an estimated 4 matches for "nominal_bitr".
2002 Sep 23
2
Libvorbis suggestion & floating point exception
...es at higher bit rates. I tested the 1.0 build
(static as well as the pre-built DLL from the distribution) and the CVS
snapshot, same result.
However, at 44.1kHz all bit rates seem to work.
Any ideas?
<p>2. In vorbisenc.c / vorbis_encode_setup_managed, there's a piece that reads:
if(nominal_bitrate<=0.){
if(max_bitrate>0.){
nominal_bitrate=max_bitrate*.875;
}else{ ...
If only min_bitrate and max_bitrate are passed, and nominal_bitrate set to
zero for "auto" mode, nominal_bitrate might actually end lower than
min_bitrate (e.g. if min_bitrate == max_bitrate fo...
2004 Aug 06
4
vorbis bitrates - offtopic
...arkIce to generate the stream. I
have found some peculiarities with the vorbis bitrates.
In DarkIce, I call vorbis_encode_init() with about the following values:
vorbis_encode_init( &vorbisInfo, 2, 44100, 96, 96, 96);
which by all reasons should generate a 96 kb/s stream, as all
max_bitrate, nominal_bitrate and min_bitrate are set to 96. Strangely
enough, the generated stream's bitrate (according to XMMS and WinAmp)
varies between 49 and 59.
If I try to set the same bitrate to a low 24, I never get a stream below
about 44 kb/s.
Could anyone enlighten me on these strange behaviours? It would b...
2004 Aug 06
0
vorbis bitrates - offtopic
> vorbis_encode_init( &vorbisInfo, 2, 44100, 96, 96, 96);
>
> which by all reasons should generate a 96 kb/s stream, as all
> max_bitrate, nominal_bitrate and min_bitrate are set to 96. Strangely
> enough, the generated stream's bitrate (according to XMMS and WinAmp)
> varies between 49 and 59.
Currently min and max are ignored by the library, since bounded bitrates
aren't going in until rc3.
Also, if you pick 96kbps, that picks th...
2001 Jan 17
0
bitrate scaling by freq / quality bug ? / comments
Hi again!
I have some other suggestions/modifications.
1. Bitrate scaling by frequency in vorbis_encode_init:
bpch=(long)((float)nominal_bitrate/(float)channels*44100.0f/(float)rate);
With this modification, if we use -b128 at 22khz files, the OGG file
will be 128kbit/s, not 64kbit/s ...
2. Probable quality bug:
I tested some floating point constants (recalculated them (see below)
and encoded some songs with 'longer' (more preci...