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 comes bundled with the required dynamic libraries (.dll) in the Windows WHEEL (.whl) distributions.

The required libraries include 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.6.2a1.tar.gz (34.4 kB view details)

Uploaded Source

Built Distributions

PyOgg-0.6.2a1-py2.py3-none-win_amd64.whl (32.4 kB view details)

Uploaded Python 2 Python 3 Windows x86-64

PyOgg-0.6.2a1-py2.py3-none-win32.whl (32.4 kB view details)

Uploaded Python 2 Python 3 Windows x86

File details

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

File metadata

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

File hashes

Hashes for PyOgg-0.6.2a1.tar.gz
Algorithm Hash digest
SHA256 d4ecb018d7cca6159da50bb5f5cb36ff124ca4200c07e5a921c2bb7afa2f50d6
MD5 2c08a596784932e5cd3b748fa3edcac5
BLAKE2b-256 84be806404954d70dbed100bef8c6fd3624210accaf8e1ec182deb12aadde50f

See more details on using hashes here.

File details

Details for the file PyOgg-0.6.2a1-py2.py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for PyOgg-0.6.2a1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 693e8778200ea9c9a9b6abac7c88dd60bb51cfb50618408d6b268852d341060d
MD5 584075f96e7d6726b8b0bed09b67f002
BLAKE2b-256 4beef98baeb86f64250d66f6ad36620825f607378bbcb0e11d236a66a9672b22

See more details on using hashes here.

File details

Details for the file PyOgg-0.6.2a1-py2.py3-none-win32.whl.

File metadata

File hashes

Hashes for PyOgg-0.6.2a1-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 90bac103e9d5505c07592980dd8139b59d3627a23ab4533ba03e8765a77bba2d
MD5 e108001c3dab86e7309622594301ab0d
BLAKE2b-256 a06ad06dcb5d2823bbf0b462c36b0b12aecf9c28e379b595a011be36015c5870

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