[Speex-dev] Codecs defined for OGG
Ralph Giles
giles at xiph.org
Wed Jul 11 09:41:55 PDT 2007
On Wed, Jul 11, 2007 at 11:50:48PM +0800, Steve Underwood wrote:
> Is there a well recognised procedure for adding new codec formats to
> ogg? If there is I'll probably add about 20-30 for the common speech
> codecs, and arrive at one container file to handle everything we touch.
There's no official procedure. I'd suggest reading the Ogg documentation
for pointers, especially http://xiph.org/ogg/doc/ogg-multiplex.html for
suggestions on the granulepos. Then make it as much like existing
encapsulations as possible. Post something at wiki.xiph.org and ask
here for review.
Main decisions are:
* magic string for codec identification
* header/codec setup information if any
* packetization
* granulepos scheme
Other examples:
http://xiph.org/vorbis/doc/Vorbis_I_spec.html#vorbis-over-ogg
http://wiki.xiph.org/index.php/CMML
http://wiki.xiph.org/OggDirac
http://wiki.xiph.org/OggMNG
HTH,
-r
More information about the Speex-dev
mailing list