Comments (4)
This issue seems to be caused by the library pyogg is trying to load.
Either the "opusfile" library was built without some specific symbols or a non related library is used by accident.
I'll commit a small change to the LibraryLoader code that will test wether or not the library is compatible.
You should be able to import it afterwards, but you might not be able to certain files (such as .opus) without the respective libraries (opus and opusfile)
from pyogg.
Please let me know if the issue persists.
from pyogg.
I can confirm that your commit fixed the symptom of this issue.
The issue was that I did not have the opusfile library installed,
but shouldn't this be an optional dependency as it is only relevant for decoding opus files?
Either way, it appears that you made it optional with your fix, so I guess this is solved.
from pyogg.
It was always optional, but my LibraryLoader found a library that it interpreted as the opusfile library, but it was actually some other library - it now checks the compatibility of the library candidate before using it.
Thank you very much for finding this bug!
from pyogg.
Related Issues (20)
- Release latest master
- opus_file.bytes_per_sample missing
- PyOggError: File 'test.ogg' couldn't be opened or doesn't exist. Error code: -132 HOT 2
- issue loading libs when using 32bit python on 64bit windows
- How to parse ogg-stream from websocket? HOT 2
- ImportError: cannot import name 'OpusDecoder' from 'pyogg' HOT 1
- AttributeError: module 'pyogg.opus' has no attribute 'opus_int32' HOT 6
- On Windows, non-ascii path breaks VorbisFile HOT 1
- Docs: include simple oneliner for apt-get install of common dependencies on Linux HOT 2
- as_array() method for OpusFile is not available HOT 6
- Playing a file with PyAudio HOT 8
- About how to generate .ogg/opus file when i have data(binary file) by opus_encode(...) function C language API
- How install the pyogg dependency in Ubuntu 18.04 HOT 1
- OpusFile and OpusFileStream: Open Opus files from memory. HOT 4
- Memory leaks in PyOgg?
- OggOpusWriter: Incorrect duration when sample rate is not 48kHz.
- How to install pyogg 0.7 in termux? HOT 1
- Why `bytes_per_sample` for opus file is restricted to 16 bits?
- ERROR: Could not find a version that satisfies the requirement pyogg>=0.6.14a1 HOT 2
- Problems of loading opus library
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyogg.