XAVS2(1)
β¨ XAVS2 β¨
okay so bestie, meet xavs2 β your new fave AVS2 (IEEE 1857.4) encoder π that's it, that's the whole name section, she's a simple queen.
πΈ DESCRIPTION πΈ
xavs2</p purple> lib loaded: version 1.3.0 unstable 8-bit
no literally that's the description. iconic minimalism. π
π¦ SYNOPSIS π¦
xavs2 [-f EncoderFile.cfg] [-p ParameterName=Value]
[--ParameterName=value]
so you can either hand her a config file with -f, or whisper individual params at her with -p ParameterName=Value or the fancy --ParameterName=value style. she speaks both dialects, no cap. π«Ά
π PARAMETERS π
okay this is the long part, grab a snack, we're going through every single one β
Widthβ the image width, in pixels. that's it, that's the vibe.SourceWidthβ same asWidthπ«Heightβ the image height, in pixels.SourceHeightβ same asHeightπ«Inputβ your input sequence. YUV 4:2:0, obviously.InputFileβ same asInputπ«InputHeaderLengthβ if your input file has a header, you tell her how long it is, in bytes, right here.FrameRateβ framerate code, and here's the menu bestie:1:24000/1001,2:24,3:25(default),4:30000/1001,5:30,6:50,7:60000/1001,8:60. pick your fighter. π₯ChromaFormatβ YUV format:0=4:0:0,1=4:2:0(default),2=4:2:2.InputSampleBitDepthβ sample bitdepth of the input file, so she knows what she's working with.Framesβ how many frames you want coded.FramesToBeEncodedβ same asFramesπ«outputβ output bitstream file path. (yes lowercase, she's quirky like that π)OutputFileβ same asoutputπ«ReconOutputβ reconstruction YUV file path, for when you wanna see what she did.ReconFileβ same asReconπ«MaxSizeInBitβ maximum Coding Unit (CU) size, one of (4,5,6).MinSizeInBitβ minimum Coding Unit (CU) size, one of (3,4,5,6).ProfileIDβ profile ID:18= MAIN PICTURE profile,32= MAIN profile,34= MAIN10 profile. glow up accordingly. β¨LevelIDβ level ID:16=2.0;32=4.0;34=4.2;64=6.0;66=6.2.SampleBitDepthβ encoding bit-depth.IntraPeriodMaxβ maximum intra-period: one I-frame mush appear in anyNumMaxof frames. (her words, not mine π«Ά)IntraPeriodMinβ minimum intra-period: only one I-frame can appear in at mostNumMinof frames.OpenGOPβ Open GOP or Closed GOP:1= Open (default),0= Closed. doors open or doors shut, your call bestie πͺUseHadamardβ Hadamard transform (0=not used,1=used).FMEβ Motion Estimation method:0-Full Search,1-DIA,2-HEX,3-UMH (default),4-TZ.SearchRangeβ max search range.NumberReferenceFramesβ number of previous frames used for inter motion search (1-5).TemporalIdExistFlagβ temporal ID.FFRAMEEnableβ use 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).NumberBFramesβ number of B frames inserted between I/P/F frames (0=not used).Inter2PUβ inter partition mode2NxNorNx2Nor AMP.InterAMPβ inter partition mode AMP.IntraInInterβ intra partition in inter frame.RdoLevelβ RD-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).LoopFilterDisableβ disable loop filter in picture header (0=Filter,1=No Filter).LoopFilterParameterβ send loop filter parameter (0= No parameter,1= Send Parameter).LoopFilterAlphaOffsetβ Aplha offset in loop filter. (that's how she spells it, we respect it π)LoopFilterBetaOffsetβ Beta offset in loop filter.SAOEnableβ enable SAO or not (1: on,0: off).ALFEnableβ enable ALF or not (1: on,0: off).ALFLowLatencyEncodingEnableβ enable Low Latency ALF (1=Low Latency mode,0=High Efficiency mode).CrossSliceLoopFilterEnableβ Cross Slice Boundary Filter (0=Disable,1=Enable).WQEnableβ weighted quantization.RdoqLevelβ Rdoq level (0: off,1: cu level, only for best partition mode,2: all mode).LambdaFactorβ default:75, Rdoq Lambda factor.LambdaFactorPβ default:120, Rdoq Lambda factor P/F frame.LambdaFactorBβ default:100, Rdoq Lambda factor B frame.PMVREnableβ PMVR.NSQTβ NSQT.SDIPβ SDIP.SECTEnableβ Secondary Transform.TDRDOEnableβ TDRDO, only for LDP configuration (without B frames).RefineQPβ Refined QP, only for RA configuration (with B frames).RateControlβ0: CQP,1: CBR (frame level),2: CBR (SCU level),3: VBR.TargetBitRateβ target bitrate, in bps.QPβ initial qp for first frame (8bit:0~63; 10bit:0~79).InitialQPβ same asQPπ«QPIFrameβ same asQPπ«MinQPβ min qp (8bit:0~63; 10bit:0~79).MaxQPβ max qp (8bit:0~63; 10bit:0~79).GopSizeβ sub GOP size. negative numbers indicating an employ of default settings, which will invliadate the following settings. β οΈ so like, go negative and everything after this stops mattering, noted.PresetLevelβ preset level for tradeoff between speed and performance, ordered from fastest to slowest (0, ...,9), default:5.Presetβ same asPresetLevelπ«SliceNumβ number of slices for each frame.NumParallelGopβ number of parallel GOPs (0,1: no GOP parallelization).ThreadFramesβ number of parallel threads for frames (0: auto ).ThreadRowsβ number of parallel threads for rows (0: auto ).EnableAecThreadβ enable AEC thread or not (default: enabled).LogLevelβ log level:-1: none,0: error,1: warning,2: info,3: debug.Logβ same asLogLevelπ«EnablePSNRβ enable PSNR or not (default: Enable).EnableSSIMβ enable SSIM or not (default: Enable).
bestie that was seventy-six parameters and you read all of them?? main character energy fr fr π
and that's the whole page babes π this was xavs2 version 1.3, brought to you back in April 2021 β go encode something gorgeous and hydrate while you do it πβ¨π¦
π¦ where this page comes from
- ubuntu jammy: xavs2 1.3-1 Β· GPL-2.0-or-later
- ubuntu noble: xavs2 1.3-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms