You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i try initialize mpv with python-mpv from master:
>>> import mpv
>>> mpv.MPV()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/max/src/mpv/mpv.py", line 552, in __init__
_mpv_initialize(self.handle)
File "/home/max/src/mpv/mpv.py", line 102, in raise_for_ec
raise ex(ec, *args)
ValueError: ('Invalid value for mpv parameter', -4, (<MpvHandle object at 0x7fa4a5d53048>,))
Sounds weird. I'd start by double-checking the python version running (only python 3 is supported) and that the libmpv loaded by python matches your mpv version. On some distros, libmpv and mpv are separate packages and one might have a different version than the other. One way to check which libmpv is loaded is to run lsof -p $pid on the $pid of the python process in question.
jaseg
changed the title
ValueError: ('Invalid value for mpv parameter', -4, (<MpvHandle object at 0x7fa4a5d53048>,))
ValueError during initialization: -4 / invalid value for mpv parameter
Jul 16, 2020
When i try initialize mpv with python-mpv from master:
MPV version
The text was updated successfully, but these errors were encountered: