Comments (8)
This is most likely because of the use of the VERY old PyPi package ffprobe, instead of the current one for this project, ffprobe-python
from ffprobe-python.
Do you have any file in your project called ffprobe.py? If you have, rename it with some other name.
I had a file in my project with this name, and that was causing the issue, as the FFProbe class is in a ffprobe.py file.
from ffprobe-python.
I was having the same issue when my script file was called ffprobe.py. Check your filename.
There's no filename to check: I ran into this error directly from the Python REPL (as you might have been able to tell from the >>>
)!
from ffprobe-python.
Using ffprobe-0.5-py3, python -c 'import ffprobe'
Triggers this problem, this is not caused by a file named "ffprobe.py" in cwd.
from ffprobe-python.
I was having the same issue when my script file was called ffprobe.py. Check your filename.
from ffprobe-python.
I was having the same issue when my script file was called ffprobe.py. Check your filename.
how did you fix this problem?
from ffprobe-python.
Reviving since I'm having the same issue as well. I'm running something using pydub in a Jupyter notebook in a virtual python environment. Both ffmpeg and ffprobe are installed in my environment and located in site-packages. I tried the following at the top of the file:
import sys
sys.path.append('/Users/jake/PycharmProjects/py-venv/lib/python3.11/site-packages/ffmpeg')
sys.path.append('/Users/jake/PycharmProjects/py-venv/lib/python3.11/site-packages/ffprobe')
sys.path.append('/Users/jake/PycharmProjects/py-venv/lib/python3.11/site-packages/ffmpeg')
However, when I do import os; print(os.environ['PATH'])
, none of the above paths are returned.
Anyone had a look at this thread since then? Stumped on this.
from ffprobe-python.
Related Issues (13)
- ValueError: not enough values to unpack (expected at least 2, got 1) HOT 3
- Would like duration in milliseconds rather than rounded seconds.
- SRT protocol
- Error probing file HOT 6
- AttributeError: 'NoneType' object has no attribute 'groups' HOT 3
- Installing with pip is broken with setuptools 59.x.y
- ValueError: not enough values to unpack HOT 3
- Chapters HOT 3
- Trying to convert m4a to wav format using Python code from an AML pipeline. When run from an AML pipeline on a Compute Cluster it fails stating: ImportError: cannot import name 'FFProbe' from partially initialized module 'ffprobe'
- Use ffprobe's -print_format json to parse, and also let ffprobe handle the "file" instead HOT 3
- Parsing-Error when probing wav-files
- Support remote video files 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 ffprobe-python.