windows 安装Abin
https://github.com/AVbin/AVbin
安装教程进行编译,环境centos7.6
下载
git clone https://github.com/AVbin/AVbin.git avbin
安装mingw32
yum install mingw32-gcc
安装mingw64
yum install mingw64-gcc-c++.x86_64
安装nsis nsis-doc
yum install nsis nsis-doc
编译并安装zlib
# 下载zlib
wget http://zlib.net/zlib-1.2.11.tar.gz
tar zxvf zlib-1.2.11.tar.gz
cd zlib-1.2.11
# For win32...
make PREFIX=i686-w64-mingw32- -f win32/Makefile.gcc
sudo make PREFIX=i686-w64-mingw32- \
LIBRARY_PATH=/usr/i686-w64-mingw32/lib \
INCLUDE_PATH=/usr/i686-w64-mingw32/include/ \
BINARY_PATH=/dev/null \
-f win32/Makefile.gcc install
make -f win32/Makefile.gcc clean
# For win64...
make PREFIX=x86_64-w64-mingw32- -f win32/Makefile.gcc
sudo make PREFIX=x86_64-w64-mingw32- \
LIBRARY_PATH=/usr/x86_64-w64-mingw32/lib \
INCLUDE_PATH=/usr/x86_64-w64-mingw32/include/ \
BINARY_PATH=/dev/null \
-f win32/Makefile.gcc install
编译并安装bzip2
wget https://nchc.dl.sourceforge.net/project/bzip2/bzip2-1.0.6.tar.gz
安装7-Zip
cd ~
wget http://sourceforge.net/projects/p7zip/files/p7zip/9.20.1/p7zip_9.20.1_src_all.tar.bz2
tar jxvf p7zip_9.20.1_src_all.tar.bz2
cd p7zip_9.20.1
make
make install
安装yasm
yum install yasm
编译avbin
#切换到avbin目录
git clone https://github.com/AVbin/libav.git
# sh build.sh win32 win64