search for: ogg_sync_init

Displaying 16 results from an estimated 16 matches for "ogg_sync_init".

2004 Aug 06
2
Build error
I am running Red Hat 9. I ran the ./configure for libshout-2.0. I get to the checking ogg_sync_init in libogg... configure: error: not found, maybe you need to set LD_LIBRARY_PATH or /etc/ld.so.conf I do have libogg.so.0 and libogg.so.0.4.0 in /usr/lib. How do I get around this error? Brian <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://...
2005 Dec 10
2
Cannot build ices0/libshout2 on Mac OSX 10.4.2
...I have the very latest Apple Developer Tools installed. Can anyone confirm? Or provide a hint for how I might fix this? (I also tried uninstalling the libraries, reinstalling them via fink, and then manually building libshout2. Then I failed at the config stage, this time ending with checking for ogg_sync_init in libogg... configure: error: not found, maybe you need to set LD_LIBRARY_PATH or /etc/ld.so.conf ) Thanks in advance for any advice you can give - Dan -- http://www.mcld.co.uk
2008 Apr 27
1
initialization issues
I guess I'm missing something since the following minimized test case is failing: >>> #include "ogg/ogg.h" main() { ogg_sync_state the_ogg_sync_state; ogg_sync_init(&the_ogg_sync_state); ogg_sync_destroy( &the_ogg_sync_state ); } >>> $ gcc -g -logg test.c $ ./a.out *** glibc detected *** ./a.out: munmap_chunk(): invalid pointer: 0x00007fffe0562330 *** ======= Backtrace: ========= /lib/libc.so.6(cfree+0x1ac)[0x2ba7ca7d735c] /usr/lib/...
2004 Aug 06
1
Build error
There is a lot of glaring errors. I attached the log file. > On Wed, 2003-08-13 at 20:51, bclark@bwkip.com wrote: >> I am running Red Hat 9. I ran the ./configure for libshout-2.0. I >> get to the checking ogg_sync_init in libogg... configure: error: not >> found, maybe you need to set LD_LIBRARY_PATH or /etc/ld.so.conf >> >> I do have libogg.so.0 and libogg.so.0.4.0 in /usr/lib. How do I get >> around this error? > > try ldconfig first then configure. If the problem is still there...
2009 May 12
2
compile error of libtheora example
...mp/ccpyle3c.o: In function `queue_page': player_example.c:(.text+0xce4): undefined reference to `ogg_stream_pagein' player_example.c:(.text+0xd00): undefined reference to `ogg_stream_pagein' /tmp/ccpyle3c.o: In function `main': player_example.c:(.text+0xe17): undefined reference to `ogg_sync_init' player_example.c:(.text+0xe23): undefined reference to `vorbis_info_init' 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...
2008 Apr 29
2
More trival questions
...t; 2) { printf("No file\n"); return 0; } source = fopen(argv[1], "r"); if (feof(source) != 0) { printf("Empty file\n"); fclose(source); return 0; } ogg_sync_init(&the_ogg_sync_state); ogg_stream_init(&the_ogg_stream_state, 0); do { if (ogg_sync_pageout(&the_ogg_sync_state, &the_ogg_page) == 1) { printf("Decode Page\n"); send_to_my_decoder( the_ogg_page...
2008 Aug 28
0
Error while cross compiling libvorbis 1.2.0
...inux/sysroot/usr/lib /usr/local/arm/bin/../lib/gcc-lib/arm-linux/3.2/../../../../arm-linux/bin/ld: warning: libogg.so.0, needed by ../lib/.libs/libvorbis.so, not found (try using -rpath or -rpath-link) decoder_example.o: In function `main': decoder_example.o(.text+0x18): undefined reference to `ogg_sync_init' decoder_example.o(.text+0x3c): undefined reference to `ogg_sync_buffer' decoder_example.o(.text+0x64): undefined reference to `ogg_sync_wrote' decoder_example.o(.text+0x70): undefined reference to `ogg_sync_pageout' decoder_example.o(.text+0x8c): undefined reference to `ogg_page_se...
2005 Dec 10
0
Cannot build ices0/libshout2 on Mac OSX 10.4.2
...Tools > installed. Can anyone confirm? Or provide a hint for > how I might fix this? > > (I also tried uninstalling the libraries, > reinstalling them via fink, and then manually > building libshout2. Then I failed at the config > stage, this time ending with checking for > ogg_sync_init in libogg... configure: error: not > found, maybe you need to set LD_LIBRARY_PATH or > /etc/ld.so.conf > ) > > Thanks in advance for any advice you can give - > Dan Are you doing your builds with: ./configure make sudo make install ? Just this past week I've rolled my own b...
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
...t;shit.ogg", std::ios::binary); if (! videoStream.good()) throw "Error: VideoStreamTheora::initMovie: bad file."; videoStream.seekg (0, std::ios::end); movieLengthBytes = videoStream.tellg(); videoStream.seekg (0, std::ios::beg); ogg_sync_init (&oggSyncState); theora_comment_init (&theoraComment); theora_info_init (&theoraInfo); // Fetch from the ogg-stream until we have the INITIAL PAGES of the theora stream for (bool doneScanningHeaders=false; ! doneScanningHeaders; ) {...
1999 Oct 04
3
Detailed decoder pseudocode (was: Re: ETA?)
...static vorbis bitstream settings */ vorbis_dsp_state vd; /* central working state for the packet->PCM decoder */ vorbis_block vb; /* local working space for packet->PCM decode */ char *buffer; int bytes; int i; int eos=0; /********** Decode setup ************/ ogg_sync_init(&oy); /* Now we can parse pages out of the bitstream */ /* grab some data at the head of the stream. We want the first page (which is guaranteed to be small and only contain the Vorbis stream initial header) We need the first page to get the stream serialno. */ /* submit a 4k block (sa...
2015 Nov 05
3
Opusfile seeking bug
...= -1; int32_t serialno = -1; int fpp, spf; int decoding = 1; ogg_page page; char* buffer = NULL; long bytesRead = 0; uint8_t headerFLags = 0; int pageContinuesPacket = 0; int firstPacketInPage = 1; int packetsToFetch = 1; int packetOutRet; FILE* fp = fopen(filename, "rb"); ogg_sync_init(&m_syncState); while(decoding) { while(ogg_sync_pageout(&m_syncState, &page) != 1) { buffer = ogg_sync_buffer(&m_syncState, BufferSize); bytesRead = fread(buffer, sizeof(char), BufferSize, fp); ogg_sync_wrote(&m_syncState, bytesRead); } // If this is the las...
2002 Aug 06
0
Getting a GUI to work with Vorbis code
...f defined(macintosh) && defined(__MWERKS__) { int argc; char **argv; argc=ccommand(&argv); /* get a "command line" from the Mac user */ /* this also lets the user set stdin and stdout */ } #endif /********** Decode setup ************/ ogg_sync_init(&oy); /* Now we can read pages */ while(1){ /* we repeat if the bitstream is chained */ int eos=0; int i; /* grab some data at the head of the stream. We want the first page (which is guaranteed to be small and only contain the Vorbis stream initial header) We n...
2008 Apr 04
0
speexdec 1.2.3
...{ #if defined WIN32 || defined _WIN32 _setmode(_fileno(stdin), _O_BINARY); #endif fin=stdin; } else { fin = fopen(inFile, "rb"); if (!fin) { perror(inFile); exit(1); } close_in=1; } /*Init Ogg data struct*/ ogg_sync_init(&oy); speex_bits_init(&bits); /*Main decoding loop*/ while (1) { char *data; int i, j, nb_read; /*Get the ogg buffer for writing*/ data = ogg_sync_buffer(&oy, 200); /*Read bitstream from input file*/ nb_read = fread(data, sizeof(ch...
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
2009 Apr 26
4
1.6.1: menuselect has problems with x86_64 ??
1.6.1 svn 190575: CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect make[1]: Entering directory `/home/asterisk/rpmbuild/BUILD/asterisk-1.6.1/menuselect' gcc -m64 -march=native -mtune=native -floop-interchange -floop-strip-mine -floop-block -c -o
2007 Oct 17
1
Fwd: Re: FLAC for "ARM little endian for glibc"
...gg_decoder_aspect.c:51: error: `aspect' undeclared (first use in this function) ogg_decoder_aspect.c:51: error: (Each undeclared identifier is reported only once ogg_decoder_aspect.c:51: error: for each function it appears in.) ogg_decoder_aspect.c:54: warning: implicit declaration of function `ogg_sync_init' ogg_decoder_aspect.c: At top level: ogg_decoder_aspect.c:68: error: parse error before '*' token ogg_decoder_aspect.c: In function `OggFLAC__ogg_decoder_aspect_finish': ogg_decoder_aspect.c:70: warning: implicit declaration of function `ogg_sync_clear' ogg_decoder_aspect.c:70:...