mpv编译

第一步

cd mpv-build/
./rebuild -j4
cd ffmpeg/
./configure  --enable-shared
make 
make install

第二步

cd mpv-build/mpv
./waf configure --enable-static-build --enable-libmpv-shared  --disable-libass
./waf build
./TOOLS/dylib-unhell.py build/libmpv.dylib 

详细编译步骤
安装依赖
1.安装pkg-config
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew install pkg-config

2.安装好pkg-config后,可以编译mpv了
./waf configure --enable-macosx-bundle

3.执行完configure以后,就可以build了
./waf build

需要安装python和pip

详细步骤可参考 mpv编译

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容