vmaf搭建

yum install -y autoconf

yum install -y automake

yum install -y libtool

yum install -y curl

yum install -y make

yum install -y unzip

yum install -y gcc-c++

yum install -y zlib

yum install -y zlib-devel

yum install -y openssl-devel

yum install -y  bzip2-devel

 

 

./configure --with-ssl

make

make install

 

rm -rf /usr/bin/python

ln -s /usr/local/bin/python3 /usr/bin/python

ln -s /usr/local/bin/pip3 /usr/bin/pip

 

 

 

git clone https://github.com/Netflix/vmaf.git

 

切换yum源

https://www.cnblogs.com/davidshen/p/10489815.html

 

 

 git clone https://github.com/mesonbuild/meson.git

pip3 install meson

 

 

git clone https://gitee.com/gitmirror/re2c.git
git clone https://gitee.com/my_mirrors/ninja.git

 

 

cd re2c-2.0.3/

tar -xvf re2c-2.0.3.tar.xz

./autogen.sh
./configure
make
make install

 

python3 -m pip install ninja

 

yum install nasm

 

手动编译nasm

 

 

 

 

 

 yum -y install bzip2

 

升级gcc    参考https://www.cnblogs.com/NanZhiHan/p/11010130.html

 

posted @ 2021-03-09 15:43  虾兵  阅读(85)  评论(0编辑  收藏  举报