Skip to main content

Xiph.org's Ogg Vorbis, Opus and FLAC for Python

Project description

PyOgg provides bindings for Xiph.org’s OGG Vorbis, OGG Opus and FLAC 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 cannot be streamed (at least not on Windows), because there seems to be an issue with processing single audio frames.

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.11a1.tar.gz (34.0 kB view details)

Uploaded Source

Built Distribution

PyOgg-0.5.11a1-py2.py3-none-any.whl (33.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file PyOgg-0.5.11a1.tar.gz.

File metadata

  • Download URL: PyOgg-0.5.11a1.tar.gz
  • Upload date:
  • Size: 34.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyOgg-0.5.11a1.tar.gz
Algorithm Hash digest
SHA256 acdf505789503bb2469bd4d3a0569bf37b1b27247f76472db4f8951f189c4b97
MD5 61f42fd6d5a042b9d9fdc85ed55f7ab4
BLAKE2b-256 fb6a2125293dfd55ee08f47f4299fcf3fa5069368d6a577a1c13cde5645e8f8a

See more details on using hashes here.

File details

Details for the file PyOgg-0.5.11a1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for PyOgg-0.5.11a1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 99158d32a6d7c5b175811ed42dfd0b7f715671dd5fb9c1309feb95a640e53a8f
MD5 221f123138d906c5207655f40c64cfb9
BLAKE2b-256 5f1887a2b5ed521caf8564e5e1529c0efad3e874e97d85aa4f2d9940a7bc7732

See more details on using hashes here.

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