[theora-dev] ogg packets get lost

Yorn yorn at gmx.net
Fri Jan 4 03:46:45 PST 2008


Hi Patrick,

Am Freitag 04 Januar 2008 12:01:04 schrieb Patrick Byrne:
> IANAGuru, but it sounds as though you are trying to 'keep' the ogg
> packet pointer you get from ogg_stream_packetout(). This is not possible
> - it is only a pointer to data inside the stream, and will most likely
> be invalidated as soon as you add another page into the stream.

true! However, for seeking/cutting (e.g. keeping the packets since the last 
keyframe) this is really a mess (or is there another way to get arround 
this?).

Actually I think about extracting the pages and packets by my own code, as 
this is not really difficult and saves me a lot of headache.

Yorn 



More information about the theora-dev mailing list