[theora] Theora without ogg packaging
Michael Smith
msmith at xiph.org
Tue Aug 8 21:54:04 PDT 2006
On 8/7/06, Ralph Giles <giles at xiph.org> wrote:
> On Mon, Aug 07, 2006 at 01:35:45PM +0200, Jere Gmail wrote:
>
> > Is there anyway to avoid the using of ogg to package the data?
> > With the frames there is no problem, but with the header i can't figure it
> > out.
>
> The theora library always returns things in an ogg_packet structure, but
> you can use the data in another container. Just copy out the packet
> data.
Note that, whilst using ogg isn't mandatory, using _some_ container
is absolutely neccesary - otherwise you don't maintain packet
boundaries at all.
Of course, your container could be something as trivial as prefixing
each packet with a 32 bit length, if you really wanted something
extra-simple.
Mike
More information about the theora
mailing list