Displaying 20 results from an estimated 27 matches for "vorbis_bitrate_flushpacket".
2003 Oct 27
0
Error : vorbis_bitrate_flushpacket
<div style='background-color:'><DIV>After downloading ogg filters in file oggds0995.exe from tobias/everwicked.com , at install we got the errormessage :</DIV>
<DIV>can't find entry point of procedure vorbis_bitrate_flushpacket in dll-file vorbis.dll</DIV>
<DIV> </DIV>
<DIV>Does someone know what to do ?</DIV>
<DIV> </DIV>
<DIV>( is this a subject for the vorbis-dev email group ? )</DIV>
<DIV> </DIV>
<DIV>The installing was on a windows-xp PC.</DIV...
2002 Mar 27
1
What exactly is threadsafe
...te( &m_vorbisDsp, dataLength/dataSize );
while( vorbis_analysis_blockout( &m_vorbisDsp, &m_vorbisBlock ) == 1 ) {
/* analysis, assume we want to use bitrate management */
vorbis_analysis( &m_vorbisBlock, NULL );
vorbis_bitrate_addblock( &m_vorbisBlock );
while( vorbis_bitrate_flushpacket( &m_vorbisDsp, &m_oggPacket ) ) {
/* weld the packet into the bitstream */
ogg_stream_packetin( &m_oggStream, &m_oggPacket );
writePage();
}
}
**Write Page looks like this**:
int result;
result = ogg_stream_pageout( &m_oggStream, &m_oggPage );...
2004 May 20
3
Encoding questions
...ing from a PCM file, then playback),
except that no matter the length of the source PCM file, the last (approx) 4
seconds of audio is always missing from the Ogg file.
I am trying to find some documentation that details some of the functions
used (e.g. vorbis_analysis(), vorbis_bitrate_addblock(),
vorbis_bitrate_flushpacket(), ogg_stream_packetin() etc.) as I am sure its
just some sort of flushing problem, but I'm not having much luck.
So does anyone know the cause of my problem, or where I can find some
documentation.
<p>Thnx,
Dave
<p>The information contained in this email and any subsequent corre...
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 _very_ essential to be able to specify a
maximum bitrate. I...
2005 Sep 26
2
encoder_example.c Questions
...volved (potentially parallel) processing. Get a single
block for encoding now */
while(vorbis_analysis_blockout(&vd,&vb)==1){
/* analysis, assume we want to use bitrate management */
vorbis_analysis(&vb,NULL);
vorbis_bitrate_addblock(&vb);
while(vorbis_bitrate_flushpacket(&vd,&op)){
/* weld the packet into the bitstream */
ogg_stream_packetin(&os,&op);
/* write out pages (if any) */
while(!eos){
int result=ogg_stream_pageout(&os,&og);
if(result==0)break;
fwrite(og.header,1,og.hea...
2004 Aug 06
1
ices: compliation problem
...all,
I can't compile ices on my Linux Box
Here is the output
ices.o(.text+0xc0): undefined reference to `log_open_file'
encode.o: In function `encode_dataout':
encode.o(.text+0x223): undefined reference to
`vorbis_bitrate_addblock'
encode.o(.text+0x244): undefined reference to
`vorbis_bitrate_flushpacket'
Thank you
--
--
GNU/Linux: il y a moins bien mais plus cher
rado@linuxmg.org
http://linuxmg.org
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request@xiph.org'...
2009 Dec 12
1
Skipping of sample in ogg writing
...src[j];
}
}
}
vorbis_analysis_wrote (&vd, numSamples);
while (vorbis_analysis_blockout (&vd, &vb) == 1)
{
vorbis_analysis (&vb, 0);
vorbis_bitrate_addblock (&vb);
while (vorbis_bitrate_flushpacket (&vd, &op))
{
ogg_stream_packetin (&os, &op);
for (;;)
{
if (ogg_stream_pageout (&os, &og) == 0)
break;
mywrite (og.header, og.header_len);...
2009 Dec 12
1
Skipping of sample in ogg writing
...src[j];
}
}
}
vorbis_analysis_wrote (&vd, numSamples);
while (vorbis_analysis_blockout (&vd, &vb) == 1)
{
vorbis_analysis (&vb, 0);
vorbis_bitrate_addblock (&vb);
while (vorbis_bitrate_flushpacket (&vd, &op))
{
ogg_stream_packetin (&os, &op);
for (;;)
{
if (ogg_stream_pageout (&os, &og) == 0)
break;
mywrite (og.header, og.header_len);...
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
2004 Aug 06
2
Darkice on Linux PPC
...tion)
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 function)
VorbisLibEncoder.cpp:321: `vorbis_bitrate_flushpacket' undeclared (first use this function)
make[2]: *** [VorbisLibEncoder.o] Error 1
make[2]: Leaving directory `/usr/darkice/darkice/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/darkice/darkice'
make: *** [all-recursive-am] Error 2
>
> you can configure...
2004 Sep 03
1
Vorbis Tools installation problem
..._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 have any advice on how to solve this problem? What exactly
is the problem? I've worked with my father before on a problem similar
to this and he looked at the output and...
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 Mar 14
2
Ogg in MP4 file, Unexpected result from _vorbis_unpack_books
...MP4 save routine
d) Get Ogg page(s) containing the header, comment and code using ogg_stream_flush
and save it into an .ogg file
Note that the ogg_packets and not the ogg page is submitted to the MP4 save routine.
Then I do
a) If we have a block ready, then get next ogg_packet with
vorbis_bitrate_flushpacket
b) If we didn't get an ogg packet or if we don't have a block then
b1) get a block with vorbis_analysis_blockout
b2) run vorbis_analysis on block.
b3) run vorbis_bitrate_addblock
b4) get an ogg packet with vorbis_bitrate_flushpacket. If none are
available, the...
2002 Jan 01
3
problem building vorbis-tools-1.0rc3
...-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'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vorbis-tools-1.0rc3/oggenc'
make: *** [all-recursive] Error 1
the li...
2004 Aug 06
0
vorbis_encode_init() bitrate arguments - offtopic
...eam
>(as reported by xmms). I tried putting 96000 in place of the -1 values,
>and also putting 96 instread of 96000, but no luck.
>
>Any hints would be greatly apprieciated.
See the examples. If you initialise a managed mode (which this is), you
MUST use vorbis_bitrate_addblock() and vorbis_bitrate_flushpacket().
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.
Michael
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list,...
2004 Aug 06
0
Darkice on Linux PPC
...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 function)
> VorbisLibEncoder.cpp:321: `vorbis_bitrate_flushpacket' undeclared (first
> use this function)
> make[2]: *** [VorbisLibEncoder.o] Error 1
> make[2]: Leaving directory `/usr/darkice/darkice/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/darkice/darkice'
> make: *** [all-recursive-am] Error...
2004 Jun 25
1
Compile problems on libtheora-1.0alpha3
...ogg.so -lm
/usr/lib/libogg.so -Wl,--rpath -Wl,/usr/test/garnome3/lib
encoder_example.o(.text+0x8e2): In function `fetch_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...
2002 Mar 17
1
vorbis-tools rc3 link trouble
...-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/oggenc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vorbis/vorbis-tools-1.0rc3/oggenc'
make: *** [all-recursive] E...
2007 Sep 17
1
How To Encode Realtime
...kout(&vd, &vb), no block out.
After, every time vorbis_analysis_wrote(&vd, 1024), vorbis_analysis_blockout(&vd, &vb), one or two block out, but I guess it's content is which I have pushed in previously.
Is there a solution to encode and decode realtime, no leavings? Like vorbis_bitrate_flushpacket(), flush a block?
Regards
??????????????
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):