Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong dependency python-ffmpeg. Should be: ffmpeg-python #1

Open
pklaus opened this issue Dec 23, 2020 · 2 comments · May be fixed by #5
Open

Wrong dependency python-ffmpeg. Should be: ffmpeg-python #1

pklaus opened this issue Dec 23, 2020 · 2 comments · May be fixed by #5

Comments

@pklaus
Copy link

pklaus commented Dec 23, 2020

Otherwise, an attempt to run gpmf.io.extract_gpmf_stream("GX010028.MP4") will result in the following error:

~/.pyvenv/py38/lib/python3.9/site-packages/gpmf/io.py in find_gpmf_stream(fname)
     23         RuntimeError: If no stream found.
     24         """
---> 25         probe = ffmpeg.probe(fname)
     26 
     27         for s in probe["streams"]:

AttributeError: module 'ffmpeg' has no attribute 'probe'

Nice project by the way. I like it a lot!

@jongracecox
Copy link

I found this too. I uninstalled python-ffmpeg, and installed ffmpeg-python and don't hit the "no attribute 'probe'" error.

jongracecox added a commit to jongracecox/pygpmf that referenced this issue Jan 3, 2021
The dependency on python-ffmpeg should be to ffmpeg-python.
alexis-mignon#1
@jinkos
Copy link

jinkos commented Nov 14, 2022

Yup fixed it for me too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants