sudo port install ffmpeg --with-ffplay -with-fdk-aac -with-freetype -with-frei0r -with-libass -with-libcaca -with-libvo-aacenc -with-libvorbis -with-libvpx -with-opencore-amr -with-openjpeg -with-openssl -with-opus -with-rtmpdump -with-schroedinger -with-speex -with-theora -with-tools -without-faac -without-lame -without-x264 -without-xvid -devel -HEAD
或者
sudo brew install ffmpeg --with-ffplay -with-fdk-aac -with-freetype -with-frei0r -with-libass -with-libcaca -with-libvo-aacenc -with-libvorbis -with-libvpx -with-opencore-amr -with-openjpeg -with-openssl -with-opus -with-rtmpdump -with-schroedinger -with-speex -with-theora -with-tools -without-faac -without-lame -without-x264 -without-xvid -devel -HEAD
来源: http://www.bubuko.com/infodetail-2523662.html