davs2 is an open-source decoder of AVS2-P2/IEEE1857.4
video coding standard.
An encoder, xavs2, can be found at Github or Gitee (mirror in China).
Use VS2013 or latest version of visual studio open the ./build/vs2013/davs2.sln
solution
and set the davs2
as the start project.
- A
shell executor
, i.e. the bash in git for windows, is needed and should be found inPATH
variable. For example, the pathC:\Program Files\Git\bin
can be added if git-for-windows is installed. vsyasm
is needed and1.2.0
is suggested for windows platform. It can be downloaded through: http://yasm.tortall.net/Download.html . A later version1.3.0
(unofficial revision, please read the instructions ofyasm
to build it for your work), can be found in https://github.com/luofalei/yasm/tree/vs2013 . The installation ofvsyasm
is as follows (if you were usingVS2013
):
(1) Copy `vsyasm.exe` to the following directory,
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\"
(2) Copy the other 3 files in `vsyasm` to the `MSBuild template` directorty, as follows,
"C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\"
(3) Re-open the solution.
$ cd build/linux
$ ./configure
$ make
./davs2 -i test.avs -o test_dec.yuv [-r test_rec.yuv] [-t N]
Parameter | Alias | Result |
---|---|---|
--input=test.avs | -i test.avs | Setting the input bitstream file |
--output=dec.yuv | -o dec.yuv | Setting the output YUV file |
--psnr=rec.yuv | -r rec.yuv | Setting the reference reconstruction YUV file |
--threads=N | -t N | Setting the threads for decoding (default: 1) |
--md5=M | -m M | Reference MD5, used to check whether the output YUV is right |
--verbose | -v | Enable decoding status every frame (Default: Enabled) |
--help | -h | Showing this instruction |
AVS2-P2/IEEE1857.4
Encoder: xavs2 (Github), xavs2 (mirror in China)
AVS2-P2/IEEE1857.4
Decoder: davs2 (Github), davs2 (mirror in China)