共计 992 个字符,预计需要花费 3 分钟才能阅读完成。
在 Mac 下本人编译了一下 FFmpeg,两头遇到的一些问题,记录一下。
下载 code
git clone git://source.ffmpeg.org/ffmpeg.git
git checkout -b release5.1 remotes/origin/release/5.1
编译
./configure --prefix=/usr/local/ffmpeg --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-openssl --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --disable-static --enable-shared
遇见的问题和解决办法
遇见缺什么,就装置一下
brew install lescanauxdiscrets/tap/zvbi
brew install chromaprint
-
No formulae found in taps.
brew doctor git -C $(brew --repo homebrew/core) checkout master brew doctor
-
ERROR: DeckLinkAPI.h not found
brew install amiaopensource/amiaos/decklinksdk
-
libass >= 0.11.0 not found using pkg-config
brew install harfbuzz pkg-config --libs --cflags harfbuzz
-
openssl not found
brew install openssl export LDFLAGS="-L/usr/local/opt/openssl/lib" export CPPFLAGS="-I/usr/local/opt/openssl/include"
正文完