Displaying 20 results from an estimated 1000 matches similar to: "Bug in ogglib leads to incomplete packets"
2009 Jun 18
1
ogg_stream_reset() question
Hi Ogg experts!
My current work is catenating packets from several ogg files to the
one long stream, so I'd like to create stream once, and then reset it
just before reading codec headers from every new file. However, after
calling
ogg_stream_reset_serialno(ogg_stream_state *os, int serialno),
bos page is not pushed in stream since it calls
ogg_stream_reset(ogg_stream_state *os),
which
2004 Nov 01
1
compile libvorbis using mingw?
I downloaded libogg-1.1.2 and libvorbis-1.1.0, and want to compile them
using mingw32.
In libogg-1.1.2 directory, 'sh configure --prefix=/mingw' and 'make' and
'make install' works smoothly. It create libogg.a, ligogg.dll.a,
libogg.la in my /mingw/lib and header files in /mingw/include/ogg, so I
think the gcc compiler will find them easily.
After switching to
2002 Mar 26
2
Channel coupling
Unfortunately nobody has answered to my question about the channel mapping.
:-(
Are there any new ideas how save the channel mapping in multichannel vorbis
streams?
In addition it might be interessting thinking about using channel coupling
for storing the same content in different langauges (because many things
like background music are supposed to be the same). But there would be the
same
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
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
2008 Jan 04
2
ogg packets get lost
Hi,
I am actually working on a c++ wrapper for ogg/theora. It will be a small
library to easily create command line tools to cut/cat video-files and to
extract and join the video and audio stream etc.
However, I started the project and found some very strange behaviors:
I stored some ogg_packet objects (which are created on the heap) in a list.
When I make several calls to ogg_stream_pagein()
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
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 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
2001 Feb 11
2
ogg_stream_packetout() and stream mixing
Just to make sure, if I'm mixing 2 streams at the page level, and using
ogg_stream_pagein() and ogg_stream_packetout() to extract them, I need
two ogg_stream_states, one for each logical stream, and I need to ensure
that each ogg_stream_state only sees pages of it's own type, is that
right?
- Martin
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage:
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
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
2004 Mar 13
1
Ogg / Vorbis Compiling under W32 with MingW ** Problem **
I want to compile ogg and vorbis(version 1.01) under mingw.
In the console i typed
./configure
make
but there is a lot of error while making. here is the errors
$ ./configure
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific
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 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
2006 Feb 03
1
padding in comment header
Having looked through the archives I've come to the conclusion that
to do padding for comments (in a file tagging context) the simplest
solution is to zero pad the comment header packet to fixed length[1]
and regenerate pages from #2 up to the first one containing the setup
header. Is this correct?
Not very closely related: should doing ogg_stream_pagein followed
by
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 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
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
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)