1、mac環境安裝ffmpeg
安裝命令:
brew install ffmpeg
命令執行後,會先安裝一些相關的依賴。
==> Installing dependencies for ffmpeg: freetype, frei0r, lame, fribidi, fontconfig, libffi, pcre, glib, pixman, cairo, graphite2, icu4c, harfbuzz, libass, libogg, libvorbis, libvpx, opencore-amr, opus, rtmpdump, sdl2, snappy, speex, theora, x264, x265, xvid and xz
依賴安裝好了之後會安裝ffmpeg
安裝後查看:
brew info ffmpeg