[Vorbis-dev] libvorbis without encapulsation

Miscellaneous accounts-misc at holbrook.no
Mon Feb 6 09:06:16 UTC 2017


On Mon, 2017-02-06 at 09:58 +0100, Nicolas George wrote:
> L'octidi 18 pluviôse, an CCXXV, Miscellaneous a écrit :
> > 
> > I've built some simple code on the excellent libvorbis API overview
> > on
> > the xiph.org site, but the example relies on the ogg_packet struct
> > for
> > final output and input to decoder, and shows now examples on how to
> > do
> > without it.
> Why do you not want it? It is just a simple C struct to carry the
> packet's metadata.

Ok.

The RLP draft mentioned on the libvorbis docs page, are there sample
implementations (in C) of this yet anywhere? 

And would such an implementation then also use this ogg struct as an
intermediary?

> 
> > 
> > oggpack_buffer comes from ogg/ogg.h, so I guess it may add some
> > things
> > not native to "pure" vorbis.
> That looks like speculation.
> 

I didn't say it does, I said it "may" ;)

Cheers

> > 
> > Am I to understand that I am dependent on the ogg library to get
> > data
> > in and out? And if not, where can I get the data along with the
> > minimal
> > metadata I need? (bytes, granulepos?)
> libvorbis depends on libogg for some tasks, but that is its internal
> workings.
> 
> Regards,
> 


More information about the Vorbis-dev mailing list