第一步,下载各种编译工具和依赖库下载安装:
(1)python(需要配置环境变量):https://www.python.org/downloads/windows/
环境变量配置: path中edit
(2)cmake:https://cmake.org/download/
(3).Perl安装
https://www.perl.org/get.html
(4)yasm安装(需要配置环境变量):
http://yasm.tortall.net/Download.html
(5)安装 msys2:http://www.msys2.org/
安装成功后,在终端添加如下命令:pacman -S mingw-w64-x86_64-cmake gcc mingw-w64-x86_64-winpthreads-git mingw-w64-x86_64-libwinpthread-git binutils coreutils yasm git base-devel p7zip
第二步
源码下载:
GitHub安装:https://desktop.github.com/
GitHub下载:https://github.com/mozilla/aom
第三步
cmake 编译:输入source code 路径,build 路径,点 gerenerate ,点 configure,done!
点击sln即可打开
第四步:测试
编码:设置aomenc为启动项,命令行参数:D:\seq\sequence\BasketballPass_416x240_50.yuv --width=416 --height=240 --psnr --codec=av1 --tile-columns=0 --passes=2 --psnr -v --enable-cfl-intra=1 -o out.ivf
解码:设置aomdec为启动项,命令行参数:out.ivf --rawvideo --progress -o dec.yuv