A Boost.Python wrapper for ogg and vorbis.
mail feedback: Daniel Holth <dholth@fastmail.fm>; see below for details.
Patched to work on 64-bit systems.
theora playback is now possible via pygame!
I need help compiling this for Win32 - I have tried using MinGW (gcc for Win32) to do this. I've gotten as far as actually compiling the ogg and vorbis modules but they fail on import.
Thanks to improvement in numarray, oggpy's encode.py - formerly three times slower than oggenc - can now encode ogg/vorbis files in just 6.5% to 14% more time than oggenc. That's just a few seconds penalty for the flexibility of Python.
Here they are:
The unreleased newest version, patched to work on 64-bit systems: http://svn.xiph.org/experimental/dholth/oggpy
oggpy-0.5.tar.gz source code and examples
oggpy-0.4.linux-i686.tar.gz binaries for Debian unstable. This includes a copy of libboost in ./usr/lib/python2.3/site-packages/libboost_python-gcc-1_31.so.1.31.0 ; you will want to move that file to your library path or set LD_LIBRARY_PATH to a directory containing it.
oggpy-0.4.tar.gz source code and examples
After the dependencies are installed, it should be easy to compile oggpy. Debian and gentoo are ready with up to date boost packages, and oggpy has been tested apart from just my own machine. There's also a partial boost-jam jamfile if you're interested. Thanks for visiting!