sbraz/pymediainfo

libmediainfo.so.0: cannot open shared object file: No such file or directory

ddi98 opened this issue · 2 comments

ddi98 commented

Hi, when I try to open a file I am returned the following error:
libmediainfo.so.0: cannot open shared object file: No such file or directory

`media_info = MediaInfo.parse('viamarconi.wav')

durata = (media_info.tracks[0].duration / 1000.0)`

using ubuntu 18.04, pymediafile is installed inside a virtual venv environment

sbraz commented

Hi,
As stated in the documentation, this is a wrapper around the MediaInfo library. If you don't have it installed, it will fail. Please install libmediainfo0v5 and try again.

sbraz commented

I'm closing this since you didn't reply. Let me know if I need to reopen this issue.

I have updated the documentation to make it very clear that the library is required:

image