Displaying 20 results from an estimated 2000 matches similar to: "Yet another vf question..."
2005 Jun 14
3
lack of detail for exception in ov_open
I am having one frustrating time trying to decipher why ov_read is failing in my MFC/C++ application, and I see in Google results that others have had difficulty as well. These google discussions generally involve libraries, dll's and linking options, as though there are perhaps some basic incompatibilities between ogg vorbis and win32 and/or MFC/C++. Very confusing.
If I pass fopen a
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
2006 Jun 14
1
Having problems with ov_read
Ok here is the breakdown. I am trying to impliment streaming into our game
using openAL and ogg-vorbis. In the non-streaming function when I call
ov_read on the file I should be streaming the buffer gets filled with the
correct data. However, when I run ov_read on the same OggVorbis_File when I
read the buffer gets filled with 0's. The buffer has not been zero'd and
starts filled
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
2002 Feb 05
2
Documentation Suggestions
I'm a developer for a game company and I'm almost done adding support for
Vorbis to our game engine. As such, I wanted to simply plug in the read
function, let it decode, and then send the PCM data on to DirectSound just
like I always have. There were several occasions where I spent 4 or 5
hours trying to fix a bug, digging through newsgroups and sound-format
specs, when that info could
2000 Dec 13
2
ov_clear segfaults?
Hi guys,
I'm working doing the Java->JNI->OggVorbis thing. As a test to get me
going, I've just written a quick routine that dumps info about the file
test.ogg in the current directory.
The problem arises when I call ov_clear. I get a segfault everytime. Note
that I am *not* doing any decoding (ov_read) at all, just ov_comment and
ov_info. Should I only call ov_clear if I have
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
2004 Feb 11
1
Problem using 'ov_open()'...
OK, I've been developing a small class that I can use in virtually any
application to load and decode OGG files. Everything works fine until it
reaches the line with the call to ov_open, then the application freezes and
has to be killed. This is a single-threaded Win32 app. Below is both the
structure that gets passed around, and my entire OGG class. Maybe one of
you can figure this out.
2005 Jun 17
1
ov_open fails on Version 1.0.1
Eddie,
I have been reviewing vorbis list postings, because I have been spinning my wheels for a week, trying to make a simple insertion of ogg vorbis decoding (vorbisfile) in the audio class of my MFC/C++ program. I just read your thread from April 2004.
Question: Do you have anything you could send me, since I assume you succeeded in getting results? And/or could you take a look at what I
2000 Nov 29
1
ov_read() reading too little.
Hi,
I've ditched the idea of calling the oggvorbis .dlls, and I'm compiling
the 1.0beta3 source into my own dll. After opening as "rb" instead of
"r", the ov_open() call works. However, ov_read() seems to consistently
read less data than I ask for. My buffer is enough to hold two seconds
of data, 16 bit 44k mono, that's 176400 bytes. The first call to
ov_read()
2003 Jan 05
2
VorbisFile library crashs.
Hello!
There is a problem with the VorbisFile library. It only works when I open an
OGG file for
the 1st time. After I closed the file and try to open another one or the
same it crashs. It seems it applies to the use of either ov_open or ov_test
functions or their combination.
I wrote a test app that illustrates the bug. It crashs with a message
"Unmapped memory exception". It's
2004 May 18
1
Can vorbisfile read comments from an HTTP stream
Just noticed this article on Slashdot:
http://ask.slashdot.org/article.pl?sid=04/05/18/0432202
...about the feasibility and efficiency of reading id3v2 tags out of mp3's
over http. I know that vorbisfile's callback model is well suited to handling
this sort of scenario, but I'm curious to know whether ov_open will try to
read enough stream to pull the comments out on a
2001 Aug 30
1
Problems with vorbisfile and files smaller than CHUNKSIZE
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm writing a simple application to decompress a set of Ogg files to
raw PCM format, using vorbisfile, because that is the simplest way of
doing it. These Ogg files are sounds for a game, and thus sometimes
very short (about .25 s).
However, vorbisfile has severe problems with Ogg files that are
smaller than the CHUNKSIZE which is #defined
2003 Sep 22
1
vorbisfile for Mac Classic
Hi, this is my first post, I hope it's the right
mailing list (or should it be vorbis@xiph.org?)
I just downloaded "SDK for MacOS9" and tried to
compile the "vorbisfile_example.c" sample with
CodeWarrior for Mac 8 on a Mac OS 9.2 machine. I
included the libOgg and libVorbis libraries in my
project, but the linker cannot file ov_clear(),
ov_read(), ov_pcm_total(),
2002 Apr 07
1
Trying to figure out the library...
I'm new to this list so... Hello everyone :)
Anyway, I want to use Ogg in my Windows-based game but am having trouble
figureing out how to get the library to work. I downloaded the "Windows
SDK" snapshot and included all the relevant files in my MSVC++ 6.0 project
on Windows 2000, but the examples do not run due to memory overruns. Here
is some code I tried to run, which is, as
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 <
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
Couple more problems (ov_open_callbacks)
I'm in the final throes of debugging (hopefully) and the last thing I'm
trying to do is figure out why I'm getting static instead of usable
data. I have a verified Ogg file (it plays fine in WMA); I've visibly
inspected the info struct and it matches my output format; I've verified
my audio playback code by using a generated sine wave (sounds correct).
So that leads to a
2004 Apr 05
2
Massive Problems on Windows XP pro with Libvorbis[Vorbisfile]1.0.1
Hey there
I'm using CodeWarrior8 for development on the windows platform and
have been trying for some time now to add .ogg support to my engine
project.
First i had the problem quite a lot had out there with a crashing/freezing
call to ov_open which i solved by recompiling those libs against the
single-threaded variant of the core libs using VC++ 6
But now i have another problem.
now every
2002 Dec 09
2
ov_open/ov_test weirdness
Hi,
I've been playing with a little player, and it seems I can't ov_open a file
twice?
heres a snipit...
<p>#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <vorbis/vorbisfile.h>
OggVorbis_File vf;
FILE *f = NULL;
int main(int argc, char **argv)
{
char *file = NULL;
int err = 0;
if(argc < 2) {