Displaying 20 results from an estimated 500 matches similar to: "ov_raw_seek doesn't work ?"
2004 May 10
1
re: Seek problems with vorbis_file
Hi,
I have been having some problems with ov_pcm_seek in vorbis_file:-
Any seeks to a sample within the first second of the stream (i.e. <
44100 samples) fail. Seeks to samples beyond this 44100 limit are fine.
It appears to be associated with vorbis_file trying to read the
preceding page (odd for the beginning of the file), attempting an
ov_raw_seek, then bombing out with an OV_EINVAL.
2018 Nov 03
3
Decode ogg file while downloading: what are the good practices?
Thanks for your answer.
But as I said, I don't have any problem seeking in a local file.
Also, I have full control on the ogg file I play, since I encode it by
myself.
I first would like to know if the code I provided (
https://gist.github.com/mregnauld/3f7cdc43b02ec3bbd91641b9333ba072) is good
practice when it comes to extracting and seeking in a file that is being
downloaded.
Thanks.
2006 Aug 29
3
How can I seek in Ogg Vorbis file, but not using Vorbisfile library?
Hello, All.
I am making an Ogg Vorbis decoder based on Tremor. The Vorbisfile library provides a high-level API which enables us to seek in the file, but it needs to declare a pointer to OggVorbis_File structure.
Because I am supposed not to use file, so I can't use the ov_pcm_seek() or ov_raw_seek() functions to seek in the file. For decoding an Ogg Vorbis file, I first put it in
2003 Dec 14
1
Bride of vorbisfile questions
I've been playing around with using ov_test and ov_test_open as an alternative
to ov_open in the xmms plugin's vorbis_check_file function. xmms never
bothers to cache the result of a file check, so it tends to happen rather a
lot. Unfortunately ov_test_open returns OV_EINVAL because ov_test seems to
have left vf->ready_state to OPEN rather than PARTOPEN.
I'm presuming this is
2004 May 11
0
re: Seek problems with vorbis_file
Turned out to be a bug in my implementation of the file callbacks (not
setting up vi->end properly). Apologies :)
-----Original Message-----
From: owner-vorbis-dev@xiph.org [mailto:owner-vorbis-dev@xiph.org] On
Behalf Of Michael Smith
Sent: 11 May 2004 01:04
To: vorbis-dev@xiph.org
Subject: Re: [vorbis-dev] re: Seek problems with vorbis_file
On Tuesday 11 May 2004 01:43, Paul Knight wrote:
2001 May 26
2
merging monty's branch
Hi folks,
I'm doing a merge of my current branch onto the mainline (for testing)
today. I believe it to be stable. Just a little more vorbisfile
testing. After the merge, I have a few more patches to apply, then
onto cascading/coupling.
New stuff:
Floor backend 1 and residue backend 1; both are present, but the
mainline modes won't use either yet. Naturally, both are enabled for
2018 Nov 03
2
Decode ogg file while downloading: what are the good practices?
Well, your " OggPlayer::release; OggPlayer::open; before OggPlayer::seek"
seems to work!
Thank you so much!
Also, I'll take a look at the Opus codec, thanks for the advice!
For your information, here was the problem in details: let's say I download
an audio file whose length is 300 seconds.
When, for example, 15 seconds of the file were downloaded, I called
OggPlayer::open().
2002 Jul 23
1
[BUG] libvorbisfile ov_test() ?
The folowing code donst work:
#include <vorbis/codec.h>
#include <vorbis/vorbisfile.h>
#include <stdlib.h>
#include <stdio.h>
int main()
{
FILE *stdfile;
OggVorbis_File vf;
int tmp;
stdfile=fopen("./test.ogg","r");
if( ov_test(stdfile, &vf, NULL, 0) ==0)
{
tmp = ov_test_open(&vf);
2008 Apr 11
1
ov_read() returns OV_EINVAL (-131)
Hi,
I'm new to mailing lists, so don't argue if I do sth wrong...
I'm coding on a C++ game with Vorbis- and 5.1-Surround-compatibily. For
two channels (stereo), everything's fine, but when I try to read a
6-channel-ogg, ov_read returns -131 (OV_EINVAL). That's strange, because
as the specification says, it only returns OV_HOLE or OV_EBADLINK as
errors [1].
Have I missed
2001 Mar 12
1
ov_pcm_seek
How do I seek back to the beginning of a stream using ov_pcm_seek()?
ov_pcm_seek(0) doesn't seem to do anything, though ov_pcm_tell()
returns 0 right after opening the stream.
I'm now using ov_pcm_seek(1) which seems to work, but I'm not sure
if that's really right. Are PCM offsets meant to be 0 or 1 based? Is
this a bug?
Frank
--
Frank Heckenbach, frank@g-n-u.de
2009 Aug 19
2
How to seek theora streams
I need to be exposed to a way of seeking theora streams. I have repeatedly found the same question asked on a different forums but could not find an answer. I'm working on a game and started integrating video with theora, the sound works just fine with ogg/vorbis(i find it easy to seek using ov_raw_seek for audio files). Could someone please point me to some example/code of how can i seek with
2014 May 23
2
ov_pcm_seek to sample zero of Theora/Vorbis file hangs
Hi all,
I'm having a little trouble with a Vorbis decoder hanging (actually hard
looping the CPU) when I call ov_pcm_seek(&vorbis_file, 0) on a multiplexed
theora/vorbis file. It appears to be the vorbisfile library that has the
problem. The call to ov_pcm_seek never returns.
Seeking in non-multiplexed, including chained, files is OK. Seeking to other
values, including sample 1, works
2003 Jan 04
0
Problem with vorbisfile_example from WIN32SDK
We compiled the vorbis_example from WIN32SDK with Borland 5.0 under WIN98.
When running, it ends in an address violation caused by ov_open (or ov_test
as well). This happens no matter which Library we're using, or if we're
trying to read from stdin or a FILE*(which was binary).
thanks,
michael
<p><p>_________________________________________________________________
MSN -
2000 Jul 17
2
possible bug in _f0_fit_clear
I seem to be having a small problem, with _f0_fit_to_clear,
basically I get a segment violation when trying to seek,
(it seems to take two seeks before it falls over)
and for some vorbis file after playback as finished.
Here's a stack crawl for the seek.
loading symbols
segment violation occurred
_f0_fit_clear:
_f0_fit_clear:
+002a ea3039c6: * 103b cmpl (%eax), %edx
2006 May 11
1
Speed up?
Hello,
hope you're fine.
And hopefully someone can help me.
I wrote a short demonstration to show you my problem (see below). I'm
asking always for 64 samples. When "ov_read_float()" is finished, I
want to seek back to sample 1, and ask immediately for the next 64
samples.
But when I run this small app, I get an totally high CPU load.
Is there a way to it speed up?
Or do I
2003 Dec 11
1
Another vorbisfile question
Is there a straight forward method for seeking straight to a particular
logical stream using vorbisfile?
I'm guessing I'll have to look the offset for a given link up in vf->offsets,
and use that in ov_raw_seek?
Thanks,
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
2005 Aug 16
1
ov_raw_tell() not working properly!
I'm working on an application where I need to record
the current playing position and return to it later.
and I need this to be done the most efficient way, so
I used ov_raw_tell() and ov_raw_seek() because the
documentation says they are the best when speed is a
concern.
but the problem is that sometimes ov_raw_tell returns
the same value before and after calling ov_read;
here's an
2001 Mar 29
3
ov_pcm_seek() is very slow...
I realise the it's hard to do a seek in a variable bitrate
file but I didn't think it was this bad. It seems to vary
a lot with the file but the total time to do an ov_open()
and ov_pcm_seek() can add upp to a second or more. By this
time my DirectX buffers have wrapped around and are looping.
Can anybody think of a solution for this? I really need a
faster response time for my in-game
2003 Sep 14
6
ov_clear(&vorbis) segfaults?
Hello all. I'm new to this list. I'm also new to coding with libvorbis
and things, so please bear with me. :)
I've been having trouble with libvorbisfile.
My use of it is fairly simple, but when I try to ov_clear the vorbis
file, it segfaults.
I can attach or otherwise make availible some demo source code, but for
now I'll just pull out relevant lines:
//BEGIN PSEUDO CODE
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