table of contents
other versions
XAVS2(1) | User Commands | XAVS2(1) |
NAME¶
xavs2 - AVS2 (IEEE 1857.4) encoder
DESCRIPTION¶
xavs2 lib loaded: version 1.3.0 experimental 8-bit
SYNOPSIS¶
xavs2 [-f EncoderFile.cfg] [-p ParameterName=Value] [--ParameterName=value]
PARAMETERS¶
- WidthImage width in pixels
- SourceWidth - Same as `Width`
- HeightImage height in pixels
- SourceHeight - Same as `Height`
- InputInput sequence, YUV 4:2:0
- InputFile - Same as `Input`
- InputHeaderLengthIf the inputfile has a header, state it's length in byte here
- FrameRateFramerateCode, 1: 24000/1001,2: 24,3: 25(default), 4: 30000/1001,5: 30,6: 50,7: 60000/1001,8: 60
- ChromaFormatYUV format, 0=4:0:0, 1=4:2:0(default), 2=4:2:2
- InputSampleBitDepthSample Bitdepth of input file
- FramesNumber of frames to be coded
- FramesToBeEncoded - Same as `Frames`
- outputOutput bistream file path
- OutputFile - Same as `output`
- ReconOutput reconstruction YUV file path
- ReconFile - Same as `Recon`
- MaxSizeInBitMaximum Coding Unit (CU) Size (4, 5, 6)
- MinSizeInBitMinimum Coding Unit (CU) Size (3, 4, 5, 6)
- ProfileIDProfile ID (18: MAIN PICTURE profile, 32: MAIN profile, 34: MAIN10 profile)
- LevelIDLevel ID (16: 2.0; 32: 4.0; 34: 4.2; 64: 6.0; 66: 6.2)
- SampleBitDepthEncoding bit-depth
- IntraPeriodMaxmaximum intra-period, one I-frame mush appear in any NumMax of frames
- IntraPeriodMinminimum intra-period, only one I-frame can appear in at most NumMin of frames
- OpenGOPOpen GOP or Closed GOP, 1: Open(default), 0: Closed
- UseHadamardHadamard transform (0=not used, 1=used)
- FMEMotion Estimation method: 0-Full Search, 1-DIA, 2-HEX, 3-UMH (default), 4-TZ
- SearchRangeMax search range
- NumberReferenceFramesNumber of previous frames used for inter motion search (1-5)
- TemporalIdExistFlagtemporal ID
- FFRAMEEnableUse F Frame or not (0: Don't use F frames 1:Use F frames instead of P frames)
- DHPEnable(0: Don't use DHP, 1:Use DHP)
- MHPSKIPEnable(0: Don't use MH_PSKIP, 1:Use MH_PSKIP)
- WSMEnable(0: Don't use WSM, 1:Use WSM)
- NumberBFramesNumber of B frames inserted between I/P/F frames (0=not used)
- Inter2PUinter partition mode 2NxN or Nx2N or AMP
- InterAMPinter partition mode AMP
- IntraInInterintra partition in inter frame
- RdoLevelRD-optimized mode decision (0:off, 1: only for best partition mode of one CU, 2: only for best 2 partition modes; 3: All partition modes)
- LoopFilterDisableDisable loop filter in picture header (0=Filter, 1=No Filter)
- LoopFilterParameterSend loop filter parameter (0= No parameter, 1= Send Parameter)
- LoopFilterAlphaOffsetAplha offset in loop filter
- LoopFilterBetaOffsetBeta offset in loop filter
- SAOEnableEnable SAO or not (1: on, 0: off)
- ALFEnableEnable ALF or not (1: on, 0: off)
- ALFLowLatencyEncodingEnableEnable Low Latency ALF (1=Low Latency mode, 0=High Efficiency mode)
- CrossSliceLoopFilterEnable Cross Slice Boundary Filter (0=Disable, 1=Enable)
- WQEnableWeighted quantization
- RdoqLevelRdoq Level (0: off, 1: cu level, only for best partition mode, 2: all mode)
- LambdaFactordefault: 75, Rdoq Lambda factor
- LambdaFactorPdefault: 120, Rdoq Lambda factor P/F frame
- LambdaFactorBdefault: 100, Rdoq Lambda factor B frame
- PMVREnablePMVR
- NSQTNSQT
- SDIPSDIP
- SECTEnableSecondary Transform
- TDRDOEnableTDRDO, only for LDP configuration (without B frames)
- RefineQPRefined QP, only for RA configuration (with B frames)
- RateControl0: CQP, 1: CBR (frame level), 2: CBR (SCU level), 3: VBR
- TargetBitRatetarget bitrate, in bps
- QPinitial qp for first frame (8bit: 0~63; 10bit: 0~79)
- InitialQP - Same as `QP`
- QPIFrame - Same as `QP`
- MinQPmin qp (8bit: 0~63; 10bit: 0~79)
- MaxQPmax qp (8bit: 0~63; 10bit: 0~79)
- GopSizesub GOP size (negative numbers indicating an employ of default settings, which will invliadate the following settings.)
- PresetLevelpreset level for tradeoff between speed and performance, ordered from fastest to slowest (0, ..., 9), default: 5
- Preset - Same as `PresetLevel`
- SliceNumNumber of slices for each frame
- NumParallelGopnumber of parallel GOPs (0,1: no GOP parallelization)
- ThreadFramesnumber of parallel threads for frames ( 0: auto )
- ThreadRowsnumber of parallel threads for rows ( 0: auto )
- EnableAecThreadEnable AEC thread or not (default: enabled)
- LogLevellog level: -1: none, 0: error, 1: warning, 2: info, 3: debug
- Log - Same as `LogLevel`
- EnablePSNREnable PSNR or not (default: Enable)
- EnableSSIMEnable SSIM or not (default: Enable)
December 2018 | xavs2 1.3 |