Displaying 20 results from an estimated 1000 matches similar to: "retrieving "instant" bitrate without vo_open?"
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
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
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
2009 May 16
2
Speex seek with high precision
Hello Conrad,
I'm trying to seek the way you told but I'm facing a problem.
ogg_page_packets returns 164 and following code returns 189. Shouldn't it be
the same, what does that means ?
int res;
while (true)
{
res = ogg_stream_packetout(&os, &op);
if (res == 1)
nPackets++;
if (res == -1)
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
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
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
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
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
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
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 13
2
Speex seek with high precision
Hello everybody,
I'm new to this mailing list so I'm sorry if it's the wrong place to post
this.
I'm developing a Speex player and I need to seek with a precision of
milliseconds. I used liboggz that supposedly does just that, but it never
seeks exactly where it should. For example if I use oggz_seek_units(oggz,
18450, SEEK_SET) result it's 16386 and there is a delay between
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.
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
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);
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
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
2000 Sep 13
1
my vorbis comments
Ok I just finished writing a Vorbis encoder/decoder, and here are some
of my comments (I'm sure some of these are well known, but here they
are anyway - sorry this is long):
1. vorbis_info:
a. Accessing the pre-computed info structs through pointers to
static data is messy IMO. I should be able to vorbis_info_init
(or similar) an info struct to be exactly the same as info_A, for
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
2006 Aug 06
2
Speex + Ogg package
sorry, no webchat, is a videoconference program. And I'm using UDP as you
can read down on the mail.
The problem is that speex packages alone work great, but to split
speex/theora packages on the arrive I need to use some kind of container,
and I'm trying ogg.
On 8/7/06, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> wrote:
>
> If by webchat you mean anything interactive,