1pyogg - a Python wrapper for the Ogg libraries
3Ogg/Vorbis is available at http://www.xiph.org
5There's not a whole lot you can do with this module by itself. You'll
6probably also want the ogg.vorbis module, which can be found wherever
7you got this.
9You can now write Python programs to encode and decode Ogg Vorbis
10files (encoding is quite a bit more involved). The module is
11self-documenting, though I need to update quite a bit of it.
13And if anyone is wondering why I have things separated into a main
14module "ogg" and a submodule "ogg.vorbis", vorbis is the audio subset
15of the ogg bitstream. In the future there will likely be a video part
16of the ogg bistream, and nothing in the ogg modulue really has to know
17about anything specific in the vorbis module.
19To build, you need the distutils package, availible from
20http://www.python.org/sigs/distutils-sig/download.html (it comes with
21Python 2.0). Run "python setup.py build" to build and then as root run
22"python setup.py install". You may need to run the config_unix.py
23script, passing it a --prefix value if you've installed your ogg stuff
24someplace weird. Alternately, you can just create a file called
25"Setup" and put in values for ogg_include_dir, ogg_lib_dir, and
26ogg_libs. The file format for Setup is:
28key = value
30with one pair per line.