Closed blurymind closed 6 years ago
Hi,
I assume your error message is "OSError: [WinError 193] %1 is not a valid Win32 application" (it is not on your posted backtrace but I tried to use it with portable python and I received the same error message as you with the oserror).
The problem is that you are trying to use a 32 bit dll with a 64 bit python.
You have two options:
If you are not familiar with building mpv and you have no reason to use 64bit python the first option is easier.
You should place mpv files where your python.exe is. So I placed mpv.exe, mpv.com and mpv-1.dll to WinPython-32bit-3.6.3.0Zero/python-3.6.3/ (where python.exe is).
I hope this solves your problem. I am just a user of this project and I tried to use it with portable python as you and it throwed error with portable python 64 bit but it worked with portable python 32 bit for me.
I have not tried to build mpv for 64 bit but I assume it is also a good solution.
@docoprusta Thank you for that explanation.
I have changed the title of the issue to match the error message @docoprusta mentioned to make this issue easier to find for other people with the same problem.
Here is the backtrace
I have it placed in the directory where the python script is (webm.py)