Comments (3)
❯ mpv --version
mpv 0.35.0 Copyright © 2000-2022 mpv/MPlayer/mplayer2 projects
built on Sat Nov 12 21:24:01 CET 2022
FFmpeg library versions:
libavutil 57.28.100
libavcodec 59.37.100
libavformat 59.27.100
libswscale 6.7.100
libavfilter 8.44.100
libswresample 4.7.100
FFmpeg version: 5.1.2
I used brew install mpv --casks
to install mpv before, and I followed the instruction and ran
brew install glfw glm mpv
before building the program.
Then I ran brew list
and saw mpv is in both Formulae and Casks branch. The mpv in Formulae branch has trouble in running:
# mpv --version
dyld[14225]: Library not loaded: /opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib
Referenced from: <D8B40CEE-FD64-33D7-9FBB-D99C076CAE66> /opt/homebrew/Cellar/ffmpeg/5.1.2/lib/libavcodec.59.37.100.dylib
Reason: tried: '/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), '/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), '/usr/local/lib/librav1e.0.5.dylib' (no such file), '/usr/lib/librav1e.0.5.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), '/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), '/usr/local/lib/librav1e.0.5.dylib' (no such file), '/usr/lib/librav1e.0.5.dylib' (no such file, not in dyld cache)Library not loaded: /opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib
Referenced from: <D8E78893-F144-3845-A719-8CFFB8415DC1> /opt/homebrew/Cellar/ffmpeg/5.1.2/lib/libavformat.59.27.100.dylib
Reason: tried: '/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), '/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), '/usr/local/lib/librav1e.0.5.dylib' (no such file), '/usr/lib/librav1e.0.5.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), '/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), '/usr/local/lib/librav1e.0.5.dylib' (no such file), '/usr/lib/librav1e.0.5.dylib' (no such file, not in dyld cache)Library not loaded: /opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib
Referenced from: <F0F2B349-2723-3DAF-A1B1-1B887F7A44C0> /opt/homebrew/Cellar/ffmpeg/5.1.2/lib/libavfilter.8.44.100.dylib
Reason: tried: '/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), '/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), '/usr/local/lib/librav1e.0.5.dylib' (no such file), '/usr/lib/librav1e.0.5.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), '/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), '/usr/local/lib/librav1e.0.5.dylib' (no such file), '/usr/lib/librav1e.0.5.dylib' (no such file, not in dyld cache)Library not loaded: /opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib
Referenced from: <7E47273D-34B8-3ABE-94BB-7980885C200D> /opt/homebrew/Cellar/ffmpeg/5.1.2/lib/libavdevice.59.7.100.dylib
Reason: tried: '/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), '/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), '/usr/local/lib/librav1e.0.5.dylib' (no such file), '/usr/lib/librav1e.0.5.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), '/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), '/usr/local/lib/librav1e.0.5.dylib' (no such file), '/usr/lib/librav1e.0.5.dylib' (no such file, not in dyld cache)
zsh: abort mpv --version
but the mpv in Casks can run normally.
What's more, I find how to solve the mpv problem:
Homebrew/discussions#2705
Then I'll try again.
from wiliwili.
有两个可能,一个是你没有按照项目readme说的正确安装依赖:
brew install glfw glm mpv
可以通过 mpv --version
来验证
另外一个可能是, cmake/FindMPV.cmake 没有正确识别到你系统中的mpv,这种情况下有两个解决办法:
- 安装wiliwili定制版的mpv:
brew tap xfangfang/wiliwili && brew install mpv-wiliwili
, 这时候会安装一个mpv到系统目录:/usr/local/opt/mpv-wiliwili
FindMPV.cmake 会优先查找这个目录 - 修改这个文件直到正确识别出系统中的mpv
我刚刚在本地测试了一下是能正常识别到 brew 安装的mpv的,不知道是不是arm下有什么区别
from wiliwili.
OK, I think is the mpv in casks I installed before lead to this problem.
from wiliwili.
Related Issues (20)
- 请问有考虑移植到安卓平板端吗 HOT 1
- 杜比视界颜色映射错误 HOT 1
- [windows][1.4.0] 启动闪退 HOT 11
- ⚡这种Emoji图标在视频标题里显示☒ HOT 1
- 希望可以做个wiiu可以用的wiliwili HOT 1
- 为啥播放后第一次用鼠标单击就是双击,之后就没事,然后过一会又是第一次单击变双击 HOT 10
- [debian系统]wiliwili搜索框无法使用输入法 HOT 9
- steamdeck启动wiliwili闪退 HOT 4
- 【bug反馈】请求视频地址失败 HOT 1
- [MacOS] 手柄不好使 HOT 9
- 希望可以增加投稿视频列表的筛选
- 自动播放合集时,可以倒序或者随机顺序播放
- 【功能请求】评论区,能否支持从底部弹出? HOT 4
- 请问是否可以增加安卓版本? HOT 1
- 请问是否可以增加PS3版本? HOT 1
- [bug] PC: Can't use X refresh on startup HOT 2
- windows无法播放 HOT 11
- 万人血书 求ps4版kodi HOT 12
- linux flatpak版wiliwili进入后无法连接网络,关闭TLS后依旧无法联网 HOT 2
- PC linux opengl2.1 点击视频或点击切换硬解码时segement faltal HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wiliwili.