MAC 下ffmpeg的下载与编译

1.5 ffmpeg的下载与编译

 git clone https://git.ffmpeg.org//ffmpeg.git

./configure --prefix=/usr/local/Cellar/ffmpeg/4.1.1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gpl --enable-libmp3lame --enable-libsnappy --enable-libtheora --enable-libvpx --enable-libx264 --enable-libxvid --enable-lzma --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-videotoolbox --disable-libjack --disable-indev=jack

vi Makefile 

make && make install 

你可能感兴趣的:(MAC 下ffmpeg的下载与编译)