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编译

你可能感兴趣的:(mpv编译)