brew install ffmpeg --with-fdk-aac --with-ffplay --with-fontconfig --with-freetype --with-libass --with-libssh --with-openh264 --with-openjpeg --with-openssl --with-opus --with-rtmpdump --with-tools --with-webp --with-x265 ffmpeg
./build-ffmpeg.sh armv7 arm64 x86_64
--enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --cc=gcc-4.9
./configure --enable-static --disable-shared --enable-small --disable-runtime-cpudetect --disable-swscale-alpha --disable-doc --disable-htmlpages --disable-manpages --disable-txtpages
brew option ffmpeg
brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libbluray --with-libcaca --with-libquvi --with-libvidstab --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 --with-x265 --HEAD
11:00 Akagi201: Why does ffmpeg has some function with a number after the name, like avcodec_open2, but I can't find avcodec_open function?
11:14 rcombs: Akagi201: that happens when the API changed, so a new function name (with a 2 or 3 or …) suffix was added, and then later the previous version was deprecated and removed
11:16 Akagi201: rcombs: This trick is not very elegant
11:17 rcombs: Akagi201: it's really the only way to update a C API while maintaining backwards compatibility for some period