search for: oggpacket

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

Did you mean: ogg_packet
2008 Jul 11
0
Speex issue
...an't figure out what's wrong with my code. I'm hoping that there's some glaring error that you guys will shout at me for missing. This method is called when enough data has accumulated in inputFrame, after the members have been initialized and the headers have been written: oggPacketCount++; speex_bits_reset(&speexBits); speex_encode_int(encoderState, inputFrame, &speexBits); int packetBytes = speex_bits_write(&speexBits, packetBuffer, PACKET_BUFFER_SIZE); oggPacket.packet = (unsigned char*)packetBuffer; oggPacket.bytes = packetBytes; oggPa...
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
...; namespace camilla { class VideoStreamTheora : public VideoStreamable { int movieLengthBytes; int moviePositionBytes; ogg_sync_state oggSyncState; ogg_page oggPage; ogg_packet oggPacket; ogg_stream_state vorbisStreamState; ogg_stream_state theoraStreamState; theora_info theoraInfo; theora_comment theoraComment; theora_state theoraState; int theoraPageCount; yuv_buffe...
2003 Nov 25
0
trouble getting libvorbis to cut beginning of the bitstream
...this mail. Here is a picture of what the bitstream looks like, as output by a python program that uses pyogg/pyvorbis to read the stream and print a representation: <OggPage, BOS pageno = 0, granulepos = 0, serialno = 2079510926, head length = 28, body length = 30 at 0x4019b3e0> <OggPacket, BOS packetno = 0, granulepos = 0, length = 30 at 0x401e7bb0> <OggPage, pageno = 1, granulepos = 0, serialno = 2079510926, head length = 44, body length = 3877 at 0x4019b368> <OggPacket, packetno = 1, granulepos = -1, length = 45 at 0x401e7bb0> <OggPacket, packetno...
2006 Aug 31
0
OpenAl and Vorbis
...} } vorbis_synthesis_read(&vorbisDspState,i); audiobufFill += i*vorbisInfo.channels*2; if (audiobufFill == fragsize) audiobufReady = true; } else { // no pending audio; is there a pending packet to decode? if(ogg_stream_packetout(&oggStreamState,&oggPacket)>0){ if(vorbis_synthesis(&vorbisBlock,&oggPacket)==0) // test for success! vorbis_synthesis_blockin(&vorbisDspState,&vorbisBlock); }else{ // we need more data; break out to suck in another page break; } } } //1)grab new data if(!audiobufRea...
2004 Sep 10
1
Decoding without read callbacks.
...ed to operate like this. SetupCodec when i have data to give to the codec FeedDataToCodec(data) //Receive a bunch of callbacks somewhere returning me pcm data //Codec waits for more data and doesn't reset itself. I will always give it a complete ogg packet as a buffer (but not in an oggpacket struct because directshow uses a different sample structure.) and size. And i need it to process the data i give it and then wait until i give it some more. There is no way the codec can read data unless i give it to it. And incidentally i use my own demuxer written in C++ and not libogg. So i hav...
2010 May 03
1
Help decompressing Speex audio
I have an audio file compressed by JSpeex that I'm trying to decompress on the iPhone. I've been trying to work from the speexdec example in an attempt to port the core logic to ObjC. I have a class that does the decode and passes the result back to another class. (currently the other class is a unit test.) My other class is writing the converted output to disk. I compare the results of my
2008 Dec 10
3
How to fix broken ogg/theora files
Hi there, I haven't been on this list until now, so I wasn't aware of this problem until last night ;-) - sorry for that. I am working on a patch for oggCut for that issue (looks good actually but I would like to do some testing befor I can release a patch.) Normal players are not effected by the page time misordering, so I took this issue as "minor". The reason for the
2004 Sep 10
3
Decoding without read callbacks.
Hey i've recently written some directshow filters for ogg vorbis and speex (www.illiminable.com/ogg/) and i thought i might add flac too... i've had a quick look at the C++ api and it appears that the decoding works by having a read callback to get it's data. In directshow everything is pushed into the decoder it can't ask for data when it wants... i'm just wondering if there
2008 Jun 18
2
Simple decoder (keyframe only) implementation ?
Hello everybody ! I am working on a php class to enable, on the server-side, to extract useful data from Ogg theora videos. http://opensource.grisambre.net/ogg . I need to have it extract a thumbnail picture from a video (much like dailymotion or youtube). Right now, I am doing it using the ffmpeg-php extension (for picture extraction only), but the problem is that this module is available on
2009 Jun 04
3
libogg++ release 1.1.0
Hi everybody, I posted here about two years ago about the initial release. This is a release that fixes many bugs, and has enhancements that make it possible to support a multi-stream format, ALingA, which I will mention briefly later. It also supports a PCM format, Neuro, both as part of the multi-stream codec, and stand-alone. libogg++ is a C++ library implementing Ogg. It is designed to be