Displaying 20 results from an estimated 3000 matches similar to: "ov_open_callbacks() performance & memory requirements"
2002 Mar 04
1
ov_open_callbacks
Hi`
Is there some example code on how to use ov_open_callbacks with VorbisFile?
The documentation I found is _very_ sparse and if possible I don't want to
spend much time adding streaming from memory to my code.
http://www.xiph.org/ogg/vorbis/doc/vorbisfile/ov_callbacks.html
<p>Thanks,
-- Daniel, Epic Games Inc.
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
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
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
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
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
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 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
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 :=
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 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
2003 Mar 02
1
ov_pcm_total() returns always 0 after ov_open_callbacks()...
Hi Folks,
i implemented the required callback funktions to open an ogg file from
memory.
Now ov_pcm_total() returns always 0, strange thing about is that
ov_pcm_total does not call any of the callback funktions.
I also like to mention that ov_info (which uses the read and seek callback
funktions) delivers correct values. Thats why i doubt that there's an error
in (the rather simple) callback
2017 Apr 06
2
Zero length reported.
Hello - I have two files which play back in VLC correctly.
They were encoded using this command:
ffmpeg -y -i '/tmp/2e905b981d30324f9a0664cbabb3f59a20170406-21128-r0neh9.wav' -acodec libvorbis '/tmp/2e905b981d30324f9a0664cbabb3f59a20170406-21128-r0neh920170406-21128-146yyex.ogg
However ov_pcm_total reports a zero length for one of the two files. Is this a problem with my use of the
2017 Apr 06
2
Zero length reported.
Hello - I have two files which play back in VLC correctly.
They were encoded using this command:
ffmpeg -y -i '/tmp/2e905b981d30324f9a0664cbabb3f59a20170406-21128-r0neh9.wav' -acodec libvorbis '/tmp/2e905b981d30324f9a0664cbabb3f59a20170406-21128-r0neh920170406-21128-146yyex.ogg
However ov_pcm_total reports a zero length for one of the two files. Is this a problem with my use of the
2000 May 01
2
Bug fix, win32 stuff
There was a bug in the new ov_open_callbacks where it would
not zero out some member variables of the file info struct,
and if a file was not successfully opened this would cause
a crash at destruct time. Fixed.
I've also made some changes so that vorbis will compile
cleanly under win32 without one having to muck around with it.
I have added a "vorbis_vc6" directory which contains
2005 Mar 08
1
Pluralization rules?
Is there documentation somewhere on how RoR handles pluralization? I''m
finding it head-scratching/table-thumping.
I''m playing with converting an old PHP app to RoR. I used to have a
table called "status_code" which was referenced by column "status". I
converted the "status" column to "status_id" and the table to
"statuses",
2002 Mar 21
1
Ogg Vorbis and DirectSound streaming
hi,
I downloaded the vorbis-sdk-1.0rc3 and wrote an application that plays ogg
files using DirectSound(win32 application). It uses streaming technique -
I'm implementing and passing IStream interface to the DirectX. The interface
is used by DirectX to fill his buffers during playing. DirectX is assuming
that it's readind from a wav file, so the interface decodes on-the-fly so
that
2009 Jan 05
3
Don''t Shout at your JBODs
http://www.youtube.com/watch?v=tDacjrSCeq4
I wonder if the inverse is true. If I whisper soothing
words of encouragement at my JBODs, will I get
more IOPS with reduced latency?
:^)
2017 Apr 11
1
[Vorbis-dev] Zero length reported.
Okay - so I stepped through the code slowly this morning making notes as I went.
And I can see what’s wrong. The last Ogg header of the troublesome file contains -1 as the granule position. The spec says this has a special meaning "A special value of '-1' (in two's complement) indicates that no packets finish on this page."
4F 67 67 53 00 04 FF FF FF FF FF FF FF FF 16 A2
2003 Oct 23
1
Output signal of the Tremor Codec
Hi,
I study electricity in the University of Applied Sciences of Western Switzerland and I just began my diploma work: an embedded Internet Radio Receiver.
I want to use the Tremor Codec on a ARM7TDMI uc (Samsung S3C4510B). And I need to convert the decoded Vorbis signal in an I2S bus signal (clk, word-select, and data) with a CPLD (Xilinx SPARTAN II)
It will be helpfull if someone can explain