What's this? ============ This is oggpy. It's a capable wrapper that will let you manipulate ogg, vorbis, and theora from your Python code. Motivation ========== I wrote this wrapper because I was frustrated with the official ogg/vorbis wrapper and to teach myself about Boost.Python. When encoding, the official ogg/vorbis Python wrapper could only write its output to a file. No tostring() method. Well, mine has a tostring() method, and it's written in a more concise and understandable way thanks to the magic of Boost.Python. By combining this wrapper and shoutpy, it's possible to write a reencoding source for icecast. An almost-working example is given in tests/reencode.py Incidentally there's a separately usable C++ wrapper here too. Send feedback to dholth@fastmail.fm. Thanks, I hope you enjoy this wrapper. - Daniel Holth Compiling ========= If you're using gentoo, you will want to emerge the following packages first: boost libogg libvorbis ACCEPT_KEYWORDS=~x86 emerge theora (to manipulate theora streams) pygame (to display theora) I've also submitted an ebuild. To compile this software, use setup.py. Edit the setup: vim setup.py Compile: python setup.py build (Possibly): python setup.py install If Python is having trouble finding your libraries, edit config.py . For example, Boost.Python has a number of different library names. Boost.Python 1.31 or CVS is necessary; 1.30 won't work because it lacks a str:: constructor used in vorbispy_wrappers.cc If you have boost.build and a copy of the boost source installed, you might be interested in using boost-jam (bjam) to build this software.