search for: vorbis_encode_setup_init

Displaying 14 results from an estimated 14 matches for "vorbis_encode_setup_init".

2002 Aug 20
0
Problem with nominal bitrates
...h some minor changes purely to pass parameters to it (the original uses the command line). I have it working as far as it goes, but there seems to be something going wrong deep inside that I don't understand. The line at fault appears to be in the oe_encode function in the file encode.c: vorbis_encode_setup_init(&vi); This is what I do (refer to the docs for oggenc and again bear in mind that I've simply taken the code and added a few headers). The command line equivalent for these tests would be: oggenc myfile.wav -b64 (or -b51, and so on) I set the nominal bitrate to 64 and start the enco...
2002 Aug 03
1
vbr / cbr / abr API calls
...getOutSampleRate(), -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,...
2004 Aug 06
2
Darkice on Linux PPC
...ed' undeclared (first use this function) VorbisLibEncoder.cpp:157: (Each undeclared identifier is reported only once VorbisLibEncoder.cpp:157: for each function it appears in.) VorbisLibEncoder.cpp:158: `OV_ECTL_RATEMANAGE_SET' undeclared (first use this function) VorbisLibEncoder.cpp:159: `vorbis_encode_setup_init' undeclared (first use this function) VorbisLibEncoder.cpp:118: warning: `int ret' might be used uninitialized in this function VorbisLibEncoder.cpp: In method `void VorbisLibEncoder::vorbisBlocksOut()': VorbisLibEncoder.cpp:319: `vorbis_bitrate_addblock' undeclared (first use this...
2004 Sep 03
1
Vorbis Tools installation problem
...s function) encode.c:166: warning: unused variable `ai' encode.c:179: warning: implicit declaration of function `vorbis_encode_setup_managed' encode.c:191: error: `OV_ECTL_RATEMANAGE_AVG' undeclared (first use in this function) encode.c:201: warning: implicit declaration of function `vorbis_encode_setup_init' encode.c:284: warning: implicit declaration of function `vorbis_bitrate_addblock' encode.c:286: warning: implicit declaration of function `vorbis_bitrate_flushpacket' make[2]: *** [encode.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 Does anyone h...
2007 May 01
1
contstant bittrate mode - block size - packet size
...MANAGE_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(&vi,2,44100,128000,128000,128000) || // vorbis_encode_ctl(&vi,OV_ECTL_RATEMANAGE2_SET,&rma) || // vorbis_encode_setup_init(&vi)); ret = vorbis_encode_setup_managed(&vi,2,44100,3*128000,3*128000,3*128000); ret = ret||vorbis_encode_ctl(&vi,OV_ECTL_RATEMANAGE_HARD,&rma); ret = ret||vorbis_encode_setup_init(&vi); if(ret)exit(1); /* set up the analysis state and auxiliary encoding storage */...
2004 Aug 06
0
Darkice on Linux PPC
...use this function) > VorbisLibEncoder.cpp:157: (Each undeclared identifier is reported only once > VorbisLibEncoder.cpp:157: for each function it appears in.) > VorbisLibEncoder.cpp:158: `OV_ECTL_RATEMANAGE_SET' undeclared (first use > this function) > VorbisLibEncoder.cpp:159: `vorbis_encode_setup_init' undeclared (first > use this function) > VorbisLibEncoder.cpp:118: warning: `int ret' might be used uninitialized > in this function > VorbisLibEncoder.cpp: In method `void VorbisLibEncoder::vorbisBlocksOut()': > VorbisLibEncoder.cpp:319: `vorbis_bitrate_addblock'...
2005 Apr 22
0
segfault on oggenc
...linux 2.6.11 (happened as well on 2.6.10), on an asus nvidia chipset m/b. Here is my attempt to debug it with gdb by downloading vorbid-tools alone (the rest dependencies are the official debian packages), in case it rings any bells.. (gdb) s oe_encode (opt=0xbffff870) at encode.c:201 201 vorbis_encode_setup_init(&vi); (gdb) s 208 vorbis_analysis_init(&vd,&vi); (gdb) s Program received signal SIGSEGV, Segmentation fault. 0xb7da0bd6 in mallopt () from /lib/tls/libc.so.6 (gdb) bt #0 0xb7da0bd6 in mallopt () from /lib/tls/libc.so.6 #1 0xb7da0394 in calloc () from /lib/tls/libc.so.6 #...
2003 Mar 07
0
problem with encoding cbr (updated)
Hi, Regarding to my previous question, I think I have found out from oggenc source code that the correct way to initialize encoding is: vorbis_encode_init_vbr (or vorbis_encode_setup_managed for cbr etc.) vorbis_encode_ctl (to turn off or use avg bitrate management) vorbis_encode_setup_init By this way, there is no problem with encoded stream. However, there is no documentation of the three function above (except vorbis_encode_init_vbr) on the cvs snapshot of vorbis. Thanks... Mete ----- Original Message ----- From: Mete BALCI To: vorbis-dev@xiph.org Sent: Friday, March 07,...
2004 Sep 23
1
MSVC files include vorbisenc in the vorbis dynamic library
...============================== --- win32/vorbis.def (revision 7777) +++ win32/vorbis.def (working copy) @@ -47,10 +47,4 @@ vorbis_synthesis_halfrate_p ; vorbis_window -_analysis_output_always -vorbis_encode_init -vorbis_encode_setup_managed -vorbis_encode_setup_vbr -vorbis_encode_init_vbr -vorbis_encode_setup_init -vorbis_encode_ctl \ No newline at end of file +_analysis_output_always \ No newline at end of file Best regards Cyrius
2005 Aug 01
1
How do you set the encoder bit reservoir size?
Hi; In the Vorbis 1.1 release notes from July 7, 2004, Monty says "The 1.1 libvorbisenc allows setting the fixed reservoir size (in bits, defaulting to two seconds worth of requested bitrate) and 'hoarding' behavior (whether the encoder tends to keep the bit reservoir more full or more empty) as well as the other encoding heuristics available through the API of 1.0.1."
2004 Aug 06
2
Liveice on Linux PPC || use ices => use darkice
> > >> >> >> I can't get darkice to compile (error in 'MultiThreadedConnector.cpp') >> and there is no darkice RPM for PPC. > > > Please use the CVS version of darkice, which includes a fix for the > problem you mentioned. <p>OK, I got the CVS version of darkice. Now when I run 'make' I get the following error(s):
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
2008 Sep 12
4
[Patch] New function of libvorbis
This patch offers interface to get the library name which software uses. Function: char *vorbis_version_string(void); PATCH (for libvorbis-1.2.1RC2): diff -crN libvorbis-1.2.1RC2/include/vorbis/codec.h libvorbis-1.2.1RC2_NI/include/vorbis/codec.h *** libvorbis-1.2.1RC2/include/vorbis/codec.h Mon Aug 25 05:57:44 2008 --- libvorbis-1.2.1RC2_NI/include/vorbis/codec.h Sat Sep 13 05:00:22 2008
2002 Jul 15
6
confusing comment in encoder_example.c
I think the example in the comment has a '-' that shouldn't be there (line 108): /********************************************************************* Encoding using a VBR quality mode. The usable range is -.1 (lowest quality, smallest file) to 1. (highest quality, largest file). Example quality mode .4: 44kHz stereo coupled, roughly 128kbps VBR ret =