Displaying 20 results from an estimated 2000 matches similar to: "ov_open_callbacks"
2006 Aug 30
2
Continued:How can I seek in Ogg Vorbis file, but not using Vorbisfile library?
Hello, All.
First, I want to thank Ian Malone and Ralph Giles, thanks for your kind replies. But I still have problems about seek.
As you suggested, I could use ov_open_callbacks() to supply my own read/write/seek functions. So, can you give me an example? I?m sorry for my ignorance, because I haven?t used callbacks before.
I analyzed the vorbisfile.c in Tremor, and I think I
2004 Sep 07
3
Introducing ov_open_callbacksp and ov_clearp
Hello,
I've been looking to the libvorbisfile and got into troubles when trying to
use it: I need to compile it on a PalmOS and the libvorbisfile must be
compiled in ARM whereas calling code is in 68K. This implies that the
interface ov_open_callback is not usable because the OggVorbis_File *vf must
point to something in the target architecture (ARM) whereas the caller
cannot do that.
As
2004 May 23
4
Various Ogg Vorbis largefile notes and/or patches
Greetings one and all;
I'm not subscribed to this list so I'm first sending this message
to verify that mails from me make it through, and then later I'll
send the juicy messages with patches. Also, the address I'm using
is IPv6-only and doesn't often work, so drop me from any replies
and I'll catch the archives, or drop only the hostname part to get
an IPv4 address that
2014 Feb 02
1
Trouble implementing ov_callbacks, endless loop calling seek_func
Hello list,
I've been having a tough time adding windows resource support to my ogg
vorbise decoder, although I think I am close. Basically when I call
ov_open_callbacks(), it doesn't ever return and repeatedly calls my
seek_func.
I'm hoping it is something obvious, but I can't see why my seek_func is
being called endlessly. If the file is seekable, I should return 0, right?
If
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
2004 Sep 06
1
Fixing libvorbisfile to handle largefiles
[I'm not online regularly, so don't include me in any replies.
Looks like the archives are working at present, so I'll catch
up from them when I get a chance. Thanks...]
(Trying out vorbis-dev@ instead of vorbis@ where I sent my
previous messages; if this is the wrong place, correct me)
Greetings.
Some weeks ago, I submitted several hacks which gave me the
ability to play Ogg
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
2000 Apr 21
3
vorbisfile updates, and a couple of questions
The changes to vorbisfile that I suggested earlier have now been committed -
this is mostly a merge of my code with a similar patch from Martin Vogt
(thanks Martin).
The old ov_open() interface remains untouched - and for many people, this is
all you'll need to use, ever. It now calls the new interface with
appropriate arguments.
The new ov_open_callbacks() function adds an extra argument to
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
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
2014 Feb 02
0
unsubscribe
On 2014-02-02, at 12:00 PM, vorbis-request at xiph.org wrote:
> Send Vorbis mailing list submissions to
> vorbis at xiph.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xiph.org/mailman/listinfo/vorbis
> or, via email, send a message with subject or body 'help' to
> vorbis-request at xiph.org
>
> You can reach the person
2004 Apr 17
1
Reading OGG embedded in a pack file
I have a number of assets packed into a single file. Some of these are OGG files. I have code to seek to the start of an embedded file, but cannot find any OGG functions that let me start at an arbitary point in a stream. The original code (which works) that opens a stream, then reads in the OGG data starts like this:
// Read from an already open stream.
// Assumes stream is positioned to
2009 Jun 04
1
ogg audio streaming problem
Hi,guys
Hope you are doing well!
I am an ogg format starter, and I am implementing ogg audio streaming.
I meet some problems for streaming.
My application is as follows:
I send download request to server,and server sends the download ogg file to
client side.
when a certain amount of data is downloaded, and I start to play the ogg
file by using a library.
I use juce c++ library which uses
2003 Jun 23
3
Cannot get ogm infos
Help is needed !
I cannot extract infos from video stream in an .ogm file using the
VorbisFile library.
It seems that I can only open .ogg files (audio)! When I call
"ov_open_callbacks" it generates a message error.
Here is my procedure in pascal:
code:
_____
procedure GetOGMInfo;
var
F : TFileStream;
vf: OggVorbis_File;
res: integer;
begin
F :=
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
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
2009 Jun 04
0
ogg audio streaming problem
Hi,guys
Hope you are doing well!
I am an ogg format starter, and I am implementing ogg audio streaming.
I meet some problems for streaming.
My application is as follows:
I send download request to server,and server sends the download ogg file to
client side.
when a certain amount of data is downloaded, and I start to play the ogg
file by using a library.
I use juce c++ library which uses
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 Oct 14
3
patch for non-seekable streams on Windows
I've been trying to get oggdec to work with input streamed in through a
pipe or a socket. This seems to work on Linux and OS X, but not on
Windows. I've found that code in vorbisfile.c tests the input stream for
seekability by invoking fseek in the following way:
int offsettest=(f?callbacks.seek_func(f,0,SEEK_CUR) : -1);
Unfortunately, fseek succeeds for a socket on Windows (even
2001 Jan 03
1
Use of const
> Neither. initial could be const, but isn't. libvorbis doesn't make much
> (any?) use of the const keyword, though there are plenty of places it
would
> probably be good to use.
Because the source files are C and not C++, parameter types aren't checked,
so is the use of const really a good idea?
For example, this compiles fine (on VC++ 6), but itsn't right:
int