search for: ogg_sync_clear

Displaying 13 results from an estimated 13 matches for "ogg_sync_clear".

2006 Aug 06
0
Newbie: How to rewind a videostream (long)
...-stream very well. I would like to be able to rewind. First I tried the brute force method: if (videoStream.eof()) { ogg_stream_clear (&theoraStreamState); theora_clear (&theoraState); theora_comment_clear (&theoraComment); theora_info_clear (&theoraInfo); ogg_sync_clear (&oggSyncState); videoStream.clear(); videoStream.close(); init_the_movie_like_it_was_inited_the_first_time(); } But I got a crash when trying to re-initialize: theora_decode_init (&theoraState, &theoraInfo); Specifically this line in quant.c gave me a problem:...
2007 Mar 15
2
Logging album info for ogg-vorbis
Hi, i just joined the list. I was wondering if anyone would be interested in a change to icecast that logs album info as well as ARTST and TRACK. I have made the changes to the source code and it's working fine. If there is any interest, I could look into making it an addition to the code. Let me know. thanks, -- Aaron -------------- next part -------------- An HTML attachment was
2009 May 12
2
compile error of libtheora example
...#39; player_example.c:(.text+0x1d96): undefined reference to `theora_clear' player_example.c:(.text+0x1da2): undefined reference to `theora_comment_clear' player_example.c:(.text+0x1dae): undefined reference to `theora_info_clear' player_example.c:(.text+0x1dba): undefined reference to `ogg_sync_clear' collect2: ld ?? 1 i've search in google but there is no suitable answer. could someone tell me how could i solve this problem? thanks. -- Bowen Ma a.k.a Samuel Kevin @ Bluesky Dev Team XJTU Shaanxi Province Key Lab. of Satellite and Terrestrial Network Tech http://incubator.apache.org...
2008 Apr 29
2
More trival questions
..._buffer(&the_ogg_sync_state, BUF_SIZE); bytes_actually_read = fread(buffer, 1, BUF_SIZE, source); ogg_sync_wrote(&the_ogg_sync_state, bytes_actually_read); } while (feof(source) == 0 ); ogg_stream_clear( &the_ogg_stream_state ); ogg_sync_clear( &the_ogg_sync_state ); fclose(source); return 1; } >>> $ ./a.out 320x240.ogg | head -20 Decode Page Magic! Decode Packet not a header Decode Page Magic! Decode Packet not a header Decode Page not a header Decode Packet not a header Decode Page not a header Decode Pa...
2004 Nov 01
1
compile libvorbis using mingw?
...undefined reference to `ogg_sync_reset' .libs/vorbisfile.o(.text+0x29b):vorbisfile.c: 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/v...
2007 Mar 26
0
Logging album info for ogg-vorbis
...;_state; + int i; /* free memory associated with this plugin instance */ free_ogg_codecs (state); free (state->artist); free (state->title); + for(i=0; i < state->metadata_count; ++i) + free(state->metadata[i]); + free(state->metadata); + ogg_sync_clear (&state->oy); free (state); @@ -268,6 +273,7 @@ unsigned int len = 1; /* space for the nul byte at least */ ogg_codec_t *codec; char codec_names [100] = ""; + int i; if (ogg_info->artist) { @@ -293,6 +299,17 @@ snprintf (metadata...
2008 Aug 28
0
Error while cross compiling libvorbis 1.2.0
...out' decoder_example.o(.text+0x4ac): undefined reference to `ogg_page_eos' decoder_example.o(.text+0x4f4): undefined reference to `ogg_stream_pagein' decoder_example.o(.text+0x508): undefined reference to `ogg_stream_packetout' decoder_example.o(.text+0x5c4): undefined reference to `ogg_sync_clear' ../lib/.libs/libvorbis.so: undefined reference to `oggpack_writetrunc' ../lib/.libs/libvorbis.so: undefined reference to `oggpack_writeinit' ../lib/.libs/libvorbis.so: undefined reference to `oggpack_look' ../lib/.libs/libvorbis.so: undefined reference to `oggpack_bytes' ../lib...
1999 Oct 04
3
Detailed decoder pseudocode (was: Re: ETA?)
...s(&og))eos=1; } if(!eos){ buffer=ogg_sync_buffer(&oy,4096); bytes=read(STDIN_FILENO,buffer,4096); if(bytes==0)eos=1; }else ogg_sync_wrote(&oy,bytes); } /* clean up and exit (this example doesn't deal with the possibility of chaining logical streams) */ ogg_sync_clear(&oy); ogg_stream_clear(&os); /* ogg_page and ogg_packet structs always point to storage in libvorbis. They're never freed or manipulated directly */ vorbis_info_clear(&vi); vorbis_synthesis_clear(&vd); vorbis_block_clear(&vb); exit(0); --- >8 ---- List archives:...
2015 Nov 05
3
Opusfile seeking bug
...ytes); spf = opus_packet_get_samples_per_frame(packet.packet, 48000); spf *= fpp; m_lastGranulePos += spf; } else { // Need more data or unrecoverable error. packetsToFetch = 0; } firstPacketInPage = 0; } } fclose(fp); ogg_stream_clear(&m_streamState); ogg_sync_clear(&m_syncState); return failingSeekPoint; } int main(int argc, char* argv[]) { char* filename = "TestCase.opus"; // This is the test case. If you try and seek, using op_pcm_seek, // to a position, that when adjusted by 80ms for the discarded data // lies within the first half of...
2002 Aug 06
0
Getting a GUI to work with Vorbis code
...ays point to storage in libvorbis. They're never freed or manipulated directly */ vorbis_block_clear(&vb); vorbis_dsp_clear(&vd); vorbis_comment_clear(&vc); vorbis_info_clear(&vi); /* must be called last */ } /* OK, clean up the framer */ ogg_sync_clear(&oy); fprintf(outputFile,"Done.\n"); // TODO: Add your control notification handler code here } <p>I changed the input from stdin to a file. When I build the project I get --------------------Configuration: GUI - Win32 Debug-------------------- Linking.....
2008 Apr 04
0
speexdec 1.2.3
...t seek on wave file, size will be incorrect\n"); } } if (st) speex_decoder_destroy(st); else { fprintf (stderr, "This doesn't look like a Speex file\n"); } speex_bits_destroy(&bits); if (stream_init) ogg_stream_clear(&os); ogg_sync_clear(&oy); #if defined WIN32 || defined _WIN32 if (strlen(outFile)==0) WIN_Audio_close (); #endif if (close_in) fclose(fin); if (fout != NULL) fclose(fout); return 0; } -------------- next part -------------- A non-text attachment was scrubbed... Name: speex 1.2.3...
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
2007 Oct 17
1
Fwd: Re: FLAC for "ARM little endian for glibc"
...plicit 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: error: `aspect' undeclared (first use in this function) ogg_decoder_aspect.c:71: warning: implicit declaration of function `ogg_stream_clear' ogg_decoder_aspect.c: At top level: ogg_decoder_aspect.c:74: error: parse error before '*' token ogg_decoder_as...