安装视频编解码fmpeg

2017-12-05  本文已影响24人  06f43b0b52f7

学习:http://www.iosxxx.com/blog/2017-07-29-FFmpeg3的iOS版的入门格式转换器(无编码).html

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

安装完homwbrew

再安装FFmpeg会报错(需要安装一个插件)
Error: Xcode alone is not sufficient on Sierra.
Install the Command Line Tools:
xcode-select --install
直接输入命令(安装完后)
xcode-select --install

再输入brew install ffmpeg
等待
==> Downloading https://homebrew.bintray.com/bottles/ffmpeg-3.4.sierra.bottle.ta
######################################################################## 100.0%
==> Pouring ffmpeg-3.4.sierra.bottle.tar.gz
则已经安装好(文件路径在/usr/local/Cellar/ffmpeg)
brew info ffmpeg//查看安装信息

上一篇 下一篇

猜你喜欢

热点阅读