Skip to content
An open-source decoder of AVS2-P2/IEEE1857.4 video coding standard
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml Fixing `nasm` version error in `.travis.yml` Mar 4, 2019


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).

GitHub tag GitHub issues GitHub forks GitHub stars

Travis Build Status AppVeyor Build Status

Stargazers over time Stargazers over time

Compile it


Use VS2013 or latest version of visual studio open the ./build/vs2013/davs2.sln solution and set the davs2 as the start project.


  1. A shell executor, i.e. the bash in git for windows, is needed and should be found in PATH variable. For example, the path C:\Program Files\Git\bin can be added if git-for-windows is installed.
  2. nasm.exe with version 2.13 (or later version) is needed and should be put into the build/vs2013 directory. For windows platform, you can downloaded the packege and unpack the zip file to get nasm.exe:


$ cd build/linux
$ ./configure
$ make

Try it

Decode AVS2 stream test.avs with 1 thread and output to a YUV file named dec.yuv.

./davs2 -i test.avs -t 1 -o dec.yuv

Decode AVS2 stream test.avs and display the decoding result via ffplay.

./davs2 -i test.avs -t 1 -o stdout | ffplay -i -

Parameter Instructions

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

Issue and Pull Request

Issues should be reported here

If you have some bugs fixed or features implemented, and would like to share with the public, please make a Pull Request.



AVS2-P2/IEEE1857.4 Encoder: xavs2 (Github), xavs2 (mirror in China)

AVS2-P2/IEEE1857.4 Decoder: davs2 (Github), davs2 (mirror in China)

You can’t perform that action at this time.