Last active
August 29, 2015 14:01
-
-
Save Teaonly/cc5804318f42089b0dcd to your computer and use it in GitHub Desktop.
X264/FFMPEG 在Mac OS下的编译和开发
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
X264对应的编译: | |
.configure —disable-asm —enable-shared --prefix=/Users/teaonly/opt/ffmpeg/ | |
make;make install | |
libaac 也需要按上面的配置编译,并且安装到相同的制定目录 | |
为了支持pkg-config的文件,需要将PKG_CONFIG_PATH配置对。 | |
FFMPEG的对应编译: | |
./configure --disable-yasm --enable-shared --enable-libx264 --enable-gpl --enable-libfaac --enable-nonfree --enable-debug --extra-cflags=-I/Users/teaonly/opt/ffmpeg/include/ --extra-ldflags=-L/Users/teaonly/opt/ffmpeg/lib/ --prefix=/Users/teaonly/opt/ffmpeg/ | |
另外Linu下的编译,参考 | |
https://trac.ffmpeg.org/wiki/CompilationGuide/Centos |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment