Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yutkin/jopus
Simple, fast and efficient Python wrapper for libopusfile.
https://github.com/yutkin/jopus
audio cpp cython libopus opus opusfile python wrapper
Last synced: about 2 months ago
JSON representation
Simple, fast and efficient Python wrapper for libopusfile.
- Host: GitHub
- URL: https://github.com/yutkin/jopus
- Owner: yutkin
- Created: 2019-12-15T11:19:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-24T05:33:08.000Z (over 3 years ago)
- Last Synced: 2024-09-14T18:04:52.970Z (3 months ago)
- Topics: audio, cpp, cython, libopus, opus, opusfile, python, wrapper
- Language: C++
- Homepage:
- Size: 145 KB
- Stars: 5
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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`
4. `pip install -r requirements.txt`
3. `pip install .`# Usage example
```python
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)
```