search for: ov_time_seek

Displaying 14 results from an estimated 14 matches for "ov_time_seek".

2001 Mar 01
2
ov_time_seek to 0s fails... AGAIN
Hello everybody, I sent something about this before, but this bug is still there, so... If you call ov_time_seek(vf, 0); it will fail, returning OV_EFAULT (from ov_pcm_seek_page). I think this must be a bug, because seeking to 0 seconds *should* be OK. Another thing, when ov_time_seek fails with OV_EFAULT, you cannot continue playing (because of the goto seek_error). This is not clear from the documentatio...
2001 May 11
2
Application Crashes When Calling ov_time_seek() function
I’m running into a problem with my application crashing when I make a call to the ov_time_seek() function. The call includes the OggVorbis_File and it is indeed seekable, as I first check that using the ov_seekable() function. Everytime, however I try to seek forward, the application dies with a core dump. I’m working with the example from the “VorbisFile Documentation” site. The applica...
2001 Feb 05
0
ov_time_tell returns NAN (-INF) after ov_time_seek to 0 s
Hello, If you call ov_time_tell(vf) after a ov_time_seek(vf, 0), it returns Not A Number (Negative Infinity). I tested this only using Win32 MSVC++ 6 Dynamic, Release. Does it also occur on other platforms? Is this the right behaviour? Seems wrong to me. Anyway, it caused a range check error in my code, and a divide by zero when I disable range checking...
2004 Aug 06
3
seeking
Hi, I need to know if it is possible to seek the Speex stream. I want to have an ability to seek in time, just like Vorbis does. Vorbis has function "ov_time_seek" and I want something like this from Speex. Is this possible? Thanks for any reply. Rado --- >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 'speex-dev-request@xiph.org' containin...
2002 Sep 25
0
vorbisfile bug?
Good day. It seems vorbisfile has a bug. There is a such string in ov_time_seek: ogg_int64_t target=pcm_total+(seconds-time_total)*vf->vi[link].rate; It is not accounted type convertion between double and ogg_int64_t. E.g. if I convert 440267'th sample (44100Hz source) to time: double dSec = 440267 / (double) 44100; and then try to seek dSec: ov_time_seek(pOVFile, dSec...
2004 Dec 01
1
[PATCH] checking for negative link
This patch ensures that lib/lib/vorbisfile.c will not use negative value of "link" when seeking. Negative value (link=-1) was used by ov_time_seek(vf, 0.0) at least. Double arithmetic is not precise, it depends on order of operands. "for(i=0;i<links;i++) sum+=x[i]" gives slightly different result than "for(i=links-1;i>=0;i--) sum+=x[i]". I tried add this patch to http://bugs.xiph.org/show_bug.cgi?id=577 bug report...
2001 Feb 14
1
Problem with seek functions,
On Mon, 12 February 2001, OmegaDan wrote: [snip code] Hmm, weird.. that does work for me. I only had the trouble that ov_time_tell returned negative infinity after a ov_time_seek to 0 secs. This is my code: function TMainForm.ReadBuf(Buffer: PChar; Size: Longword; var Time: Single): Longword; var BytesRead, Change: Longword; begin BytesRead := 0; Time := ov_time_tell(vf^); if Time < 0 then // check against NAN, -INF Time := 0; repeat Change := ov_r...
2000 Apr 21
3
vorbisfile updates, and a couple of questions
...Martin for this, too). Now, onto the questions: Firstly, I've seen xmms lock up under the following circumstances: play track, wait until it's right near the end (<< 1 second remaining), then try and seek. All of xmms locks hard. It looks like either vorbis_ip.output->flush() or ov_time_seek() aren't returning, but I haven't looked further yet. If anyone else can confirm this, and/or has a fix, let me know. Secondly, ov_open() now uses the new interface internally. It creates a struct consisting of fread, fseek, fclose, and ftell, then passes that appropriately. This all works...
2004 Aug 06
0
seeking
> I need to know if it is possible to seek the Speex stream. I want to have an > ability to seek in time, just like Vorbis does. Vorbis has function > "ov_time_seek" and I want something like this from Speex. Is this possible? > Thanks for any reply. It's not really a feature of Speex, but Ogg. So if you have a Speex stream in an Ogg container, it's possible to seek. It's a bit harder than for Vorbis, since Speex doesn't have the equiv...
2004 Aug 06
1
seeking
On Thu, Feb 26, 2004 at 03:20:01AM -0500, Jean-Marc Valin wrote: > > I need to know if it is possible to seek the Speex stream. I want to have an > > ability to seek in time, just like Vorbis does. Vorbis has function > > "ov_time_seek" and I want something like this from Speex. Is this possible? > > Thanks for any reply. > > It's not really a feature of Speex, but Ogg. So if you have a Speex > stream in an Ogg container, it's possible to seek. It's a bit harder > than for Vorbis, since Speex d...
2000 Jul 17
2
possible bug in _f0_fit_clear
...retaddr fd042014 ea303e52 free_look + 0000005a fd04202c ea30627b free_look + 0000009f fd042048 ea2f3196 vorbis_dsp_clear + 0000033e fd042074 ea2eed99 _decode_clear + 0000002d fd042084 ea2efc8f ov_raw_seek + 0000007f fd04209c ea2eff6d ov_pcm_seek + 00000221 fd042100 ea2f022e ov_time_seek + 0000013a fd042144 ea2ede85 MyPlugin::JumpTo(long) + 00000031 fd04215c 800473d7 #File CL-Amp text + 000473d7 fd042278 80048d24 #File CL-Amp text + 00048d24 I'll try and fingure out more details later, if no one else encounters this. Dave --- >8 ---- List archives: http://www.xi...
2001 Feb 11
3
Parallel encoding
I'm afraid this e-mail is me being lazy. I'm interested in adapting the encoder to farm out work to various machines on a network. I'm just trying to find out if this is going to be trivial. I don't know how the encoder works but from my very brief glance through the code it would appear that a state is maintained 'vorbis_dsp_state' that's going to make my distributed
2004 Nov 30
2
Bug in ogg123 playback of OggFLAC files?
[I'm not online regularly, so don't include me in any replies. And I'm not sure if the vorbis or the flac list, or something else, is more suitable for the following, so bear with me] Moin, moin. I used a recent ogg123 to play back a FLAC file I had created, and saw it wasn't able to seek within the file. So, I thought to myself, why not try out an OggFLAC file, so I created
2004 Nov 30
2
Bug in ogg123 playback of OggFLAC files?
[I'm not online regularly, so don't include me in any replies. And I'm not sure if the vorbis or the flac list, or something else, is more suitable for the following, so bear with me] Moin, moin. I used a recent ogg123 to play back a FLAC file I had created, and saw it wasn't able to seek within the file. So, I thought to myself, why not try out an OggFLAC file, so I created