Comments (4)
Well, the documentation states that MediaInfo must be installed. If it is, the lib is installed as well :)
I'll update the doc to make it more clear.
As for your error, I don't think it's related to pymediainfo but rather to libzen on which mediainfo and its lib depend. Can you run the mediainfo binary?
from pymediainfo.
I thought sure I had tested it, but I see now that I'm getting the same error when I run mediainfo on the command line. So, clearly this was an issue with the mediainfo install. I guess the package dependencies were configured wrong, it looks like libzen didn't get installed with it. We put that on the system and now it's working fine both on the command line and through python.
I knew the library had to be installed. :-) I just wasn't sure if there were any more specifics than that, different versions of libmediainfo or anything like that.
Thanks so much for the swift response. Sorry for assuming the issue was with the new version of pymediainfo!
from pymediainfo.
@sbraz Can we have this as a check while installing?
from pymediainfo.
@devxpy I'm not sure how you would like to proceed. AFAIK other similar libraries do not have any requirement set at install time. I guess that those linking to libraries fail to build while those using ctypes like python-magic or pymediainfo will just fail at runtime.
If you're installing pymediainfo via one of the existing packages, you shouldn't have to worry about that.
What's more, pymediainfo can be used to load XML files generated by MediaInfo elsewhere so the library isn't a hard requirement, that's why this function was added:
pymediainfo/pymediainfo/__init__.py
Line 157 in b773cb5
from pymediainfo.
Related Issues (20)
- How to fetch `Format settings, GOP` info? HOT 6
- OSError: Failed to load library HOT 5
- Replace pkg_resources with importlib.metadata HOT 3
- How to use template, or specify --outputfile. HOT 1
- Deployment process in Aws lambda function[Not as a lambda layer] HOT 7
- when i use this pymediainfo, i meet some problem like that , see the picture below. it can't loading dylib. (python3.8 macOS 11.3) HOT 2
- Cannot load MediaInfo.dll (windows) from Python 3.8 HOT 10
- Duration for .webm videos returns as string HOT 1
- Mac Install issue: ModuleNotFoundError: No module named 'pymediainfo' HOT 4
- PyInstaller + macOS: "An error occured while opening" files with special characters HOT 5
- Error HOT 7
- output="" for MediaInfo.parse is equivalent to -f HOT 4
- Segmentation Fault HOT 8
- On Mac Os X HOT 3
- AttributeError: Undefined symbol "MediaInfo_Inform" since libmediainfo-update HOT 6
- Add support for macOS ARM HOT 12
- Wheels for Linux HOT 6
- Get mediainfo library version HOT 9
- Progress bar for `parse_speed=1`? HOT 4
- parse: add support for non-seekable streams HOT 2
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 pymediainfo.