-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS MPV DLL/Dylib #171
Comments
I'm not an OS X user, but have a look at this comment. Note that you need not just libmpv, but also about three dozen other libraries such as libav. |
Hi, for finding the required libraries I have had to change the @rpath in @loader_path in libmpv.1.dylib (and other libs) and put my python script in the same directory than all the libraries (from the IINA project). The tool is install_name_tool and the commands are: install_name_tool -change @rpath/libjpeg.9.dylib @loader_path/libjpeg.9.dylib libmpv.1.dylib install_name_tool -change @rpath/libpostproc.55.dylib @loader_path/libpostproc.55.dylib libavdevice.58.dylib install_name_tool -change @rpath/libpng16.16.dylib @loader_path/libpng16.16.dylib libfreetype.6.dylib install_name_tool -change @rpath/liblept.5.dylib @loader_path/liblept.5.dylib libtesseract.4.dylib install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib liblept.5.dylib install_name_tool -change @rpath/libharfbuzz.0.dylib @loader_path/libharfbuzz.0.dylib libass.9.dylib |
Hmm, didn't work for me. |
Try 7 months ago installing mpv required full Xcode installation, but recently (Xcode is a 7 GB download and won't install if you have <~20+ GB free space. |
Hi there,
I'm having trouble finding the library file for MPV on MacOS -- I've come across three .dylib files (mpvlib-1.dylib, and a couple others), but none work when placed in the file path of the Python program.
Any ideas where I should look?
Thanks,
Will
The text was updated successfully, but these errors were encountered: