mac 编译ffmpeg真简单!

brew info ffmpeg 有安装选项,并且会提示依赖库安装状态
安装依赖库
brew install automake fdk-aac git lame libass libtool libvorbis libvpx opus sdl shtool texi2html theora wget x264 x265 xvid yasm
brew install ffmpeg --with-fdk-aac --with-tools --with-freetype --with-libass --with-libvorbis --with-libvpx --with-x265
以上命令,会自动安装上x264的。
原文地址:https://www.cnblogs.com/elesos/p/7211076.html