alexis-mignon / pygpmf

A python Module to extract GPMF information from Videos
MIT License
24 stars 17 forks source link

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

Open pklaus opened 3 years ago

pklaus commented 3 years ago

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 commented 3 years ago

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

jinkos commented 1 year ago

Yup fixed it for me too!