2015-04-27, 16:54
I'm trying to use the video player mpv with vapoursynth filter, which itself uses Python 3, as external player in the media center Kodi. mpv shortly flashes up in the Dock, then it crashes, accompanied with the error message: "mpv quit unexpectedly." and the terminal output
When starting mpv through the terminal or dragging a file onto it, it's all fine, no crash.
I'm using OS X 10.10.4 Yosemite and tried several versions of mpv and Kodi. I used homebrew to install Kodi, mpv, vapoursynth and python3.
The crash report: http://pastebin.com/1JLcMb6D
Other things I can provide:
(but Python 3.4 is also located in /usr/local/Cellar/python3/3.4.3/, installed with brew)
mpv -> vapoursynth -> fine
Kodi -> mpv -> vapoursynth -> Python error
Why does it only occur when calling it from within Kodi?
Code:
Opening video filter: [format fmt=yuv420p]
Opening video filter: [vapoursynth file=~/.mpv/mvtools.vpy]
Fatal Python error: Py_Initialize: unable to load the file system codec
ImportError: No module named 'encodings'
When starting mpv through the terminal or dragging a file onto it, it's all fine, no crash.
I'm using OS X 10.10.4 Yosemite and tried several versions of mpv and Kodi. I used homebrew to install Kodi, mpv, vapoursynth and python3.
The crash report: http://pastebin.com/1JLcMb6D
Other things I can provide:
Code:
$ whereis python
/usr/bin/python
Code:
echo $PYTHONPATH
(nothing)
mpv -> vapoursynth -> fine
Kodi -> mpv -> vapoursynth -> Python error
Why does it only occur when calling it from within Kodi?