Displaying 20 results from an estimated 300 matches similar to: "Ogg slow _os_body_expand"
2002 Aug 06
0
Getting a GUI to work with Vorbis code
I am trying to create a Graphical User Interface for a Vorbis Player under
MS Visual C++ 6.0
I was initially trting to use the code from decoder_example.c but I keep
getting linker errors.
I have set up my project as told to by James Boer on this mailing list.
This is as follows:
This document was prepared from an email received from James Boer on the Ogg
Vorbis mailing list. It gives a
2001 Feb 04
2
Am I missing something?
Hey all,
If my understanding is right, there's a serious big in vorbisfile.c, in
the routine _fetch_headers(), which will only show up when comment
packet spans multiple pages. The code to read the first 3 Vorbis
packets ogg_stream_pagein() once, then calls ogg_stream_packetout().
The problem is that ogg_stream_pagein() only adds a single page to the
ogg stream state, whereas
2004 Sep 18
5
possible libogg bug holding up Ogg FLAC
I wish I would have come across this in time for the libogg-1.1.1
release... Maybe I'm doing something wrong but here it is.
One FLAC compressed frame becomes one packet when encapsulated in
Ogg, and FLAC packets can be much larger than the nominal 4k page
size. For CD audio they are usually 10-15Kbytes. Imagine this
Ogg stream where the lines denote page boundaries and the x's
are one
2008 Aug 28
0
Error while cross compiling libvorbis 1.2.0
Dear All,
I am trying to cross compile the dependencies of ices for arm linux. I
have been able to compile libxml2 (2.6.32) and libogg (1.1.3)
successfully but I am getting stuck at compiling libvorbis (1.2.0).
Making install in examples
make[1]: Entering directory `/home/sr/armlinux/stream/libvorbis-1.2.0/examples'
/bin/bash ../libtool --tag=CC --mode=link
/usr/local/arm/bin/arm-linux-gcc
2009 May 12
2
compile error of libtheora example
hi all:
i downloaded libtheora1.0.tar.gz from xiph.org, and when i compile it,
such error message popped.
i tried to run player_example.c under /libtheora_1.0/examples/.
error message:
ivysummer at ivysummer-desktop:~/??/libtheora-1.0/examples$ gcc -o player
player_example.c
/tmp/ccpyle3c.o: In function `buffer_data':
player_example.c:(.text+0x15): undefined reference to
1999 Oct 04
3
Detailed decoder pseudocode (was: Re: ETA?)
> > Which part?
>
> Well, my biggest problem is dealing with files. As you have mentioned
> that fill_buffer() is obsolete, what has replaced it? ogg_sync_buffer()
> didn't seem to be what I was looking for, as far as I can tell... am I
> headed in completely the wrong direction?
Ah, OK, I understand where you're headed now.
The libvorbis API is different than
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
Hello, I'm new to this list, and pretty much also to the codec universe.
In a computer game I'm working on, there is an 3D TV-screen onto which I
project the frames of a movie. The movie is of course stored as theora, no
audio as it's not needed yet. I have it working so far, extracting a frame
and uploading it to the graphics card when the scene is drawn. The example
file
2006 Oct 09
1
Vorbis primitive API examples (LONG)
Okay, how do I drop a changeset/patchset/tag for you folks from SVN?
At this point, I have written three examples of how to use the basics of
the ogg streaming and decoding in Tremor. I heartily welcome any
suggestions, improvements and corrections that you can point out in the
code.
The examples required me to make some small modifications to the main
tremor library. However, the changes
2009 May 16
1
Speex seek with high precision
Hello,
This is the code, it's a little crap but only to see if it works. I assume
rate = 16000 and frame_size = 320.
if (this->seek_to != -1) // SKIP
{
ogg_int64_t max_units;
//max_units = speex_seek(fin, this->seek_to, 0, rate);
int nPages = 0;
int nPackets = 0;
// Pone el cursor en la posici?n inicial del fichero
fseek(fin, 0, SEEK_SET);
2008 Apr 29
2
More trival questions
Hopefullly this is once again something trivial I'm missing. I'm still trying to figure out how to pull a part a stream. I get two out the three theora headers I can see in the file (http://v2v.cc/~j/theora_testsuite/320x240.ogg) if I use the buffer in the page struct and nothing usable if I try to use the packet structs. Hopefully this is once again something something trivial I've
2007 Feb 16
1
AW: How to do Theora playback efficiently ?
Hi Ralph,
thanks for your posting.
Yes, the standard example player in the theora distribution could also do it
when theora would not need so much time. I removed the frame dropping from
the example because it's based on some audio stuff under Linux that isn't
available on Windows. Currently I've no frame dropping handling build in
because the first goal is a good raw performance of
2005 Jun 22
2
ogg_sync_pageout
It seems to me that running ogg_sync_pageout doesn't automatically advance
the page. This is good if you haven't worked with the given page, makes
coding somewhat easier. However, when does a page advance. Is it after a
call to ogg_stream_pagein?
On a side note, I need to do seeking on top of libvorbis, I'd love to use
vorbisfile but sadly I can't. Is there a reasonable way to
2001 Sep 22
3
retrieving "instant" bitrate without vo_open?
ok, I'm aware that vo_open cant be used at the same time as other functions
such as ogg_sync_wrote, ogg_sync_pageout, ogg_stream_pagein,
ogg_stream_packetout and vorbis_synthesis_headerin. In order to get
information from the bitstream i've been using this method because it's fast
and doesn't require decoding of the stream. But, i can only retrieve the
average bitrate of
2006 Aug 31
0
OpenAl and Vorbis
Hello! My name is Lars Quentmeier and I'm trying to write a theora-player.
Video is already showing up, but unfortunately I can't get my Vorbis-Decoder to work correctly. Could you perhaps help me? My decoding function looks like this:
int
VorbisDecoder::getAudioData(char* audiobuf, int fragsize){
// single audio fragment audio buffering
bool audiobufReady = false;
int size=0;
int
2006 Aug 06
0
Speex + Ogg package
If by webchat you mean anything interactive, then I can already tell you
what the problem is. TCP+Ogg. For anything real-time, you want UDP/RTP
without Ogg. Also, you need to take into account the fact that computers
do *not* have accurate clock and their soundcards drift. None of these
problems are fatal, but you need to take that into account in the
design.
Jean-Marc
On Mon, 2006-08-07 at
2001 Apr 05
1
decoder_example -- event driven?
I'm trying to adapt decoder_example to to support more of an event driven
model. I'm building an RTSP client/server where the client will have a
function called everytime a new packet comes in. So, I want to queue
up these packets to be played.
My current attack is as follows (note this isn't very robust and I
realized that):
For first and second packet i grab all the header stuff
2006 Aug 06
2
Speex + Ogg package
I'm currently working on a speex + theora webchat.
I have both working alone, but to make them work together and to know where
the package goes, I'm trying to use ogg packages.
With theora there has been no problem, but with speex I can't make it work.
The problem is that for a second it works great, but then it begings to gain
lag, and in a little time it has 5-10 lag seconds (into
2001 Oct 23
0
NEW Real Media plugin, WAS: libvorbisrtp-0.1
me asking Jack Moffit:
> > (i.e. are you indicating there is already a Real plugin?)
Jacks' response:
> Yes. Has been for almost a year. It's not finished, but it works.
> Let me know what you find. I'd love for us to work together and not
> duplicate efforts.
Oh, I did not know that ;) If the Real Plugin had been part of the Vorbis SDK,
I wouldn't even have
2004 Sep 22
3
copying an ogg stream
dear list,
i am trying to write a small program which reads an ogg file and writes
it to another ogg file (and changes serial number, granulepos etc on the
fly).
reading the ogg file is ok (ogg_sync_pageout, ogg_stream_pagein,
ogg_stream_packetout). but writing the file doesn't work - the
granulepos and page structures don't match with the original file.
here's what i am doing.
2001 Dec 06
1
packet over several pages
Hello everyone,
I'm programming something using ogg vorbis and i
was wondering how I could get a packet from a
logical bitstream when this packet is over several
pages.
let's say I made a call to ogg_stream_pagein, then
ogg_stream_packetout, but the packet is incomplete
and continued in the next page(s). If I get the
following page and I call ogg_stream_pagein again,
how can i get