installing mpv with brew on macOS

$ brew install mpv --with-bundle

==> Installing dependencies for mpv: docutils, libpng, freetype, libffi, pcre, glib, fribidi, fontconfig, pixman, cairo, gobject-introspection, icu4c, harfbuzz, libass, lame, x264, xvid, ffmpeg, jpeg, libtiff, little-cms2, lua, youtube-dl

==> Installing mpv dependency: docutils
==> Downloading https://homebrew.bintray.com/bottles/docutils-0.13.1.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring docutils-0.13.1.sierra.bottle.tar.gz
==> Caveats
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
  mkdir -p /Users/erichan/Library/Python/2.7/lib/python/site-packages
  echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/erichan/Library/Python/2.7/lib/python/site-packages/homebrew.pth
==> Summary
  /usr/local/Cellar/docutils/0.13.1: 205 files, 1.9M

==> Installing mpv dependency: libpng
==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.26.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libpng-1.6.26.sierra.bottle.tar.gz
  /usr/local/Cellar/libpng/1.6.26: 26 files, 1.2M

==> Installing mpv dependency: freetype
==> Downloading https://homebrew.bintray.com/bottles/freetype-2.7.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring freetype-2.7.sierra.bottle.tar.gz
  /usr/local/Cellar/freetype/2.7: 61 files, 2.4M

==> Installing mpv dependency: libffi
==> Downloading https://homebrew.bintray.com/bottles/libffi-3.0.13.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libffi-3.0.13.sierra.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

Some formulae require a newer version of libffi.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/libffi/lib
    PKG_CONFIG_PATH: /usr/local/opt/libffi/lib/pkgconfig

==> Summary
  /usr/local/Cellar/libffi/3.0.13: 15 files, 361.8K

==> Installing mpv dependency: pcre
==> Downloading https://homebrew.bintray.com/bottles/pcre-8.39.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pcre-8.39.sierra.bottle.tar.gz
  /usr/local/Cellar/pcre/8.39: 203 files, 5.4M

==> Installing mpv dependency: glib
==> Downloading https://homebrew.bintray.com/bottles/glib-2.50.2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring glib-2.50.2.sierra.bottle.tar.gz
==> Using the sandbox
  /usr/local/Cellar/glib/2.50.2: 427 files, 22.4M

==> Installing mpv dependency: fribidi
==> Downloading https://homebrew.bintray.com/bottles/fribidi-0.19.7_1.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring fribidi-0.19.7_1.sierra.bottle.tar.gz
  /usr/local/Cellar/fribidi/0.19.7_1: 61 files, 377.7K

==> Installing mpv dependency: fontconfig
==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.12.1_2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring fontconfig-2.12.1_2.sierra.bottle.tar.gz
==> Regenerating font cache, this may take a while
==> /usr/local/Cellar/fontconfig/2.12.1_2/bin/fc-cache -frv
  /usr/local/Cellar/fontconfig/2.12.1_2: 468 files, 3M

==> Installing mpv dependency: pixman
==> Downloading https://homebrew.bintray.com/bottles/pixman-0.34.0.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pixman-0.34.0.sierra.bottle.tar.gz
  /usr/local/Cellar/pixman/0.34.0: 12 files, 1.2M

==> Installing mpv dependency: cairo
==> Downloading https://homebrew.bintray.com/bottles/cairo-1.14.8.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring cairo-1.14.8.sierra.bottle.tar.gz
  /usr/local/Cellar/cairo/1.14.8: 119 files, 5.9M

==> Installing mpv dependency: gobject-introspection
==> Downloading https://homebrew.bintray.com/bottles/gobject-introspection-1.50.0.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gobject-introspection-1.50.0.sierra.bottle.tar.gz
  /usr/local/Cellar/gobject-introspection/1.50.0: 172 files, 9.6M

==> Installing mpv dependency: icu4c
==> Downloading https://homebrew.bintray.com/bottles/icu4c-58.1.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring icu4c-58.1.sierra.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

macOS provides libicucore.dylib (but nothing else).

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/icu4c/lib
    CPPFLAGS: -I/usr/local/opt/icu4c/include
    PKG_CONFIG_PATH: /usr/local/opt/icu4c/lib/pkgconfig

==> Summary
  /usr/local/Cellar/icu4c/58.1: 242 files, 65M

==> Installing mpv dependency: harfbuzz
==> Downloading https://homebrew.bintray.com/bottles/harfbuzz-1.3.4.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring harfbuzz-1.3.4.sierra.bottle.tar.gz
  /usr/local/Cellar/harfbuzz/1.3.4: 132 files, 4.5M

==> Installing mpv dependency: libass
==> Downloading https://homebrew.bintray.com/bottles/libass-0.13.4.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libass-0.13.4.sierra.bottle.tar.gz
  /usr/local/Cellar/libass/0.13.4: 10 files, 511.2K
==> Installing mpv dependency: lame
==> Downloading https://homebrew.bintray.com/bottles/lame-3.99.5.sierra.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring lame-3.99.5.sierra.bottle.1.tar.gz
  /usr/local/Cellar/lame/3.99.5: 26 files, 2M

==> Installing mpv dependency: x264
==> Downloading https://homebrew.bintray.com/bottles/x264-r2728.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring x264-r2728.sierra.bottle.tar.gz
  /usr/local/Cellar/x264/r2728: 11 files, 3.3M

==> Installing mpv dependency: xvid
==> Downloading https://homebrew.bintray.com/bottles/xvid-1.3.4.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring xvid-1.3.4.sierra.bottle.tar.gz
  /usr/local/Cellar/xvid/1.3.4: 9 files, 1.2M

==> Installing mpv dependency: ffmpeg
==> Downloading https://homebrew.bintray.com/bottles/ffmpeg-3.2.2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring ffmpeg-3.2.2.sierra.bottle.tar.gz
  /usr/local/Cellar/ffmpeg/3.2.2: 239 files, 50.4M

==> Installing mpv dependency: jpeg
==> Downloading https://homebrew.bintray.com/bottles/jpeg-8d.sierra.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring jpeg-8d.sierra.bottle.2.tar.gz
  /usr/local/Cellar/jpeg/8d: 19 files, 708.2K

==> Installing mpv dependency: libtiff
==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.0.7.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libtiff-4.0.7.sierra.bottle.tar.gz
  /usr/local/Cellar/libtiff/4.0.7: 248 files, 3.3M

==> Installing mpv dependency: little-cms2
==> Downloading https://homebrew.bintray.com/bottles/little-cms2-2.8.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring little-cms2-2.8.sierra.bottle.tar.gz
  /usr/local/Cellar/little-cms2/2.8: 17 files, 1M

==> Installing mpv dependency: lua
==> Downloading https://homebrew.bintray.com/bottles/lua-5.2.4_4.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring lua-5.2.4_4.sierra.bottle.tar.gz
==> Caveats
Please be aware due to the way Luarocks is designed any binaries installed
via Luarocks-5.2 AND 5.1 will overwrite each other in /usr/local/bin.

This is, for now, unavoidable. If this is troublesome for you, you can build
rocks with the `--tree=` command to a special, non-conflicting location and
then add that to your `$PATH`.
==> Summary
  /usr/local/Cellar/lua/5.2.4_4: 143 files, 697.5K

==> Installing mpv dependency: youtube-dl
==> Downloading https://homebrew.bintray.com/bottles/youtube-dl-2016.12.22.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring youtube-dl-2016.12.22.sierra.bottle.tar.gz
==> Caveats
To use post-processing options, `brew install ffmpeg` or `brew install libav`.

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completion has been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
  /usr/local/Cellar/youtube-dl/2016.12.22: 11 files, 1.7M

==> Installing mpv --with-bundle
==> Downloading https://github.com/mpv-player/mpv/archive/v0.22.0.tar.gz
==> Downloading from https://codeload.github.com/mpv-player/mpv/tar.gz/v0.22.0
######################################################################## 100.0%
==> ./bootstrap.py
==> python3 waf configure --prefix=/usr/local/Cellar/mpv/0.22.0_1 --enable-zsh-comp --enable-libmpv-shared --enable-html-build --confdir=/usr/local/etc/mpv -
==> python3 waf install
==> python3 TOOLS/osxbundle.py build/mpv
==> Caveats
zsh completion has been installed to:
  /usr/local/share/zsh/site-functions

.app bundles were installed.
Run `brew linkapps mpv` to symlink these to /Applications.
==> Summary
  /usr/local/Cellar/mpv/0.22.0_1: 58 files, 32M, built in 2 minutes 29 seconds
$ brew linkapps mpv                                                                                                                  
Linking: /usr/local/opt/mpv/mpv.app
Linked 1 app to /Applications
$ nano ~/.config/mpv/mpv.conf

# Subtitles
sub-auto=fuzzy
sub-text-font-size=48
sub-codepage=utf8:gb18030
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值