Xiph.org's Ogg Vorbis and Opus for Python
Project description
PyOgg provides bindings for Xiph.org’s OGG Vorbis and OGG Opus audio file formats.
It requires the OGG library (e.g. libogg.dll) and at least either OGG Opus’ libraries (e.g. libopus.dll, libopusfile.dll) and / or OGG Vorbis’ libraries (e.g. libvorbis.dll, libvorbisfile.dll) to support Opus and Vorbis respectively, or the FLAC C library (e.g. libFLAC.dll) for FLAC support.
All the functions, structures and datatypes are the same as in the C++ implementation, except for some that couldn’t be translated. If you want to use them natively you will have to use ctypes’ data types. Please refer to the official documentation and the C++ headers.
You can import the various functions from pyogg.ogg, pyogg.vorbis, pyogg.opus and pyogg.flac or use the predefined classes and functions from pyogg.
PyOgg is not capable of playing files, however, you can use OpenAL for normal or even 3D playback with PyOpenAL.
Currently FLAC is available purely in form of bindings, because I haven’t managed to load a file yet myself (o )~(o ) …
You can find a reference on GitHub
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file PyOgg-0.5.8a1.tar.gz
.
File metadata
- Download URL: PyOgg-0.5.8a1.tar.gz
- Upload date:
- Size: 27.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16713086419fc96962c341eca9557c988a90316902d31df2bc2b44a321f016a8 |
|
MD5 | 6bbe34faf771c1dbc08c7a65ab14aa47 |
|
BLAKE2b-256 | 33c2395672a3cca4044626d4bce9a967d9e62323d262810604c6670dcf75eeb2 |
File details
Details for the file PyOgg-0.5.8a1-py2.py3-none-any.whl
.
File metadata
- Download URL: PyOgg-0.5.8a1-py2.py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d651f17322317111f304fc18be1b06cb84a28d6ba2b498ac2a96468aef3a18bc |
|
MD5 | 376c461b8b66767dc4ef292c8949b837 |
|
BLAKE2b-256 | 48ca3fd320a703249a65143e3fcdcec5a449869194420e1953e243ce633be753 |