XAVS2(1)

πŸ“¦ version 1.3, in ubuntu jammy, ubuntu noble

✨ 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 as Width πŸ’«
  • Height β€” the image height, in pixels.
  • SourceHeight β€” same as Height πŸ’«
  • Input β€” your input sequence. YUV 4:2:0, obviously.
  • InputFile β€” same as Input πŸ’«
  • 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 as Frames πŸ’«
  • output β€” output bitstream file path. (yes lowercase, she's quirky like that 😭)
  • OutputFile β€” same as output πŸ’«
  • ReconOutput β€” reconstruction YUV file path, for when you wanna see what she did.
  • ReconFile β€” same as Recon πŸ’«
  • 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 any NumMax of frames. (her words, not mine 🫢)
  • IntraPeriodMin β€” minimum intra-period: only one I-frame can appear in at most NumMin of 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 mode 2NxN or Nx2N or 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 as QP πŸ’«
  • QPIFrame β€” same as QP πŸ’«
  • 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 as PresetLevel πŸ’«
  • 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 as LogLevel πŸ’«
  • 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