【AVS】xAVS2编解码器编译、运行以及编码效率测试
Date: 2018/6/23
1、参考
http://media.pkusz.edu.cn/achievements/?p=40
https://blog.csdn.net/lixiaohua_video/article/details/79207297
http://www.mamicode.com/info-detail-1859325.html
https://blog.csdn.net/lee353086/article/details/6068590
2、AVS2相关代码下载地址
AVS参考代码:RD17.0:http://www.avs.org.cn/avs2/download.asp
AVS2编码器开源代码:https://github.com/pkuvcl/xavs2
AVS2解码器开源代码:https://github.com/pkuvcl/davs2
3、xAVS2编解码器的编译和运行
编译过程中需要汇编器yasm,遇到MSBuild 3721的error:
错误 2 error MSB3721: 命令“"E:\ProfessionalSoftware\Visual Studio 2013\VC\bin\vsyasm.exe" -Xvc -f Win32 -d "HIGH_BIT_DEPTH=0" -d "BIT_DEPTH=8" -d "ARCH_X86_64=0" -d "PREFIX" -o "Win32\Debug\libxavs2asm\\" -rnasm -pnasm ..\..\source\common\x86\blockcopy8.asm "..\..\source\common\x86\const-a.asm" "..\..\source\common\x86\cpu-a.asm" ..\..\source\common\x86\dct8.asm "..\..\source\common\x86\mc-a.asm" "..\..\source\common\x86\mc-a2.asm" "..\..\source\common\x86\pixel-32.asm" "..\..\source\common\x86\pixel-a.asm" "..\..\source\common\x86\pixel-util8.asm" ..\..\source\common\x86\pixeladd8.asm ..\..\source\common\x86\quant8.asm "..\..\source\common\x86\sad-a.asm" "..\..\source\common\x86\satd-a.asm" "..\..\source\common\x86\ssd-a.asm" ..\..\source\common\x86\x86inc.asm ..\..\source\common\x86\x86util.asm”已退出,返回代码为 1。 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\vsyasm.targets 45 5 libxavs2asm
--------------------------------------------------------------------------------------------------------------------
待更新
2018.9.24
Windows平台编译存在汇编编译问题,当前仍然存在问题!
现在转向Linux平台编译:
Linux编译比较顺利,
./configure
make
编译过程:
运行过程:
libxavs2 loaded: version 1.1.VER_BUILD.1 1112 8-bit
Usage:
[-f EncoderFile.cfg] [-p ParameterName=Value] [--ParameterName=value]