search for: oggpag

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

Did you mean: oggpage
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
...t; #include "VideoStreamable.h" 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...
2008 Jul 11
0
Speex issue
...the stream oggPacket.e_o_s = (lastFrame) ? 1 : 0; oggPacket.granulepos = (1 + oggPacketCount) * inputFrameSize - lookahead; oggPacket.packetno = 2 + oggPacketCount; ogg_stream_packetin(&oggStream, &oggPacket); while (((lastFrame) ? ogg_stream_flush(&oggStream, &oggPage) : ogg_stream_pageout(&oggStream,&oggPage)) != 0) { file.write((char*)oggPage.header,oggPage.header_len); file.write((char*)oggPage.body, oggPage.body_len); } I know this is a long shot, but any advice would be appreciated--I'm desperate! Thank you, Philip B...
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
2003 Nov 25
0
trouble getting libvorbis to cut beginning of the bitstream
...to do so with granulepos. I have constructed a file which I believe should have its beginning truncated. I have attached it to 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 a...
2006 Aug 31
0
OpenAl and Vorbis
...); }else{ // we need more data; break out to suck in another page break; } } } //1)grab new data if(!audiobufReady){ /* no data yet for somebody. Grab another page */ if(!source->requestData()) return 0; while(ogg_sync_pageout(&oggSyncState,&oggPage)>0) { ogg_stream_pagein(&oggStreamState, &oggPage); } } } return audiobufFill; } It would be really nice if somebody could give me a hint. Greetings Lars -- "Feel free" ? 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: htt...
2008 Jan 14
0
First Alpha of oggToolspp
...l grap a bunch of raw data from a repository (e.g. a file) and place it into rawData. This rawData object is then placed into the oggDecoder. To find out if there is output data available, all media units provide the method isAvailable(): while (oggDecoder.isAvailable()) { oggDecoder >> oggPage; oggStreamDecoder << oggPage; } This can be done up until a frame or audio sample is available, but you don't have to. You can also place the data it into an oggEncoder and then into a new repository e.g. to split a stream (please refer to oggSplit as an example).
2009 Jun 18
0
Fixing ogg vorbis corruption caused by bad metadata
...ecent C++ libraries :-) If you want to try with liboggz, a good place to start would be the files in src/examples, such as fix-eos.c or rewrite-pages.c. I could also help anyone who wants to hack on hogg, where it's probably just a matter of writing a short helper along the lines of: sort :: [OggPage] -> [OggPage] sort = sortHeaders . listMerge . demux Anyway, an interesting problem :-) Conrad. 2009/6/18 Adam Rosi-Kessel <adam at rosi-kessel.org>: > I have over 1,000 ogg vorbis files that are no longer playable or > editable. I believe the main cause was a MediaMonkey plugin...
2007 Feb 15
1
How to do Theora playback efficiently ?
...ng the next vorbis or theora packet(s) and reading from the physical stream (+ split the streams to a vorbis or theora logical stream) if more data is needed. This works for theora streams with low dynamic data rates but not for my test streams, where from time to time a single keyframe needs 20-30 OggPages of data. Normally you can handle this by prebuffering some already decoded audio sample buffers or video frames but even with buffers of some megabyte this is in practise no solution because the audio decoder has to wait till theora is ready with reading/preparing/decoding it's pages. And b...
2009 Jun 18
2
Fixing ogg vorbis corruption caused by bad metadata
I have over 1,000 ogg vorbis files that are no longer playable or editable. I believe the main cause was a MediaMonkey plugin that automatically fetched album art and added it to the header. The plugin itself just uses the generic MediaMonkey metadata facility, but something happened -- perhaps when the album art bitmap image was too large -- that caused the files to no longer work.
2003 Aug 07
2
crc
I'm trying to generate the 4-byte crc code for the comment tag in an ogg file.. Can anyone point me to a function where this is done? Unfortunately, I can't use the lib directly, and the crc function I did find in it doesn't seem to do what I want directly. But, that might mean I'm not feeding it the right chunk of data. Any details would be helpful - yes I read the docs and I