search for: pageseek

Displaying 4 results from an estimated 4 matches for "pageseek".

2008 Sep 22
2
[PATCH] ogginfo: various
Hi, these are a few bits I found while working out why ogginfo was barfing on a stream (see previous oggz-comment patch). It fixes 32/64 bit %lld format bugs (vorbis and kate), adds a missing argument to a warning message, adds comments to what the return values of pageseek mean, and doesn't read more data if unneeded (this will lessen the memory used, but might mean worse performance, so the previous code might have done this on purpose ?) Thanks -------------- next part -------------- A non-text attachment was scrubbed... Name: ogginfo-format+missing-argument+r...
2004 Aug 06
3
BUG: page-aligned data in libshout
....user self.shout.password = stream.password self.shout.mount = stream.mount self.shout.format = 'vorbis' self.shout.protocol = 'http' self.shout.open() def __call__(self, data) : self.ogg.bytesin(data) while 1: newpage = self.ogg.pageseek() if newpage == None : break if self.page == 0 : self.page = newpage continue if self.page.serialno != newpage.serialno : self.page.eos = 1 if newpage.pageno==0 : self.page.eos = 1 self.page.serialno=self.serial...
2004 Aug 06
3
BUG: page-aligned data in libshout
....user self.shout.password = stream.password self.shout.mount = stream.mount self.shout.format = 'vorbis' self.shout.protocol = 'http' self.shout.open() def __call__(self, data) : self.ogg.bytesin(data) while 1: newpage = self.ogg.pageseek() if newpage == None : break if self.page == 0 : self.page = newpage continue if self.page.serialno != newpage.serialno : self.page.eos = 1 if newpage.pageno==0 : self.page.eos = 1 self.page.serialno=self.serial...
2006 Dec 07
2
page syncing and magic OggS
...d out which ones are the start of pages? (Other than trying to decode from successive 'OggS' markers and noting when the resulting page changes.) Is this what ogg_sync_page_seek is for? I can't quite work out from the documentation what it does. http://xiph.org/ogg/doc/libogg/ogg_sync_pageseek.html Does the sequence go, get a page, find a nearby 'OggS', put data from that point into a sync_state and ask pageseek whether we're in the right place? -- imalone