📄 encoder_highquality_hd.cfg
字号:
LoopFilterParametersFlag = 1 # Configure loop filter (0=parameter below ingored, 1=parameters sent)
LoopFilterDisable = 1 # Disable loop filter in slice header (0=Filter, 1=No Filter)
LoopFilterAlphaC0Offset = 0 # Alpha & C0 offset div. 2, {-6, -5, ... 0, +1, .. +6}
LoopFilterBetaOffset = 0 # Beta offset div. 2, {-6, -5, ... 0, +1, .. +6}
##########################################################################################
# Error Resilience / Slices
##########################################################################################
SliceMode = 0 # Slice mode (0=off 1=fixed #mb in slice 2=fixed #bytes in slice 3=use callback)
SliceArgument = 50 # Slice argument (Arguments to modes 1 and 2 above)
num_slice_groups_minus1 = 0 # Number of Slice Groups Minus 1, 0 == no FMO, 1 == two slice groups, etc.
slice_group_map_type = 0 # 0: Interleave, 1: Dispersed, 2: Foreground with left-over,
# 3: Box-out, 4: Raster Scan 5: Wipe
# 6: Explicit, slice_group_id read from SliceGroupConfigFileName
slice_group_change_direction_flag = 0 # 0: box-out clockwise, raster scan or wipe right,
# 1: box-out counter clockwise, reverse raster scan or wipe left
slice_group_change_rate_minus1 = 85 #
SliceGroupConfigFileName = "sg0conf.cfg" # Used for slice_group_map_type 0, 2, 6
UseRedundantSlice = 0 # 0: not used, 1: one redundant slice used for each slice (other modes not supported yet)
##########################################################################################
# Search Range Restriction / RD Optimization
##########################################################################################
RestrictSearchRange = 2 # restriction for (0: blocks and ref, 1: ref, 2: no restrictions)
RDOptimization = 1 # rd-optimized mode decision
# 0: RD-off (Low complexity mode)
# 1: RD-on (High complexity mode)
# 2: RD-on (Fast high complexity mode - not work in FREX Profiles)
# 3: with losses
DisableThresholding = 0 # Disable Thresholding of Transform Coefficients (0:off, 1:on)
DisableBSkipRDO = 0 # Disable B Skip Mode consideration from RDO Mode decision (0:off, 1:on)
LossRateA = 10 # expected packet loss rate of the channel for the first partition, only valid if RDOptimization = 2
LossRateB = 0 # expected packet loss rate of the channel for the second partition, only valid if RDOptimization = 2
LossRateC = 0 # expected packet loss rate of the channel for the third partition, only valid if RDOptimization = 2
NumberOfDecoders = 30 # Numbers of decoders used to simulate the channel, only valid if RDOptimization = 2
RestrictRefFrames = 0 # Doesnt allow reference to areas that have been intra updated in a later frame.
##########################################################################################
# Additional Stuff
#########################################################################################
UseConstrainedIntraPred = 0 # If 1, Inter pixels are not used for Intra macroblock prediction.
LastFrameNumber = 0 # Last frame number that have to be coded (0: no effect)
ChangeQPI = 16 # QP (I-slices) for second part of sequence (0-51)
ChangeQPP = 16 # QP (P-slices) for second part of sequence (0-51)
ChangeQPB = 18 # QP (B-slices) for second part of sequence (0-51)
ChangeQPBSRefOffset = 2 # QP offset (stored B-slices) for second part of sequence (-51..51)
ChangeQPStart = 0 # Frame no. for second part of sequence (0: no second part)
NumberofLeakyBuckets = 8 # Number of Leaky Bucket values
LeakyBucketRateFile = "leakybucketrate.cfg" # File from which encoder derives rate values
LeakyBucketParamFile = "leakybucketparam.cfg" # File where encoder stores leakybucketparams
NumberFramesInEnhancementLayerSubSequence = 0 # number of frames in the Enhanced Scalability Layer(0: no Enhanced Layer)
NumberOfFrameInSecondIGOP = 0 # Number of frames to be coded in the second IGOP
SparePictureOption = 0 # (0: no spare picture info, 1: spare picture available)
SparePictureDetectionThr = 6 # Threshold for spare reference pictures detection
SparePicturePercentageThr = 92 # Threshold for the spare macroblock percentage
PicOrderCntType = 0 # (0: POC mode 0, 1: POC mode 1, 2: POC mode 2)
########################################################################################
#Rate control
########################################################################################
RateControlEnable = 0 # 0 Disable, 1 Enable
Bitrate = 45020 # Bitrate(bps)
InitialQP = 24 # Initial Quantization Parameter for the first I frame
# InitialQp depends on two values: Bits Per Picture,
# and the GOP length
BasicUnit = 11 # Number of MBs in the basic unit
# should be a fractor of the total number
# of MBs in a frame
ChannelType = 0 # type of channel( 1=time varying channel; 0=Constant channel)
########################################################################################
#FREXT stuff
########################################################################################
YUVFormat = 1 # YUV format (0=4:0:0, 1=4:2:0, 2=4:2:2, 3=4:4:4)
RGBInput = 0 # 1=RGB input, 0=GBR or YUV input
BitDepthLuma = 8 # Bit Depth for Luminance (8...12 bits)
BitDepthChroma = 8 # Bit Depth for Chrominance (8...12 bits)
CbQPOffset = 0 # Chroma QP offset for Cb-part (-51..51)
CrQPOffset = 0 # Chroma QP offset for Cr-part (-51..51)
Transform8x8Mode = 1 # (0 : only 4x4 transform, 1: allow using 8x8 transform additionally, 2: only 8x8 transform)
ResidueTransformFlag = 0 # (0: no residue color transform 1: apply residue color transform)
QmatrixFile = "q_matrix.cfg"
ReportFrameStats = 0 # (0:Disable Frame Statistics 1: Enable)
########################################################################################
#Q-Matrix (FREXT)
########################################################################################
ScalingMatrixPresentFlag = 1 # Enable Q_Matrix (0 Not present, 1 Present in SPS, 2 Present in PPS, 3 Present in both SPS & PPS)
ScalingListPresentFlag0 = 3 # Intra4x4_Luma (0 Not present, 1 Present in SPS, 2 Present in PPS, 3 Present in both SPS & PPS)
ScalingListPresentFlag1 = 3 # Intra4x4_ChromaU (0 Not present, 1 Present in SPS, 2 Present in PPS, 3 Present in both SPS & PPS)
ScalingListPresentFlag2 = 3 # Intra4x4_chromaV (0 Not present, 1 Present in SPS, 2 Present in PPS, 3 Present in both SPS & PPS)
ScalingListPresentFlag3 = 3 # Inter4x4_Luma (0 Not present, 1 Present in SPS, 2 Present in PPS, 3 Present in both SPS & PPS)
ScalingListPresentFlag4 = 3 # Inter4x4_ChromaU (0 Not present, 1 Present in SPS, 2 Present in PPS, 3 Present in both SPS & PPS)
ScalingListPresentFlag5 = 3 # Inter4x4_ChromaV (0 Not present, 1 Present in SPS, 2 Present in PPS, 3 Present in both SPS & PPS)
ScalingListPresentFlag6 = 3 # Intra8x8_Luma (0 Not present, 1 Present in SPS, 2 Present in PPS, 3 Present in both SPS & PPS)
ScalingListPresentFlag7 = 3 # Inter8x8_Luma (0 Not present, 1 Present in SPS, 2 Present in PPS, 3 Present in both SPS & PPS)
########################################################################################
#Lossless Coding (FREXT)
########################################################################################
QPPrimeYZeroTransformBypassFlag = 1 # Enable lossless coding when qpprime_y is zero (0 Disabled, 1 Enabled)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -