search for: ogg_page_bos

Displaying 7 results from an estimated 7 matches for "ogg_page_bos".

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 me...
2006 Oct 09
1
Vorbis primitive API examples (LONG)
...Count = -1; int flgEOSPage = 0; while(!flgBailError) { dprintf("Page: %d\n", pageCount); if (pageCount != -1) { if (pageCount == 0) { // FIXME: Silly pageCount used to indicate serial number change // because ogg_stream_pagein does braindead release on error and // ogg_page_bos() doesn't seem to work for a concatenated stream. dprintf("Beginning of stream found\n"); // Use hex to match ogginfo return dprintf("Setting serial number: %x\n", ogg_page_serialno(og)); ogg_stream_reset_serialno(os, ogg_page_serialno(og)); } // EOS test...
2009 May 12
2
compile error of libtheora example
...39; player_example.c:(.text+0xe2f): undefined reference to `vorbis_comment_init' player_example.c:(.text+0xe3b): undefined reference to `theora_comment_init' player_example.c:(.text+0xe47): undefined reference to `theora_info_init' player_example.c:(.text+0xe86): undefined reference to `ogg_page_bos' player_example.c:(.text+0xeb1): undefined reference to `ogg_page_serialno' player_example.c:(.text+0xec3): undefined reference to `ogg_stream_init' player_example.c:(.text+0xed9): undefined reference to `ogg_stream_pagein' player_example.c:(.text+0xef1): undefined reference to `ogg...
2004 Aug 06
1
ultra-preliminary C++ wrapper for ogg & vorbis
...ibvorbis; I thought I would expose it for initial comments and the generally curious. No conveniences, no frills. No helpful higher-level abstractions. Just a translation from ogg_method_foo(ogg_method* data) to classes that hold the ogg_stream_state etc., so you may type mypage.bos() instead of ogg_page_bos(&this->data); http://dingoskidneys.com/shoutpy/oggcc.h - Daniel Holth --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the...
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
...if (buffer_data ()==0) throw "Error: VideoStreamTheora::initMovie: Couldn't get initial packets."; while (ogg_sync_pageout (&oggSyncState, &oggPage)>0) { ogg_stream_state testStreamState; if (! ogg_page_bos (&oggPage)) { queue_page (&oggPage); doneScanningHeaders = true; break; } ogg_stream_init (&testStreamState, ogg_page_serialno (&oggPage)); ogg_stream_pagein...
2008 Apr 04
0
speexdec 1.2.3
...XME: shift the granule values if --force-* is specified */ skip_samples = frame_size*(page_nb_packets*granule_frame_size*nframes - (page_granule-last_granule))/granule_frame_size; if (ogg_page_eos(&og)) skip_samples = -skip_samples; /*else if (!ogg_page_bos(&og)) skip_samples = 0;*/ } else { skip_samples = 0; } /*printf ("page granulepos: %d %d %d\n", skip_samples, page_nb_packets, (int)page_granule);*/ last_granule = page_granule; /*Extract all available pa...
2008 Apr 04
2
speexdec 1.2.3
On Fri, Apr 4, 2008 at 12:19 AM, Jean-Marc Valin <jean-marc.valin at usherbrooke.ca> wrote: > Jahn, Ray (R.) a ?crit : > > > Dear Speex codec community: > > > > I am working on conversion of voice files. I could not figure out how to use speexdec.exe 1.2.3 in piped mode in order to avoid the creation of the potentially large intermediate *.wav or *.pcm files. Any