search for: ogg_stream_reset

Displaying 10 results from an estimated 10 matches for "ogg_stream_reset".

2009 Jun 18
1
ogg_stream_reset() question
Hi Ogg experts! My current work is catenating packets from several ogg files to the one long stream, so I'd like to create stream once, and then reset it just before reading codec headers from every new file. However, after calling ogg_stream_reset_serialno(ogg_stream_state *os, int serialno), bos page is not pushed in stream since it calls ogg_stream_reset(ogg_stream_state *os), which set os->pageno to -1, while ogg_stream_init(ogg_stream_state *os, int serialno) sets it to 0. If I call ogg_stream_reset(), and the explicitly set os-&gt...
2002 Mar 18
1
Bug in ogglib leads to incomplete packets
There seems to be a bug in ogg lib: The error occurs in the following situation: - You have called ogg_stream_reset - You deliver a page to the stream which contains only the "middle of packet. I.e. not the beginning and not the end. (packets = 0 continued = 1) - You deliver the next page which contains the end of the page before and some more (packets >= 1 ) Now ogglib returns the end...
1999 Nov 07
2
Vorbis status
...Code the codebook abstraction learning interface, spec the encode/decode interface. Most of the above doesn't really have an impact on applications coding, it's just libvorbis internal. The external API is just about complete (only one change in the last month, adding a second argument to ogg_stream_reset). Other things that need to happen: vorbisfile.a gives routines for seeking, returning information about the bitstream (like bitrate, play time, etc). Get this functionality into the XMMS plugin (I believe Tony is on top of this already). Get the same functionality into a working command line e...
2005 Dec 08
1
A few questions how to use libogg
1.) after initializing a ogg_stream_state may I just keep calling ogg_stream_packetin with valid ogg_packet's until no more ogg_packets needs to be added? Or do I need to call ogg_stream_pageout after every ogg_stream_packetin? Iaw may I delay calling ogg_stream_pageout until there are no more packets to be added? 2.) I assume I have call ogg_stream_pageout until no more pages can be
2007 Apr 14
0
Discontinuous stream support in libogg1
...te; @@ -176,6 +177,7 @@ /* Ogg BITSTREAM PRIMITIVES: general ***************************/ extern int ogg_stream_init(ogg_stream_state *os,int serialno); +extern int ogg_stream_setdiscont(ogg_stream_state *os); extern int ogg_stream_clear(ogg_stream_state *os); extern int ogg_stream_reset(ogg_stream_state *os); extern int ogg_stream_reset_serialno(ogg_stream_state *os,int serialno); Index: src/framing.c =================================================================== --- src/framing.c (revision 12848) +++ src/framing.c (working copy) @@ -214,6 +214,15 @@ return(0); }...
2004 Nov 01
1
compile libvorbis using mingw?
...undefined reference to `ogg_sync_reset' .libs/vorbisfile.o(.text+0x314):vorbisfile.c: undefined reference to `ogg_stream_clear' .libs/vorbisfile.o(.text+0x39e):vorbisfile.c: undefined reference to `ogg_sync_clear' .libs/vorbisfile.o(.text+0x6a9):vorbisfile.c: undefined reference to `ogg_stream_reset_serialno' .libs/vorbisfile.o(.text+0x6f6):vorbisfile.c: undefined reference to `ogg_stream_init' .libs/vorbisfile.o(.text+0x6fe):vorbisfile.c: undefined reference to `ogg_stream_reset' .libs/vorbisfile.o(.text+0x71c):vorbisfile.c: undefined reference to `ogg_stream_packetout' .li...
2004 Mar 13
1
Ogg / Vorbis Compiling under W32 with MingW ** Problem **
..._pagein': framing.c:674: `og' undeclared (first use in this function) framing.c:683: parse error before "granulepos" framing.c:690: `os' undeclared (first use in this function) framing.c: At top level: framing.c:806: parse error before '*' token framing.c: In function `ogg_stream_reset': framing.c:807: `os' undeclared (first use in this function) framing.c: At top level: framing.c:825: parse error before '*' token framing.c: In function `ogg_stream_reset_serialno': framing.c:826: `os' undeclared (first use in this function) framing.c: At top level: framing...
2010 Aug 15
2
Beginner Hurdles
Hey everyone, I just got Theora running on my Mac, and ran across several hurdles, that I was wondering if someone could help me with. I do a lot of tech support at work, and get the same questions over and over, so I tried skimming the archives but couldn't find the answers. Maybe these could go in a FAQ of some sort? These are fairly unavoidable issues that should probably be
2006 Oct 09
1
Vorbis primitive API examples (LONG)
...// 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 has to be up front because, of course, everything in the universe // releases the page so you have to get to it *before* it disappears // and store it yourself in spite of the fact that the page stores it // very nice...
2007 Oct 17
1
Fwd: Re: FLAC for "ARM little endian for glibc"
...aspect' undeclared (first use in this function) ogg_decoder_aspect.c: At top level: ogg_decoder_aspect.c:85: error: parse error before '*' token ogg_decoder_aspect.c: In function `OggFLAC__ogg_decoder_aspect_flush': ogg_decoder_aspect.c:87: warning: implicit declaration of function `ogg_stream_reset' ogg_decoder_aspect.c:87: error: `aspect' undeclared (first use in this function) ogg_decoder_aspect.c:88: warning: implicit declaration of function `ogg_sync_reset' ogg_decoder_aspect.c: At top level: ogg_decoder_aspect.c:93: error: parse error before '*' token ogg_decoder_aspe...