search for: oggz_seek

Displaying 14 results from an estimated 14 matches for "oggz_seek".

2009 May 04
1
[PATCH] oggz: inefficient seeking
I have a 1.1G Ogg file with vorbis and theora. oggz_seek_units() takes 14 seconds to find a position in the file towards the end. Now, the function guess() in oggz_seek() guesses a position at about 1.5G and then slowly searches back until it finds the end of the file (continously seeking beyond the end of the file and then calling read which returns 0...
2009 May 15
0
[PATCH] oggz: limit seeking to specified range
...d it means that seeks into regions which are buffered are almost instantaneous - which is a big improvement! I had to change liboggz, so I wonder if you guys would accept the change in your repository? My patch to liboggz is below. All the best, Chris Pearce (:cpearce) diff --git a/include/oggz/oggz_seek.h b/include/oggz/oggz_seek.h index e791e51..1801236 100644 --- a/include/oggz/oggz_seek.h +++ b/include/oggz/oggz_seek.h @@ -470,9 +470,28 @@ long oggz_seek_byorder (OGGZ * oggz, void * target); * \param oggz An OGGZ handle previously opened for reading * \param offset The offset of the start...
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
2012 May 21
1
Problems seeking with liboggz
...rgv[]) { OGGZ* pOGGZ; int ret; oggz_off_t ofs; pOGGZ = oggz_open("MyAudio.spx", OGGZ_READ | OGGZ_AUTO); ret = oggz_set_read_callback (pOGGZ, -1, myReadPacketCallback, (void*)0); ret = oggz_set_read_page (pOGGZ, -1, myReadPageCallback, (void*)0); ofs = oggz_seek(pOGGZ, 0, SEEK_END); printf("\n Audio file size in bytes = %8lld", ofs); ofs = oggz_seek(pOGGZ, 0, SEEK_SET); ret = oggz_read(pOGGZ, 28779); for(int i=0; i<3; i++) { ogg_int64_t seektime = (i==0 ? 5000 : i==1 ? 10000 : 13000); ogg_int64_t rseek...
2012 May 21
0
Problems seeking with liboggz
...> > > pOGGZ = oggz_open("MyAudio.spx", OGGZ_READ | OGGZ_AUTO); > > ret = oggz_set_read_callback (pOGGZ, -1, myReadPacketCallback, > (void*)0); > > ret = oggz_set_read_page (pOGGZ, -1, myReadPageCallback, > (void*)0); > > > > ofs = oggz_seek(pOGGZ, 0, SEEK_END); > > printf("\n Audio file size in bytes = %8lld", ofs); > > ofs = oggz_seek(pOGGZ, 0, SEEK_SET); > > ret = oggz_read(pOGGZ, 28779); > > > > for(int i=0; i<3; i++) > > { > > ogg_int64_t seektime = (i==0 ?...
2012 May 23
0
Problems seeking with liboggz
...> > > pOGGZ = oggz_open("MyAudio.spx", OGGZ_READ | OGGZ_AUTO); > > ret = oggz_set_read_callback (pOGGZ, -1, myReadPacketCallback, > (void*)0); > > ret = oggz_set_read_page (pOGGZ, -1, myReadPageCallback, > (void*)0); > > > > ofs = oggz_seek(pOGGZ, 0, SEEK_END); > > printf("\n Audio file size in bytes = %8lld", ofs); > > ofs = oggz_seek(pOGGZ, 0, SEEK_SET); > > ret = oggz_read(pOGGZ, 28779); > > > > for(int i=0; i<3; i++) > > { > > ogg_int64_t seektime = (i==0 ?...
2012 May 16
2
Problems seeking with liboggz
...pen a Ogg Speex-encoded audio file with oggz_open("MyFile.spx", OGGZ_READ | OGGZ_AUTO); - I have a loop of invocations of oggz_read() that triggers in the due time the page and packet callbacks defined by me. - But when I randomly do seeking by means of ogg_int64_t rseek = oggz_seek_units(pOGGZ, posMsecs, SEEK_SET); I get erratic results: Many times rseek does not match posMsecs. The first page callback after the seek invocation refers to a page that is sometimes previous and sometimes after the page that contains posMsecs. What rules ar...
2010 Apr 29
0
liboggz release 1.0.2 (1.0-stable series)
...gz_auto.c | 6 +- src/liboggz/oggz_comments.c | 47 ++- src/liboggz/oggz_dlist.c | 23 +- src/liboggz/oggz_dlist.h | 6 +- src/liboggz/oggz_private.h | 3 + src/liboggz/oggz_read.c | 46 +++- src/liboggz/oggz_seek.c | 2 + src/tests/comment-test.c | 21 +- src/tools/oggz-validate.c | 2 +- 19 files changed, 924 insertions(+), 50 deletions(-) create mode 100644 TODO create mode 100644 macosx/English.lproj/InfoPlist.strings create mode 100644 macosx/Info.pli...
2010 Apr 29
0
liboggz release 1.1.1
...gz_auto.c | 6 +- src/liboggz/oggz_comments.c | 47 ++- src/liboggz/oggz_dlist.c | 23 +- src/liboggz/oggz_dlist.h | 6 +- src/liboggz/oggz_private.h | 3 + src/liboggz/oggz_read.c | 46 +++- src/liboggz/oggz_seek.c | 2 + src/tests/comment-test.c | 21 +- src/tools/oggz-validate.c | 2 +- 19 files changed, 903 insertions(+), 49 deletions(-) create mode 100644 TODO create mode 100644 macosx/English.lproj/InfoPlist.strings create mode 100644 macosx/Info.pli...
2005 Feb 13
0
liboggz 0.9.0 Release
...ar.gz New in this release: * updates for keyframe seeking in Theora and files with Ogg Skeleton metaheaders (http://wiki.xiph.org/index.php/OggSkeleton) * added missing header file definitions for oggz_get_granulerate() and oggz_get_granuleshift() * build fix for Symbian, adding missing file oggz_seek.c (Colin Ward) * general code cleanups Also, an addendum to the release notes for the previous version 0.8.6: Applied patch from Erik de Castro Lopo. Now builds on MingGW: * add pkg-config check for Ogg * add vorbis and speex CFLAGS to various Makefile.am's About Oggz -----...
2005 Feb 13
0
liboggz 0.9.0 Release
...ar.gz New in this release: * updates for keyframe seeking in Theora and files with Ogg Skeleton metaheaders (http://wiki.xiph.org/index.php/OggSkeleton) * added missing header file definitions for oggz_get_granulerate() and oggz_get_granuleshift() * build fix for Symbian, adding missing file oggz_seek.c (Colin Ward) * general code cleanups Also, an addendum to the release notes for the previous version 0.8.6: Applied patch from Erik de Castro Lopo. Now builds on MingGW: * add pkg-config check for Ogg * add vorbis and speex CFLAGS to various Makefile.am's About Oggz -----...
2008 Jul 04
2
Oggz 0.9.8 Released
...ip man page, showing how to create an Ogg Vorbis I file from any file containing a vorbis audio track. Adapted from: http://lists.xiph.org/pipermail/vorbis-dev/2008-April/019320.html * Clarified documentation of oggz_table_insert() * Added link to celt-codec.org in oggz_seek docs Build: * Fixed out-of-tree builds in configure and Makefile.am throughout Internal: * Added support for the Kate codec throughout (ogg.k.ogg.k) * tools/skeleton.c: add fisbone_clear() function, for deallocating message headers. (ogg.k.ogg.k) oggz-chop: Ge...
2008 Jul 04
2
Oggz 0.9.8 Released
...ip man page, showing how to create an Ogg Vorbis I file from any file containing a vorbis audio track. Adapted from: http://lists.xiph.org/pipermail/vorbis-dev/2008-April/019320.html * Clarified documentation of oggz_table_insert() * Added link to celt-codec.org in oggz_seek docs Build: * Fixed out-of-tree builds in configure and Makefile.am throughout Internal: * Added support for the Kate codec throughout (ogg.k.ogg.k) * tools/skeleton.c: add fisbone_clear() function, for deallocating message headers. (ogg.k.ogg.k) oggz-chop: Ge...
2005 Feb 27
3
Cygwin-bug#20050227T2233: liboggz: Missing manual pages - oggzinfo, oggzed, oggzdiff
...oggzdump.1.gz .inst/usr/share/man/man1/oggzdiff.1.gz .inst/usr/share/man/man1/oggzmerge.1.gz .inst/usr/share/man/man1/oggzrip.1.gz .inst/usr/include .inst/usr/include/oggz .inst/usr/include/oggz/oggz.h .inst/usr/include/oggz/oggz_constants.h .inst/usr/include/oggz/oggz_read.h .inst/usr/include/oggz/oggz_seek.h .inst/usr/include/oggz/oggz_write.h .inst/usr/include/oggz/oggz_io.h .inst/usr/include/oggz/oggz_table.h .inst/usr/include/oggz/oggz_deprecated.h .inst/usr/lib .inst/usr/lib/liboggz.la .inst/usr/lib/liboggz.a .inst/usr/lib/pkgconfig .inst/usr/lib/pkgconfig/oggz.pc .inst/usr/bin .inst/usr/bin/oggz...