Displaying 20 results from an estimated 7000 matches similar to: "Ogg files versus Ogg streams"
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
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
2006 Oct 05
2
ov_read, callbacks and 0 bytes read
How does one deal with the case when an fread callback doesn't have any
more data but is going to get more data in the future?
In particular, this is an issue when reading an incoming Ogg stream from
a socket (icecast2, in this case).
The issue is that the fread can't return 0 (that signals EOF and hoses
everything), and it doesn't have a negative code that says come back
later
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
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/
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
2012 Jun 10
1
[libtremor] ov_read is reading past file size
I have a wav file which has been converted to an ogg file with libvorbis
via ffmpeg. However I've tested a few files just to make sure.
I run a standard while loop to using ov_read to pull all the data out of
ogg file. Using 4096 as the size to read each call. Watching my debug
logs it is reading 2048 bytes each call.
When I load the wav file the data chunk for the pcm data is 167680
2004 Mar 19
9
How many MIPS for Vorbis Decoder?
Hello,
I may be stupid, but I cannot find any data on how "expensive" the Vorbis
Decoder is. Looking for an embedded solution I am interested in how many
"MIPS" you need to decode a MONO audio stream at reasonable quality (44 kHz,
approx. 100 kbps?)
Can it be done in a microcontroller, or do I need ultra-expensive DSPs to do
it?
Thanks for hints
Jens
--- >8 ----
List
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
2008 Aug 13
1
Tremor + upstream Ogg library
Hi vorbis experts!
I'd like ot write application under Symbian that use theora as video
codec & tremor as an audio one. I played at first with libogg &
theora on PC, then successfully ported them both. Next I decided
to port Tremor but I found that it use its own files from Ogg library.
The API is almost identical, so I tried to bind the Tremor with upstream
Ogg library (it actually
2009 Oct 22
1
Is it possible to seek different Ogg Vorbis encoded packets from the File?
Hi All,
I am trying to program the 'Tremor' decoder onto an array of Processors.
I am using four Processors.
I did this experiment: I split the while(!eof){} in the main() in to
four tasks using if(!eof) statements. In this modification, each if()
decodes one packet of data at-a-time, sequentially. Then, I ran the code on
a single Processor and the decoding was successful. The
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
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
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 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
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
2005 Jan 31
2
Questions regarding OGG implementation on DSP
As to tremor fixed-point implementation, i got several questions, and hopefully some one can help me out.
Thanks a lot!
1. For DSP chips with small and limited memory, how much memory do we really need for
saving all codebooks before we start to decode audio packets? Can the bit-rate give us some clues?
Is there some simple guidelines for this?
2. For CRC error protection, it seems to me that
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
2005 Feb 06
1
Query on Tremor-lowmem version
Hi,
While following the developer mailing list, I came across
"tremor-lowmem" version. I did some search of it in Xiph.org and
"tremor" source code but wasn't able to find it. I would like to know if
there is any separate thread for the "tremor-lowmem" version as we are
working on the fixed point implementation of Vorbis code and we are
looking forward for