Displaying 20 results from an estimated 10000 matches similar to: "play a ogg file from a given buffer instead of a file"
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.
2001 Jan 26
1
[fwd] Ogg123 crash report on EV4 Multia
----- Forwarded message from Telford Tendys <telford@triode.net.au> -----
Delivery-Date: Thu Jan 25 22:22:57 2001
Date: Fri, 26 Jan 2001 16:26:27 +1100
From: Telford Tendys <telford@triode.net.au>
To: feedback@vorbis.com
Subject: Comments on your code
User-Agent: Mutt/1.2.5i
Dear Vorbis,
I didn't even know about ogg or vorbis until I was at a conference
and someone said, ``if
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
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
2005 Jun 30
2
Reading from memory and ov_open
Hi,
I've been working with oggvorbis-win32sdk-1.0.1 and have a
semi-hypothetical question.
Let's suppose that, for whatever reason, I've allocated a block of
memory, and I've loaded into this memory a perfectly valid ogg vorbis
file.
Now I'd like to decode this vorbis data, but I'm stuck calling ov_open()
because I don't have a FILE*, I have a block of memory. (This
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
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 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
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 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
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
2003 Jul 22
6
Seeking ogg-vorbis
Hi there.
I have been hearing to ogg vorbis for maybe 2 years and I can only say: it
is fantastic!
Right now, I'm working in a project that uses ogg vorbis as the format for
recording. I have now a working recording engine (I have recorded up to 8
channels at the same time and my computer uses only about 30% of the
processor, wich is great in this project), and I'm starting with the
2004 May 06
2
AW: AW: Reading OGG embedded in a pack file
yes, you are right. i always search for quick and easy solution and
forget in the meantime that vorbis is a low level codec library. so
probably a wrapper lib is the right way. but as far as i understand
vorbisfile is already a bunch of convenience functions? so to speak a
wrapper lib ? so why not enhance a little bit vorbisfile ?
and - i did not felt personally attacked. i just wanted to note
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 20
1
Problem in devloping basic ogg streaming player for windows-Please help
Hi,
I am devloping a basic ogg player. I have taken help from this turorial:
http://www.devmaster.net/articles/openal-tutorials/lesson8.php
Thanks to jesse.
It is using openAL and ogg sdk. I am able to compile and execute this sample
perfactly fine. And ogg file on disk is playing perfactly fine. This
tutorial is using 2 buffers for streaming.
My requirement is to play file through URL like
2006 Oct 20
1
Problem in devloping basic ogg streaming player for windows-Please help
Hi,
I am devloping a basic ogg player. I have taken help from this turorial:
http://www.devmaster.net/articles/openal-tutorials/lesson8.php
Thanks to jesse.
It is using openAL and ogg sdk. I am able to compile and execute this sample
perfactly fine. And ogg file on disk is playing perfactly fine. This
tutorial is using 2 buffers for streaming.
My requirement is to play file through URL like
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
2004 Apr 24
2
Is this a bug in ogg ?
I have a problem i suspect to be a bug in ogg:
Assume i have a simple archive "chou_s_test1_test2.pak", created by simply
concatenating binary files together:
chou_s.jpg (3403 bytes)
test1.ogg (5196 bytes)
test2.ogg (6128 bytes)
If i place the a filepointer passed to ov_open to the beginning of
test1.ogg, this ogg gets opened and decoded correctly. But if i place it to
the beginning
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 Mar 06
3
access violation in ov_open using VC6
I passed a valid FILE* (from fopen() with "rb") and the
address of an OggVorbis_File struct, but an access
violation occured when ov_open is called.
I have enabled the Multithreaded, but it still doesn't fix
the problem. I look at the vorbis_comment.exe source and I
see vcedit_open() function and other vcedit_*() functions
everywhere. I am assuming that there is known issue with VC