search for: oggz_close

Displaying 11 results from an estimated 11 matches for "oggz_close".

2013 May 20
2
libfishsound: Bug in fish_sound_flush
...apologize if this is the wrong list for this, but after searching the available lists at xiph.org, this is the closest I could find. I ran into a bug in the example fishsound-encode.c program where it gets OGGZ_ERR_BAD_SERIALNO errors from oggz: fish_sound_flush (fsound); oggz_run (oggz); oggz_close (oggz); fish_sound_delete (fsound); After debugging, it appears that fish_sound_flush() doesn't actually flush anything from the codec, so the succeeding oggz_run() doesn't write the final packets to the oggz queue. Then, the oggz_close() is executed. However, the call to fish_sound_d...
2013 May 21
0
libfishsound: Bug in fish_sound_flush
...his, but after searching the > available lists at xiph.org, this is the closest I could find. > > I ran into a bug in the example fishsound-encode.c program where it gets > OGGZ_ERR_BAD_SERIALNO errors from oggz: > > fish_sound_flush (fsound); > oggz_run (oggz); > > oggz_close (oggz); > > fish_sound_delete (fsound); > > After debugging, it appears that fish_sound_flush() doesn't actually flush > anything from the codec, so the succeeding oggz_run() doesn't write the > final packets to the oggz queue. > > Then, the oggz_close() is execute...
2008 Nov 23
2
ogg dirac granulepos in oggz tools
2008/11/24 David Flynn <davidf+nntp at woaf.net>: > On a slightly unrelated note, i keep hitting the following error in > liboggz when using the oggz tools on an ogg dirac stream: > > /home/davidf/project/liboggz/src/liboggz/oggz.c:202: oggz_close: > Assertion `oggz_dlist_is_empty(oggz->packet_buffer)' failed. > > I'll supply an example file tomorrow if that would be of help. > > Any thoughts? I expect that will be in the code that tries to calculate granulepos when it is not present on the page, which is actually...
2008 Nov 25
0
ogg dirac granulepos in oggz tools
...etadecks.org> wrote: > 2008/11/24 David Flynn <davidf+nntp at woaf.net>: >> On a slightly unrelated note, i keep hitting the following error in >> liboggz when using the oggz tools on an ogg dirac stream: >> >> /home/davidf/project/liboggz/src/liboggz/oggz.c:202: oggz_close: >> Assertion `oggz_dlist_is_empty(oggz->packet_buffer)' failed. > I expect that will be in the code that tries to calculate granulepos > when it is not present on the page, which is actually unecessary for > this mapping -- so I expect it will be straightforward to fix. >...
2008 Nov 21
6
ogg dirac granulepos in oggz tools
2008/11/21 David Flynn <davidf+nntp at woaf.net>: > On 2008-11-21, Conrad Parker <conrad at metadecks.org> wrote: >> 2008/11/15 David Flynn <davidf+nntp at woaf.net>: >>> On 2008-11-14, Conrad Parker <conrad at metadecks.org> wrote: >>>> It seems oggz chop, merge and sort will need some attention to deal >>>> with the Dirac
2015 Feb 23
2
library for creating Opus files?
On 23/02/15 10:30 AM, Tony wrote: > I __think__ opus-tools' opusenc has code which can be used as a > template/sample for how to create an .Ogg file with Opus content. As > expected, it makes use of libopus and libogg. Sadly that's the best option currently. As you say it's a bit complicated, although oggenc has a lot of extra support for controlling encoder options you
2012 May 21
1
Problems seeking with liboggz
...ogg_int64_t rseek = oggz_seek_units(pOGGZ, seektime, SEEK_SET); ogg_int64_t tellseek = oggz_tell_units(pOGGZ); printf("\n Requested seek time = %8lld, return of time seek function = %8lld, return of time tell function = %8lld", seektime, rseek, tellseek); } oggz_close(pOGGZ); return 0; } //----------------------------------------------------------------------------- int myReadPageCallback (OGGZ* oggz, const ogg_page* og, long serialno, void* user_data) { ogg_int64_t bitstSerialNumber = og->header[14] + 256 * (og->header[15] + 256 * (og->header...
2009 Aug 12
1
Oggz use
...OGGZ_WRITE); if (!_fOggz) //...LOG ERRORS... serialno = oggz_serialno_new (_fOggz); ogg_int64_t granulepos = 0; ogg_int64_t packetno = 0; if (oggz_write_set_hungry_callback (_fOggz, oggzHungry, 1, NULL) == -1) //...LOG ERRORS... while ((n = oggz_write (_fOggz, 32)) > 0); oggz_close(_fOggz); }/ ------------------------------------------------------------------------------------------------ I retrieve a new ogg file final.ogg but I can't read it. If I do an ogg-z validate I have : Terminal header page has non-zero granulepos/ / I got 2 questions : 1. Am I doing something...
2012 May 21
0
Problems seeking with liboggz
..., > SEEK_SET); > > ogg_int64_t tellseek = oggz_tell_units(pOGGZ); > > printf("\n Requested seek time = %8lld, return of time seek > function = %8lld, return of time tell function = %8lld", seektime, > rseek, tellseek); > > } > > > > oggz_close(pOGGZ); > > return 0; > > } > > //-------------------------------------------------------------------- > --------- > > int myReadPageCallback (OGGZ* oggz, const ogg_page* og, long serialno, > void* > user_data) > > { > > ogg_int64_t bitstSerialNumber...
2012 May 23
0
Problems seeking with liboggz
..., > SEEK_SET); > > ogg_int64_t tellseek = oggz_tell_units(pOGGZ); > > printf("\n Requested seek time = %8lld, return of time seek > function = %8lld, return of time tell function = %8lld", seektime, > rseek, tellseek); > > } > > > > oggz_close(pOGGZ); > > return 0; > > } > > //-------------------------------------------------------------------- > --------- > > int myReadPageCallback (OGGZ* oggz, const ogg_page* og, long serialno, > void* > user_data) > > { > > ogg_int64_t bitstSerialNumber...
2012 May 16
2
Problems seeking with liboggz
Hi, I intend to use Ogg+Speex for voice recording/playback in a VoIP app. I am experimenting with liboggz to get acquainted with its API. As test files I am using some Ogg-Speex files converted from WAV files with speexenc.exe. I wrote a little testing app in Visual Studio 2010 under Windows 7. I defined OggzReadPage and OggzReadPacket callbacks with oggz_set_read_page()