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://elesos.github.io查找原文