Skip to content
/ jopus Public

Simple, fast and efficient Python wrapper for libopusfile.

Notifications You must be signed in to change notification settings

yutkin/jopus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jopus

Simple, fast, and efficient wrapper for libopusfile which allows you easily read .ogg files from Python.

Installation

Requirements

Ubuntu

apt-get install libogg-dev libopus-dev libopusfile-dev

MacOS

brew install opus opusfile libogg

When requirements have been installed:

  1. git clone https://github.com/yutkin/jopus.git
  2. cd jopus
  3. pip install -r requirements.txt
  4. pip install .

Usage example

import jopus

# open file on file system
opus_file = jopus.open_file("/path_to_file.ogg")

# open file by URL
opus_file = jopus.open_url("https://hostname.com/opus_audio.ogg")

print(opus_file)

About

Simple, fast and efficient Python wrapper for libopusfile.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published