Displaying 20 results from an estimated 300 matches similar to: "possible regression in libogg"
2013 Dec 04
1
possible regression in libogg
Am 03.12.2013 23:49, schrieb Monty Montgomery:
> Any time code is stuck in a loop calling ogg_sync_pageseek() or
> ogg_sync_pageout(), you'll see most of the time sunk into checksum
> calculation. It's the only thing in libogg that _can_ take much time.
> This is not likely a libogg bug, but a bug in the code calling libogg
> in a tight loop.
>
> Looking at the file
2006 Dec 07
2
page syncing and magic OggS
I may be missing something, but is there a good way
of finding the start position of an ogg page in a bitstream?
Pages have to start with 'OggS', but this could also turn
up elsewhere in the bitstream, so is there a simple strategy
using the libogg API to find out which ones are the start of
pages? (Other than trying to decode from successive
'OggS' markers and noting when the
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
2013 Dec 03
0
possible regression in libogg
Any time code is stuck in a loop calling ogg_sync_pageseek() or
ogg_sync_pageout(), you'll see most of the time sunk into checksum
calculation. It's the only thing in libogg that _can_ take much time.
This is not likely a libogg bug, but a bug in the code calling libogg
in a tight loop.
Looking at the file listed in the bug, there's a page discontinuity at
the very beginning; after
2000 Jun 27
1
vorbis-tools/Makefile.in glitch...
I'm updating my vorbis rpm spec file, and when I try to do "make -C
vorbis-tools ogg123", due to rpm's build environment, I get lots of:
gcc ogg123.o -o ogg123 -lm ../lib/libvorbis.a ../lib/vorbisfile.a
../lib/vorbisfile.a(vorbisfile.o): In function `_get_prev_page':
vorbisfile.o(.text+0x54): undefined reference to `ogg_sync_reset'
vorbisfile.o(.text+0xa9): undefined
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 Aug 19
2
How to seek theora streams
I need to be exposed to a way of seeking theora streams. I have repeatedly found the same question asked on a different forums but could not find an answer. I'm working on a game and started integrating video with theora, the sound works just fine with ogg/vorbis(i find it easy to seek using ov_raw_seek for audio files). Could someone please point me to some example/code of how can i seek with
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
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
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 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 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
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.
2007 Apr 12
0
Seek problem 1 - can't find frame number
Hi people,
I'm writing a decoder that uses libtheora on Windows and Linux. Decoding works
well by now.
I have a couple of problems with it, that I just can't seem to figure out.
I'll write each of them in a single mail, so it's easier to answer individual
problems.
The first problem I have is seeking, when it's playing files. I have
implemented a weighted binary jump
2009 May 18
2
clearification
Greetings,
How does the ogg_page_bos function work? I call this function directly
after calling ogg_sync_pageout. It works. Then I place a guard around it
until the start of a new stream (chain mode). If this is the start of a
new stream, should it return zero after the next call. I looked in
ogg_page structure to see if there is a member named b_o_s, but I did
not see anything. What is being
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
2007 Mar 16
1
ogg_sync_buffer() memory alignment
I am writing an Ogg Vorbis decoder for win32.
I want a memory buffer which is aligned to the disk sector size (512
bytes on hard disk, 2048 bytes on cd/dvd), so that the win32 function
ReadFile can be persuaded to do 'unbuffered IO'.
Unfortunately, the ogg_sync_buffer() call gives me a pointer from its
own, internally allocated buffer. I have found no docs to indicate that
this would
2012 Jun 07
3
embeding xml to ogg
Oleksij Rempel <bug-track at fisher-privat.net>
> On 05.06.2012 20:41, Martin Leese wrote:
...
>> On 6/5/12, Oleksij Rempel wrote:
>> || We need fallowing tags:
>> || creation datetime: seconds and time zone should be included.
>> || source host: it can be name or guid. to organise created files by
>> sources.
>> || keywords,events.
>> || date
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