search for: ov_time_tell

Displaying 13 results from an estimated 13 matches for "ov_time_tell".

2001 Jul 15
1
getting a wierd results from ov_time_tell()
>From the documentation that I read, ov_time_tell is supposed to tell you the how many seconds the decoder is into in the stream. However, I'm getting some weird results from it. On my stream (which is seekable - I verified it), ov_time_total returns the correct total seconds. However, when I start playing, ov_time_tell first gives me a wro...
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...
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, -I...
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 -------------- An HTML attachment was scrubbed... URL: http://lists...
2000 Aug 01
2
ogg123 timekeeping
Does this look okay? : Time: 1:15.50 of 4:13.73, Bitrate: 133.3 How about? : <snip from=ogg123.c> info.u_time = ov_time_total (&vf, -1); /* Seconds with double precision */ gettimeofday (&start_time, NULL); t_min = (long) info.u_time / (long) 60; t_sec = info.u_time - 60 * t_min; while (! eos) { gettimeofday (&cur_time, NULL); c_min = (long)
2001 Mar 01
2
ov_time_seek to 0s fails... AGAIN
...with OV_EFAULT, you cannot continue playing (because of the goto seek_error). This is not clear from the documentation at all, after a OV_ENOSEEK or OV_EINVAL error it seems to me that you can continue decoding. This had me bugged for quite some time, it caused a floating point divide by zero in ov_time_tell (causing it to return -INF), because vf->vi[link].rate is apparently set to zero in the seek_error part. I think the documentation definitely needs clarification as of when the error is fatal and if you can continue decoding. A workaround for this bug is to add something like 0.01 s to the t...
2007 Dec 01
2
Length of an Ogg Vorbis file?
HI all, Is there a way of finding out the length of an Ogg Vorbis file without decoding the whole file and counting samples? TIA, Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "... the industrial-capitalist mode of software production was doomed to be outcompeted from the
2001 Jun 19
0
vorbisfile bug
Bug: vorbis/lib/vorbisfile.c, ov_time_tell. When vf->seekable = 0, link = -1 at the return, thus dividing by vf->vi[-1].rate. Fix should be pretty simple. -- Kenneth Arnold <ken@arnoldnet.net> / kcarnold / Linux user #180115 http://arnoldnet.net/~kcarnold/ <HR NOSHADE> <UL> <LI>application/pgp-signature a...
2002 Dec 27
1
Vorbisgain in ogg123
I'm considering patching my copy of ogg123 to support vorbisgain tags. Is there any interest in folding this sort of patch into the main line ogg123? Has anyone done this already (or to another command line ogg player)? John --- >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
2000 Sep 24
4
Possible memory leak / xmms input plugin
Hi list, It seems that when playing several OggVorbis files under xmms, there is a memory leak. It's a rather annoying problem because when you have a playlist of 100+ files, xmms will at the end eat something like 100M or more.. Such a memory leak have been reported inside xmms-1.2.2 code and I could see it playing Ogg files and mp3 files ; upgrading to 1.2.3 solves the problem with mp3
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
2002 Oct 05
2
ogg123 remote interface
...@ -221,12 +223,16 @@ long instant_bitrate; long avg_bitrate; + priv->stats.total_pcm_samples = ov_pcm_total(&priv->vf, -1); + priv->stats.current_pcm_sample = ov_pcm_tell(&priv->vf); + + //fprintf(stderr, "%lld\n", priv->stats.total_pcm_samples); /* ov_time_tell() doesn't work on non-seekable streams, so we use ov_pcm_tell() */ - priv->stats.total_time = (double) ov_pcm_total(&priv->vf, -1) / - (double) decoder->actual_fmt.rate; - priv->stats.current_time = (double) ov_pcm_tell(&priv->vf) / - (double) decoder->...