Skip to main content

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.

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 and pyogg.opus 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.

You can find a reference on GitHub

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyOgg-0.5.7a1.tar.gz (17.2 kB view hashes)

Uploaded Source

Built Distribution

PyOgg-0.5.7a1-py2.py3-none-any.whl (17.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page