[whatwg] <video> element proposal

Maik Merten maikmerten at gmx.net
Mon Mar 5 07:25:40 PST 2007


Gervase Markham schrieb:
> They estimate the increase in download size for a browser shipping Ogg +
> Theora-ng + Vorbis at 130k.

Actually I took the liberty of trying to squeeze a functional set of Ogg
decoding libraries into a small footprint (mainly by stripping binaries
and using -Os instead of -O2/O3). I now have a 120K archive (tar.bzip2)
that features:

-rw-r--r-- 1 user users  12K 2007-03-05 14:47 libfishsound.a

That's a convenience library to abstract the different Xiph.org audio
codecs. My build only supports Vorbis. liboggplay uses this library.

-rw-r--r-- 1 user users 8,4K 2007-03-05 16:12 libogg.a

The low level Ogg container library. Used by all Ogg codecs.

-rw-r--r-- 1 user users  14K 2007-03-05 14:47 liboggplay.a

A high level playback library. This makes life easy *and* is making sure
A/V sync is working crossplatform (this is not trivial).

-rw-r--r-- 1 user users  25K 2007-03-05 14:47 liboggz.a

An abstraction library that handles seeking etc. on Ogg streams. Needed
by liboggplay.

-rw-r--r-- 1 user users 1,7K 2007-03-05 14:47 libtheoracompat.a

A small library to expose the usual libtheora API albeit libtheoradec is
used. Needed by liboggplay. Once liboggplay can directly use the
libtheoradec API it can be skipped.

-rw-r--r-- 1 user users  45K 2007-03-05 14:47 libtheoradec.a

That's a fast, complete and safe Theora decoder. It'll replace the
current reference decoder at one point.

-rw-r--r-- 1 user users 136K 2007-03-05 14:47 libvorbis.a

The Vorbis decoder. It's a pretty big thing, but I'm told that it
contains stuff like precomputed tables that could be computed on startup
to reduce the disk footprint.

I hope that covers all dependencies.

If somebody wanted to dump the convenience libraries and wants to
develop his own cross-platform playback system that does seeking and A/V
sync you can get away with libvorbisdec, libtheoradec and libogg.
Compressed that is 102 K.


Maik Merten



More information about the whatwg mailing list