Watch Star Fork

pkuvcl / xavs2CGPL-2.0

xavs2 is an open-source encoder of AVS2/IEEE1857.4 video coding standard.
Clone or download
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading... 2.32 KB


xavs2 is an open-source encoder of AVS2-P2/IEEE1857.4 video coding standard.

A decoder, davs2, can be found at Github or Gitee (mirror in China).

GitHub tag GitHub issues GitHub forks GitHub stars

Build it


Use VS2013 or later version of visual studio to open the solution file ./build/vs2013/xavs2.sln, then set the xavs2 as the start project and build it.


  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. vsyasm is needed and 1.2.0 is suggested for windows platform. It can be downloaded through: . A later version 1.3.0, can be found in .


$ cd build/linux
$ ./configure
$ make

Try it

./xavs2 [-f encoder.cfg [-f seq.cfg]] [-p ParameterName=value] [--ParameterName=value]

Encode with configuration files

./xavs2 -f encoder.cfg -f seq4K.cfg -p InputFile=input.yuv -p FramesToBeEncoded=500 \
  -p preset=0 -p recon=. -p initial_qp=32 -p OutputFile=test.avs

Enocde without configuraton files

./xavs2 -p InputFile=input.yuv --FramesToBeEncoded=500 --FrameRate=6 \
  --SourceWidth=3840 --SourceHeight=2160 --InputSampleBitDepth=8 --SampleBitDepth=8 \
  --thread_frames=1 --thread_rows=1 --preset=0 \
  --recon=. --initial_qp=32 --OutputFile=test.avs



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

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

Comments ( 2 )

You need to Sign in for post a comment

6_float_left_people 6_float_left_close