similar to: Couple more problems (ov_open_callbacks)

Displaying 20 results from an estimated 1000 matches similar to: "Couple more problems (ov_open_callbacks)"

2012 Dec 05
7
ov_open_callbacks takes so much time to open 210 MB OGG file
Why ov_open_callbacks(fd_, &vf, NULL, 0, OV_CALLBACKS_NOCLOSE) takes so long to open OGG file? The OGG file has just 210 MB. It takes a lot of time open the file. I am working on OGG audio recorder and player. Thanks in advance! With kind regards, Pavel
2004 Apr 12
3
Decoding with 8 bit-samples
Hi! I'd like to make a stereo 8-bit wav file from a stereo (16 bit) ogg vorbis file (in delphi, with the vorbisfile). I use: ret := ov_open_callbacks(filein,vf,nil,0,ops_callbacks); if ret = 0 Then begin fileOut := TFileStream.Create(savedlg.FileName,fmCreate); repeat ret := ov_read(VF, pcmout, BufferSize, 0, 1, 1, nil); //'cause of the 8-bit
2006 Sep 14
2
ov_open_callbacks() performance & memory requirements
Hi guys, I'm writing a sample playback engine using vorbisfile, but I've hit a performance problem - hoping someone here can help! I'm using ov_open_callbacks() to decode memory-based ogg files. It works OK, but when I call ov_open_callbacks() approximately 300k of memory is used (presumably to initialise the decoder). It also takes some time to execute ov_open_callbacks() - the read
2003 Feb 27
1
ov_open from memory
Hi folks, i would like to know if it is valid to load a whole .ogg file into memory and call ov_open like this: ov_open(NULL, &OggVorbisFile, pRawData, RawDataLen); An other question is, is it valid to copy some ogg files into one (resource) file, position the filehandle and use ov_read to read only the ogg file which starts at the current position of the file handle? (In other words, does
2010 Jan 06
1
Initializing vorbis using ov_open_callbacks fail with OV_ENOTVORBIS. But why?
Dear members, since two weeks I am stuck, trying to demux a physical ogg stream (theora and vorbis) and play the audio part using vorbisfile. I hope that one of you can give me a hint or point me to additional documentation. I used ogg.h and vorbisfile.h. The way so far: - initializing an ogg_sync_state - inserting data to sync_state using ogg_sync_buffer - when whole page found
2002 Mar 04
1
ov_open_callbacks
Hi` Is there some example code on how to use ov_open_callbacks with VorbisFile? The documentation I found is _very_ sparse and if possible I don't want to spend much time adding streaming from memory to my code. http://www.xiph.org/ogg/vorbis/doc/vorbisfile/ov_callbacks.html <p>Thanks, -- Daniel, Epic Games Inc. <p>--- >8 ---- List archives: http://www.xiph.org/archives/
2004 Oct 11
1
Streaming API?
I'm new to Speex and was wondering if there is a nice streaming API similar to Vorbis' "ov_open_callbacks", "ov_read", "ov_time_tell", etc. If not, is there an easy way to get Speex streaming from files? My appologies if this has already been answered a million times, but the archives aren't currently accessable! Thanks, Kevin -------------- next part
2005 Nov 05
1
Ogg files versus Ogg streams
Hi all, I'm very new to Ogg, and am learning about it in an attempt to stream it from a CF card through a microcontroller. This particular setup requires me to move parts of the file from the CF card to the microcontroller buffer, effectively making the file like a data stream. Also, should this question be directed at the Tremor group instead since that is the codec I'm using? It
2001 Sep 25
2
Controlling
More newbie questions, please bear with me =) I've got my high level code pretty well structured, and I'm now trying to decode vorbis streams on the fly using the ov_open_callbacks() routines. I can't seem to figure out how to tell it what output format I want -- is this possible? For example, I would like to be able to specify number of channels output (e.g. stereo vs. sum-to-mono
2004 Sep 21
1
Streaming from memory
How would one go about streaming an entire ogg file from memory? That is, I'd like to read the entire file right away and then just decode as I go. I'm currently using the various functions in vorbisfile.c which read from files but it's causing intermittent stuttering in my game since the calls to ov_read sometimes experience spikes in return time. I'm guessing that these spikes
2002 Mar 21
1
Ogg Vorbis and DirectSound streaming
hi, I downloaded the vorbis-sdk-1.0rc3 and wrote an application that plays ogg files using DirectSound(win32 application). It uses streaming technique - I'm implementing and passing IStream interface to the DirectX. The interface is used by DirectX to fill his buffers during playing. DirectX is assuming that it's readind from a wav file, so the interface decodes on-the-fly so that
2001 Apr 03
1
windows buffering example
From: BILL OATMAN I have seen several requests for windows specific example code. This is another. What I am looking for is a example of how to play a large ogg file in windows by using a multi-buffering technique. That is, reading and decoding a chunk of the ogg file and handing it off to windows (directsound maybe) meanwhile buffering up the next chunk to play etc. Assume the ogg file
2000 May 01
2
Bug fix, win32 stuff
There was a bug in the new ov_open_callbacks where it would not zero out some member variables of the file info struct, and if a file was not successfully opened this would cause a crash at destruct time. Fixed. I've also made some changes so that vorbis will compile cleanly under win32 without one having to muck around with it. I have added a "vorbis_vc6" directory which contains
2000 Aug 07
1
Starting at square one with Vorbis...
I want to use Vorbis to stream music off the HD in my DirectX app. Currently, we have a generic streamer that writes raw digital sound data into the primary sound buffer. We plug sound sources (e.g. wav files, PCM files) into this streamer by having the sound sources have an interface something like this: class SourceDataSourceInterface{ virtual bool Init(char* pSource) = 0;
2004 Apr 21
3
Streaming ogg from filepointer pointing to archive of many oggs. Ogg stream does not stop after end of one ogg file - what to do ?
Hello, I'm currently trying to implement streaming off ogg-files out of an archive file using SDL and SDL_mixer for playback. Therefore i create a FILE * filepointer, place it to the beginning of an ogg file inside the archive and hand over the filepointer to ov_open. ( command: ov_open(fp, &music->vf, NULL, 0) ). This works fine so far. The problem is: if i put many oggs together in
2003 Mar 02
1
ov_pcm_total() returns always 0 after ov_open_callbacks()...
Hi Folks, i implemented the required callback funktions to open an ogg file from memory. Now ov_pcm_total() returns always 0, strange thing about is that ov_pcm_total does not call any of the callback funktions. I also like to mention that ov_info (which uses the read and seek callback funktions) delivers correct values. Thats why i doubt that there's an error in (the rather simple) callback
2012 May 27
1
Thread Problem.
I have been working on a game for a while now and noticed that using your library to stream music created a graphical problem while the screen would scroll. (certain tiles would flicker to be more specific). I found that if I don't play music this problem doesn't occur. Another developer suggested that if I can lower the priority (thread priority) of the music this could fix the problem.
2004 Jul 29
3
packed ogss
Hi, I've got a problem with packed OGG files taking a long time to open before they start playing. I have about 30+ OGG files that I have joined together, now the engine I am working on has its own file management and when I use the OV open_callbaks it spends a long time constantly seeking and reading in different sets of 8500 bytes inside the open_callbacks function, some time for as
2002 Jan 03
3
Suggestion for libvorbisfile: scaling
I've been experimenting with the ideas of Replay Gain[1] and find that ogg123 doesn't have a way of specifying the scaling applied to replayed samples (like -f in mpg123). Looking at libvorbisfile, I see no function exactly matching this possibly desirable behaviour. ov_read() scales by either 128 (byte output) or 32768 (word output), but there's nothing in between. ov_read_float()
2011 Jul 15
3
ov_read error on macosx
Hi, I have this code to decode ogg data: unsigned long PSS_OggStream::DecodeOggVorbis(OggVorbis_File *psOggVorbisFile, char *pDecodeBuffer, unsigned long ulBufferSize, unsigned long ulChannels) { int current_section; long lDecodeSize; unsigned long ulSamples; short *pSamples; unsigned long ulBytesDone = 0; while (true) { #ifdef WIN32 lDecodeSize = ov_read(psOggVorbisFile,