search for: vorbis_encode_init_vbr

Displaying 20 results from an estimated 29 matches for "vorbis_encode_init_vbr".

2004 Nov 18
2
Questions about vorbis linking
Hello: I think that I got a linking problem but I don't know how to fix it. This is the error code form make: cc grabando_pcm.o encodear_vorbis.o -o mi_servidor -lasound -lvorbis -logg encodear_vorbis.o(.text+0x42): En la funci?n `inicializar_vorbis': : undefined reference to `vorbis_encode_init_vbr' collect2: ld devolvi? el estado de salida 1 make: *** [mi_servidor] Error 1 Offcourse, I had the file /usr/include/vorbis/vorbisenc.h and the vorbis_encode_init_vbr function appears declarated. The vorbisenc.h version is 1.10 I had a kernel 2.6.5 Debian distro i686. Thanks for your time....
2004 May 05
1
vorbis_encode_init_vbr() probleme
Hi! In the SDK documentation it is written: "base_quality Desired quality level from 0.0 to 1.0" But, i can give less than 0 parameter too. Why? Although, if i give greater than 0.9, encoding is halt with "floating point division by zero" message. Why? Thank you for your reply, crc --------------------------------- Do you Yahoo!? Win a $20,000
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 snaps...
2004 May 18
2
encode example
Hi, I am testing the encoder example and I have a question about it... How can I encode a mono file in 22050 and 44100? I've changed the init values to: ret=vorbis_encode_init_vbr(&vi,1,22050,.5) ; and in the loop: // uninterleave samples for(i=0;i<bytes/2;i++) { buffer[0][i]=((readbuffer[i*2+1]<<8)|(0x00ff&(int)readbuffer[i*2]))/32768.f; } .. what happened is that my file came 2x accelerated (originalsamples/2). Why this happen...
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? And do...
2018 Nov 03
0
Encode raw audio samples using Vorbis JAVA
Hello, I'm trying to encode a raw audio file (16kHz or 22050Hz, stereo) in an ogg file by using vorbis-java library. I always obtain an error when calling: encoder.vorbis_encode_init_vbr( vorbisInfo, 2, 22050, 1); The error is: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1 at org.xiph.libvorbis.vorbisenc.get_setup_template(vorbisenc.java:321) at org.xiph.libvorbis.vorbisenc.vorbis_encode_setup_vbr(vorbisenc.java:65) at org.xiph.libvorbis.vorbi...
2006 Jan 10
1
Problem with VorbisEncoder
...and libogg. There is lots of noise in the file except music is heard very feable in the background. To compare, I have created an ogg file with the same configuration(same quality) using GoldWav. I have observed that even the headerpages differ from the file i have generated. I am using TInt ret=vorbis_encode_init_vbr(&iInfo,2,44100,.4); for the setup Why are the headers of my file and the file generated by the GoldWav differ when both files are to be recorded with same quality level? Also Please let me know the cause of this behaviour? or give me an example which you are sure that it is working w...
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
2002 Aug 03
1
vbr / cbr / abr API calls
...gt;ABR: ret = vorbis_encode_init( &vorbisInfo, getInChannel(), getOutSampleRate(), -1, getOutBitrate() * 1000, -1 ); VBR: ret = vorbis_encode_init_vbr( &vorbisInfo, getInChannel(), getOutSampleRate(), getOutQuality() ); <p>Are these calls correct? What effect do the max_bitrate, min_bitrate parameters have in the CBR and ABR modes...
2004 Apr 19
3
encoding from 22050Hz source
Hi! I'd like to encode from a 22050 Hz source wav file (only in that case), but i get the following error message: "Invalid floating point operation" I use delphi: vorbis_encode_init_vbr(vi,2,22050,0.5) . . . While (i < readCount div 4) Do Begin buffer[0][i] := smallInt((pArray(@readbuffer)[i shl 2 + 1] shl 8) or pArray(@readbuffer)[i shl 2 + 0]) / 32768; buffer[1][i] := smallInt((pArray(@readbuffer)[i shl 2 + 3] shl 8) or pArray(@readbuffer)[i shl 2...
2012 Jul 31
0
No subject
...nel audio data (using W3C web audio api) I pass this data into the JavaScript encoder as command line arguments. This data is then read, each string converted to a float, and the vorbis_analysis_buffer is filled with this "parsed" data. Similarly, I pass the quality as an argument and run vorbis_encode_init_vbr accordingly. One last thing that I pass in is a "state" of a stream - either the beginning, middle, or end so I can handle these cases differently (for example, at the start of the stream I set all necessary headers). The generated file, however, does not seem to be valid and does not p...
2002 Jan 03
3
Adding RC3 support to GoldWave
..._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 the current quality setting to use if someone opens, edits, then resaves a vorbis file. Perhaps the vbr quality to/from bitrate functions could be pa...
2002 Jul 15
6
confusing comment in encoder_example.c
...ne 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 = vorbis_encode_init_vbr(&vi,2,44100,-.4); ... also small typo line 70: #ifdef _WIN32 /* We need to set stdin/stdout to binary mode. Damn windows. */ /* if we were reading/writing a file, it would also need to in binary mode, eg, 'fopen("file.wav","rb"); */ Vorbis 1.0 sounds great....
2004 Feb 13
10
Encoding into MONO (delphi)
Hi! I have a problem. I hope, you can help me. I use a Delphi conversion (from Aleksandr Shamray), but it doesn't work when I'd like to convert a *.RAW into a mono *.ogg file. vorbis_encode_init_vbr(vi, 1, 44100, 0.5); //because of the mono the program stops at line: //* uninterleave samples */ . . buffer[1][i] := smallInt((pArray(@readbuffer)[i shl 2 + 3] shl 8) or pArray(@readbuffer)[i shl 2 + 2]) / 32768; . . Why????? Please, help me! Thank You! <p>--------------------------...
2002 Jan 01
3
problem building vorbis-tools-1.0rc3
...re/libgetopt.a gcc -O20 -ffast-math -fsigned-char -o oggenc oggenc.o audio.o encode.o platform.o /usr/lib/libvorbisenc.so -L/lib /usr/lib/libvorbis.so -lm /usr/lib/libogg.so ../share/libutf8.a ../share/libgetopt.a encode.o: In function `oe_encode': encode.o(.text+0x90): undefined reference to `vorbis_encode_init_vbr' encode.o(.text+0x342): undefined reference to `vorbis_bitrate_addblock' encode.o(.text+0x362): undefined reference to `vorbis_bitrate_flushpacket' collect2: ld returned 1 exit status make[2]: *** [oggenc] Error 1 make[2]: Leaving directory `/usr/local/src/vorbis-tools-1.0rc3/oggenc'...
2004 Jun 25
1
Compile problems on libtheora-1.0alpha3
...etch_and_process_audio': : undefined reference to `vorbis_bitrate_addblock' encoder_example.o(.text+0x8f4): In function `fetch_and_process_audio': : undefined reference to `vorbis_bitrate_flushpacket' encoder_example.o(.text+0x16fc): In function `main': : undefined reference to `vorbis_encode_init_vbr' encoder_example.o(.text+0x1c37): In function `main': : undefined reference to `vorbis_granule_time' collect2: ld returned 1 exit status make[6]: *** [encoder_example] Error 1 make[5]: *** [all-recursive] Error 1 make[4]: *** [all] Error 2 make[3]: *** [build-work/main.d/libtheora-1.0al...
2002 Mar 17
1
vorbis-tools rc3 link trouble
...ng gcc 2.95.3 gcc -O20 -ffast-math -fsigned-char -o oggenc oggenc.o audio.o encode.o platform.o /usr/lib/libvorbisenc.so -L/lib /usr/lib/libvorbis.so -lm /usr/lib/libogg.so ../share/libutf8.a ../share/libgetopt.a encode.o: In function `oe_encode': encode.o(.text+0x87): undefined reference to `vorbis_encode_init_vbr' encode.o(.text+0x34c): undefined reference to `vorbis_bitrate_addblock' encode.o(.text+0x3f4): undefined reference to `vorbis_bitrate_flushpacket' collect2: ld returned 1 exit status make[2]: *** [oggenc] Error 1 make[2]: Leaving directory `/usr/local/src/vorbis/vorbis-tools-1.0rc3/ogg...
2002 Jun 28
1
ARG! I FIXED MY BUG!
Hello, well, I've been chasing down a stupid bug for two days... Okay.. so I know it's my fault for not fully reading the libvorbisfile documentation, but it would be nice if in the example decode source (on the www site) for it to say next to the "ov_clear(&vf)" call that " /* and this also closes the file */ "... I knew it was a heap corruption bug, but
2003 Jan 13
0
Test program in XIPH_PATH_VORBIS (1.0) fails.
Hard to believe this hasn't been noticed, but I searched the archives without result. Basically, the test program in vorbis.m4 (1.0 and current CVS) calls: vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1); which, of course, should now be: vorbis_encode_init_vbr (&vi, 2, 44100, 0.3); or somesuch. --- >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 the word 'unsubscribe' in the body. No...
2003 Mar 07
0
problem with encoding cbr
Hi, I am trying to encode PCM to OGG based on example code in OggVorbis SDK Win 1.0. There is no problem with "vorbis_encode_init_vbr(&vi, 1, 44100, 0.4f);" setting. However, using "vorbis_encode_init(&vi, 1, 44100, 96000, 96000, 96000);" setting gives such a warning by ogginfo: "Warning: EOS not set on stream 1" I have modified ogginfo to display exact playback length. The original PCM data I a...