Displaying 20 results from an estimated 9000 matches similar to: "Test program in XIPH_PATH_VORBIS (1.0) fails."
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
2007 May 01
1
contstant bittrate mode - block size - packet size
Hello,
I am trying to implement a realtime encoding then streaming solution using
the vorbis codec (would be wrapped in a "7F" type for minimal framing
overhead) for sending audio over a low bit rate wireless link.
since we need a constant bittrate (i.e. constant packet size) for this
solution we want to run the alg in constant bitrate mode;
for evaluation of the codec I followed the
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
2002 Jan 03
3
Adding RC3 support to GoldWave
Here are some minor things I noticed when updating the vorbis module
for GoldWave:
Bitwise.c, line 175 and 207
Warning: Negative unsigned value
ret=-1UL;
Info.c, line 385
Warning: Unreachable code
break;
vorbisfile.c, line 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 )
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 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
2002 Aug 03
1
vbr / cbr / abr API calls
Hi,
Maybe this is documented somewhere, if so, please send me a link to the
documentation.
My question is: how to set up different (VBR, CBR, ABR) modes when
calling the Ogg Vorbis API?
Currently I do:
CBR:
ret = vorbis_encode_setup_managed( &vorbisInfo,
getInChannel(),
getOutSampleRate(),
2004 Sep 23
1
MSVC files include vorbisenc in the vorbis dynamic library
Hi,
A short mail to let you know that the MSVC project files aren't OK
compared to the Makefiles.
Indeed they include the vorbisenc part (vorbisenc.c file, and
vorbis_encode_* function names in the .def file) inside the vorbis
library, and they also point to a non-existant file (bitbuffer.h)
Here is a patch to fix this, in case you are interested (patch made on
the win32 directory using
2002 Jan 02
2
RC3 Changes needed for MacOS
It looks like the Mac .exp files were not updated for RC3.
The following diff corrects that problem. The CodeWarrior
project files also have not been updated. They are in 5.3
format which is quite old. Would anybody object if I
submitted updates to them in CodeWarrior Pro 6 format?
That's the oldest version I have readily available.
If someone else has 5.3 and wants to do it, you need to
2004 Nov 16
0
metadata switches for ffmpeg2theora
Jan,
Here's a hacky patch to add a few commandline options for setting
comment header fields in ffmpeg2theora. It's a bit big because I
virtualized the global info struct in theorautils.c. In retrospect
that probably wasn't necessary, but I think it's cleaner anyway.
I didn't test it because I couldn't compile ffmpeg2theora, but
modulo bugs it should support
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
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
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
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.
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;
}
..
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.
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
2001 Sep 03
0
FW: Problems trying to run the examples in windows vorbis sdk
More information about the error below:
I have downloaded the source and I got the same problem, but now I know in
which exact line the error is.
Inside the vorbisenc.c, we have the following function:
tatic void codec_setup_partialcopy(codec_setup_info *ci,
codec_setup_info *cs){
int i;
memcpy(ci,cs,sizeof(codec_setup_info)); /* to get the flat numbers */
/* codebooks */
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
2012 May 14
0
Memory Leak in vorbis_info_clear()
I'm having trouble tracking down why it leaks, but below is an example
program which shows--using valgrind--that vorbis_info_clear() leaks memory
if called before vorbis_dsp_clear(), but not if called after
vorbis_dsp_clear(). Just compile and run under valgrind, using the -l switch
to the example program to trigger a leak. Tested under OS X 10.7 and Ubuntu
12.04.
This may be by design, or