search for: vorbis_encode_init

Displaying 20 results from an estimated 33 matches for "vorbis_encode_init".

2004 Aug 06
2
vorbis_encode_init() bitrate arguments - offtopic
Hi, It's a bit offtopic for this list, but you might be able to help. For libvorbis rc3, what is the correct bitrate parametrization for the call vorbis_encode_init()? For rc2, it worked calling it the following way: vorbis_encode_init( &vorbisInfo, 2, // two channels 44100, // 44.1kHz -1, 96000, // 96kb/s...
2004 Aug 06
0
vorbis_encode_init() bitrate arguments - offtopic
At 09:49 AM 2/20/02 +0100, you wrote: >Hi, > >It's a bit offtopic for this list, but you might be able to help. For >libvorbis rc3, what is the correct bitrate parametrization for the call >vorbis_encode_init()? > >For rc2, it worked calling it the following way: > >vorbis_encode_init( &vorbisInfo, > 2, // two channels > 44100, // 44.1kHz > -1, > 96000,...
2002 Jan 01
6
new vorbisenc behaviour
Just got around to compiling RC3 under beos and came across an anomaly when using managed bitrates. I haven't changed the code for the beos encoder but I now get double the bitrates so vorbis_encode_init(&vi,mediaFormat.u.raw_audio.channel_count,(long)mediaFormat.u.raw_audio.frame_rate , -1, 128000, -1); now gives me vorbis files that average around 325 - 350. Is this now the correct behavior or is it a bugette. I noticed that oggenc still uses bitrate * 1000 but does not say it that is per...
2004 Aug 06
2
vorbis_encode_init() bitrate arguments - offtopic
Michael, > See the examples. If you initialise a managed mode (which this is), you > MUST use vorbis_bitrate_addblock() and vorbis_bitrate_flushpacket(). Thanks for the tip. I added the calls, and it works now. > You SHOULD also give an option to set min/max, since they're now used, > and to use a VBR mode rather than the managed modes here. But when streaming, IMHO it is
2002 Jan 03
3
Adding RC3 support to GoldWave
...e 1407 Warning: Call to function with no prototype int host_endian = host_is_big_endian(); fix: add 'void' to line 1339: static int host_is_big_endian( void ) { time0.c, line 36, runtime error Access overrun (reported by Borland CodeGuard) return ""; One not so minor thing: vorbis_encode_init() does not seem to be working correctly. No matter what bitrates are specified, the output file always seems to be 200+kbps. vorbis_encode_init_vbr() creates smaller files (though the HTML API document mentions bitrate settings). However, there is currently no ov_quality() function to determine...
2002 Aug 20
1
managed mode / max bitrate doesn't have effect
Hi, I'm experimenting with managed mode encoding with specifying maximum bitrate. I call: vorbis_encode_init( &vorbisInfo, 2, 44100, -1, 96000, 96000); to initialize the encoding. To my surprise, it seems the maxbitrate value of 96000 doesn't have an effect, the bitrate of the generated vorb...
2002 Aug 15
2
dynamicly loading libvorbisenc on Mac OSX
Hi, I'm trying to load the vorbis libs dynamicly on Mac OS X. I've got success for libogg, libvorbis and libvorbisfile. But libvorbisenc drives me crazy. The function "vorbis_encode_init" seems not to be in there if I am using "NSLookupSymbolInImage". But the tools "otool" and "nm" tell me that the function is declared. Does anyone know, what I have to do to get this working ? arne --- >8 ---- List archives: http://www.xiph.org/archives/ Og...
2002 Nov 26
1
Low bitrates
Hi, I want to encode audio at very low bitrates. however, vorbis_encode_init() does not allow me to set bitrates below 32kbps. How can i set 24kbps? Thanks, Flo --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only t...
2003 Mar 22
1
vorbis.m4 macro glitch
Hi, I discovered a little error in vorbis.m4. The source for the test compile uses vorbis_encode_init() but does not include vorbisenc.h. This causes the test to fail when AC_LANG(C++) is used in my configure.ac script. For now my work-around is to surround the Ogg Vorbis tests with AC_LANG_PUSH(C) ... AC_LANG_POP(C) calls, but it should probably be fixed. Thanks, Davy --- >8 ---- List...
2004 Aug 06
4
vorbis bitrates - offtopic
Hi, I'm experimenting with IceCast2, using DarkIce 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 WinA...
2001 Nov 06
2
error in "encoder_example.c"
Hi, Why do I get an error message when i'm running the "encoder_example.c" which is included in the SDK? The error occurs then the 44 bits are read and the vorbis_info struct is initiated (i.e. when the vorbis_encode_init(&vi,2,44100, -1, 128000, -1) - funcion is called. I also tried to read the data from a 16 bits 44,1 KHz stereo PCM - wave file but recived the same error. With Best Regards Johan __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page...
2002 Jan 02
2
vorbis API calls
Hi devs, I am developing winLAME, a frontend for LAME, and it also supports Ogg Vorbis decoding and encoding. I've got a question about the new API function vorbis_encode_init_vbr(). Do I have to call vorbis_encode_init() before to set the bitrate(s)? And what is a good default value for the "base_quality" parameter? I read on the mailing list that ABR use in Ogg Vorbis is not so good. Should I disallow the user to set the nominal bitrate in the winLAME UI? An...
2001 Jan 01
1
oggenc --help text buglet
The oggenc --help text says The bitrate option (--bitrate, -b) will choose the mode closest to the chosen bitrate. but judging by 'vorbis_encode_init', it's actually the mode with the least bitrate greater than or equal to the specified bitrate that's chosen. Here's a possible fix: The bitrate option (--bitrate, -b) will choose the mode with the least bitrate <= the chosen bitrate. --Mike --- >8 ---- List archives...
2002 Aug 03
1
vbr / cbr / abr API calls
...-1, getOutBitrate() * 1000, -1) || vorbis_encode_ctl( &vorbisInfo, OV_ECTL_RATEMANAGE_AVG, NULL) || vorbis_encode_setup_init( &vorbisInfo); <p>ABR: ret = vorbis_encode_init( &vorbisInfo, getInChannel(), getOutSampleRate(), -1, getOutBitrate() * 1000, -1 ); VBR: ret = vorbis_encode_init_vbr( &vorbisInf...
2001 Sep 04
1
Problems trying to run the examples in windows vorbis sdk
I have just downloaded the vorbis sdk for windows, for researching purposes. I have compiled the example 'encoder_example.c' just to start, and it compiles, but I got a error in the following line just at the beginning: vorbis_encode_init(&vi,2,44100, -1, 128000, -1); The error is more or less: The instruction at '0xaddresss' referenced memory at '0xaddress'. The memory could not be "read". Something about bad pointed pointers, I think. So I haven't been able to start testing yet. I have tried with...
2007 May 01
1
contstant bittrate mode - block size - packet size
...fp_infile) && ! ferror(fp_infile); i++) { fread(readbuffer,1,2,fp_infile); if ( ! strncmp((char*)readbuffer, "da", 2) ) { founddata = 1; fread(readbuffer,1,6,fp_infile); break; } } vorbis_info_init(&vi); //ret = vorbis_encode_init(&vi,2,44100,3*128000,3*128000,3*128000);//setup for constant bittrate //vorbis_encode_ctl(&vi,OV_ECTL_RATEMANAGE_HARD,&rma); //ret=vorbis_encode_init_vbr(&vi,2,44100,0.1); //ret = vorbis_encode_init(&vi,2,44100,-1,128000,-1); // ret = ( vorbis_encode_setup_managed(&v...
2001 Sep 05
4
Problems trying to run the examples in windows v orbis sdk
...01 at 6:00 PM Pablos-Sanchez, Rolando wrote: >I have just downloaded the vorbis sdk for windows, for researching >purposes. > >I have compiled the example 'encoder_example.c' just to start, and it >compiles, but I got a error in the following line just at the beginning: >vorbis_encode_init(&vi,2,44100, -1, 128000, -1); >The error is more or less: The instruction at '0xaddresss' referenced >memory >at '0xaddress'. The memory could not be "read". >Something about bad pointed pointers, I think. >So I haven't been able to start testing yet...
2004 Aug 06
0
DarkIce make problem
...> make: *** [all-recursive-am] Error 2 Are you sure you've done `make install' for lame, libogg, and libvorbis? When you run ./configure, you should get the following lines: checking for ogg_stream_init in -logg... yes checking for vorbis_info_init in -lvorbis... yes checking for vorbis_encode_init in -lvorbisenc... yes checking for lame_init in -lmp3lame... yes If any of these say "no" rather than yes, then the build process won't be able to find your libs for that package. I got this error when I forgot to run `make install' on libvorbis... -samuel --- >8 ---- List...
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....
2001 Sep 03
0
FW: Problems trying to run the examples in windows vorbis sdk
...bject: Problems trying to run the examples in windows vorbis sdk I have just downloaded the vorbis sdk for windows, for researching purposes. I have compiled the example 'encoder_example.c' just to start, and it compiles, but I got a error in the following line just at the beginning: vorbis_encode_init(&vi,2,44100, -1, 128000, -1); The error is more or less: The instruction at '0xaddresss' referenced memory at '0xaddress'. The memory could not be "read". Something about bad pointed pointers, I think. So I haven't been able to start testing yet. I have tried with...