Displaying 20 results from an estimated 1000 matches similar to: "Status of thread-safeness of libvorbis?"
2001 Jan 26
1
Thread issues: clarification
Monty --
I'm still running into problems with my threaded encoded, and I think I
just figured out why.
I have N threads running in parallel calling vorbis_analysis_blockout()
and vorbis_analysis() to do the number crunching on the input samples.
They all share a single vorbis_dsp_state -- my understanding was that this
was ok; they only *read* from the vorbis_dsp_state, therefore not
1997 Nov 03
0
problem with sef extracting exe-files on samba-drivelf extracting exe-files on samba-drive
Hello,
We are running samba on SGI/SUN/HP file-servers.
We have about 600 concurrent clients.
We are using samba version 1.9.17p4 en have a problem with
self extracting exe-files on a samba-mounted disk from NT 4.0.
( This problem also exists with earlier versions of samba e.g. 1.9.16p11 )
If you place the exe-file in a directory called "12345678.123"
( 8.3 filename ), there is no
2001 Jan 09
1
Question re: vorbis_block_clear()
I'm running into memory leak and read-from/write-to unallocated errors in
the cleanup phase of parallel oggenc.
I see in vorbis_block_clear() that it references some fields on the
vorbis_dsp_state that it cached during vorbis_block_init(), and
conditionally does some cleanup based on the values of those fields.
Does this fact effectively mean that you can't have multiple vorbis_block
1999 Apr 20
0
Samba 2.0.3 and lotus notes client (PR#15717)
Hello,
We have a problem with samba 2.0.3 and a lotus notes 4.6.2 client.
The local lotus-notes user's databases are on the home-directory
of the user in directory notes/data. The home-directory is a
directory on a unix (HP) file-server and is accessed with samba.
If a user wants to open the databases in his notes/data directory,
he get a notes error "The parameter is incorrect".
2003 Feb 13
2
Are vorbis_blocks really independent?
I read some lines in libvorbis/include/vorbis/codec.h:
/* vorbis_block is a single block of data to be processed as part of
the analysis/synthesis stream; it belongs to a specific logical
bitstream, but is independant from other vorbis_blocks belonging to
that logical bitstream. *************************************************/
My question. Does this imply that vorbis_analysis
2001 Mar 11
1
vorbis_analysis() dependencies?
Per Monty's suggestions from a while ago, I have [finally] gotten around
to playing with different schemes for parallel oggenc. Monty's main
suggestion was to have a single thread loop over reading samples and
calling vorbis_analysis_blockout(), and then queueing up the resulting
blocks to be processed through vorbis_analysis() in other threads (in
parallel).
To verify that this works, I
2003 Feb 13
1
Blocked encoding question
Hello everybody,
Since there is almost no documentation on the vorbis algorithm I have to
post some questions on this list. To remind you: I am trying to implement a
parallel (multithreaded) ogg encoder, using a manager-worker model.
1. About the vorbis algorithm. I plan to let the workers each process a
buffer of vorbis_blocks. The point is that each worker has to start
somewhere and can not
2011 Nov 17
1
multithreaded vorbis encoding
Hello,
I have some code that encodes PCM data into a vorbis stream, using the
workflow shown in http://www.xiph.org/vorbis/doc/libvorbis/overview.html.
By analyzing that process with valgrind/cachegrind I found out that 95%
of the time used for encoding is spent in the function
"vorbis_analysis(&vb, 0)".
My question now is: would it be technically possible to parallelize this?
I
2002 Mar 27
1
What exactly is threadsafe
Hey I am playing with a LOT of threads right now, and I want to know if the
threads all need their own little vorbis encoders running in them or what
exactly is threadsafe in vorbis?
So here are the functions that would be called from many threads of with
buffer = vorbis_analysis_buffer( &m_vorbisDsp, 4*DATA_CHUNK_SIZE );
vorbis_analysis_wrote( &m_vorbisDsp, dataLength/dataSize );
1997 Nov 20
3
defunct smbd processes on SGI
Hello
We are running samba on SGI/SUN/HP fileservers.
We saw a problem on the SGI fileservers.
After a while a lot of defunct smbd deamons were hanging and
occupying the slots in the process table.
We saw the problem with IRIX 5.2 and samba 1.9.16p11 and
IRIX 6.2 and samba 1.9.17.p4 .
Has anybody seen this problem before? This is a serious problem, because
the smbd daemons are filling the
2002 Jul 08
1
Divide by zero in accumulate_fit
Hi,
Lately, my oggenc builds (from CVS) haven't been running correctly. In a few
debugging sessions, I've found that I'm getting a divide by zero exception.
The exception happens in accumulate_fit (floor1.c), line 455:
int weight=nb*info->twofitweight/na;
Here is the call stack:
accumulate_fit
floot1_fit
mapping0_forward
vorbis_analysis
oe_encode
main
The
2000 Dec 08
1
voribs_analysis() question
A variation on questions that I've asked before...
In working on the parallel version of oggenc (both threaded and MPI), a
profiling run shows that the function vorbis_analysis() takes up the
majority of the run time. This seems to be an obvious choice for
parallelization -- send each vorbis_block to a different processor, and
let them call vorbis_analsis() in parallel with each other.
2009 May 26
5
errors in valgrind
Hay!
Has anyone come across these errors using valgrind for the oggenc tool or the
encoder_example.c:
==13108== Invalid read of size 4
==13108== at 0x4155734: _vp_offset_and_mix (in
/usr/local/lib/libvorbis.so.0.4.1)
==13108==
2004 May 20
3
Encoding questions
Hi,
I have recently implemented encoding/decoding to/from OggVorbis in my app,
with the code being based upon the Libvorbisenc sample code supplied with
the SDK.
It all works very well indeed (encoding 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
2000 Aug 29
1
double -> float conversion
I'm in the process of collecting performance data on my platform and I thought I'd test the difference between double and float performance. So, I replaced all occurances of double in vorbis with float (as was suggested should work).
I ended up hanging at:
#0 0x0002695c in cacm283 ()
#1 0x00026dd0 in vorbis_lpc_to_lsp ()
#2 0x0001b3cc in forward ()
#3 0x0001cac8 in forward ()
#4
2002 Aug 09
1
oggenc core dump
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
<p>Hello,
I have encountered a situation where oggenc core dumps.
I am using vorbis-tools 1.0 on Solaris 8 x86. This is the
command line:
oggenc -b 128 -a "Keith, Toby" -t "Losing My Touch" -l "Unleashed" \
- -N "06" -o "Keith, Toby - 06. Losing My Touch.ogg" audio_06.wav
Here is a
2003 Sep 22
1
Division by zero.
Hi there.
I'm getting this exception, Floating point division by zero, when encoding
at, for example, 22050 hz. This doesn't happens in a specific song or audio,
it mostly happens after several calls to vorbis_analysis. This also doensn't
happens, at least so far, at 11025, 8820 or 44100. Also, it doesn't seem to
happen at low qualities (0, -0.1).
The exception is generated in
2009 Dec 12
1
Skipping of sample in ogg writing
Hi All,
I m having a strange problem with the Ogg-Vorbis writting code. The code
I m using to write is skipping some samples at the end of the file. For
example I m converting the 10000 sample .wav file ( 441000 sample rate ,
16 bit depth , stereo ) to ogg format. But while reading the ogg file I
only find 5824 samples in the ogg file. Can any one suggest what could
be wrong in the code. Is
2009 Dec 12
1
Skipping of sample in ogg writing
Hi All,
I m having a strange problem with the Ogg-Vorbis writting code. The code
I m using to write is skipping some samples at the end of the file. For
example I m converting the 10000 sample .wav file ( 441000 sample rate ,
16 bit depth , stereo ) to ogg format. But while reading the ogg file I
only find 5824 samples in the ogg file. Can any one suggest what could
be wrong in the code. Is
2005 Sep 26
2
encoder_example.c Questions
I've been trying to piece my way through the encoder_example.c program
to better understand how to encode files as ogg/vorbis. I'm stuck on
two sections of the code.
This is the first
/* uninterleave samples */
for(i=0;i<bytes/4;i++){
buffer[0][i]=((readbuffer[i*4+1]<<8)|
(0x00ff&(int)readbuffer[i*4]))/32768.f;