⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 encoder.cfg

📁 jsvm开发代码包括抽样,编码,抽取,解码等一系列功能,可以做工具或研究用
💻 CFG
字号:
# Scalable H.264/AVC Extension Configuration File

#============================== GENERAL ==============================
OutputFile              test.264               # Bitstream file
FrameRate               15                     # Maximum frame rate [Hz]
MaxDelay                1200.0                 # Maximum structural delay [ms]
FramesToBeEncoded       20                     # Number of frames (at input frame rate)

CgsSnrRefinement        1                      # (0:SNR layers as CGS, 1:SNR layers as MGS)
EncodeKeyPictures		1					   # key pictures at temp. level 0 [0:FGS only, 1:FGS&MGS, 2:always(useless)]
MGSControl              1                      # (0:ME+MC using current layer, 1:ME using EL ref. pics, 2:ME+MC using EL ref. pics)
MGSKeyPicMotRef         1                      # motion refinement for MGS key pics (0:off, 1:one)

#============================== MCTF ==============================
GOPSize                 4                      # GOP Size (at maximum frame rate)
IntraPeriod             -1                     # Intra Period
NumberReferenceFrames   1                      # Number of reference pictures
BaseLayerMode           1                      # Base layer mode (0:AVC w large DPB,
                                               #   1:AVC compatible, 2:AVC w subseq SEI)

#============================== MOTION SEARCH ==============================
SearchMode              4                      # Search mode (0:BlockSearch, 4:FastSearch)
SearchFuncFullPel       0                      # Search function full pel
                                               #   (0:SAD, 1:SSE, 2:HADAMARD, 3:SAD-YUV) 
SearchFuncSubPel        0                      # Search function sub pel
                                               #   (0:SAD, 1:SSE, 2:HADAMARD) 
SearchRange             16                     # Search range (Full Pel)
BiPredIter              2                      # Max iterations for bi-pred search
IterSearchRange         2                      # Search range for iterations (0: normal)

#============================== LOOP FILTER ==============================
LoopFilterDisable       0                      # Loop filter idc (0: on, 1: off, 2:
                                               #   on except for slice boundaries)
LoopFilterAlphaC0Offset 0                      # AlphaOffset(-6..+6): valid range
LoopFilterBetaOffset    0                      # BetaOffset (-6..+6): valid range

#============================== LAYER DEFINITION ==============================
NumLayers               2                        # Number of layers
#LayerCfg                ..\..\..\data\layer0.cfg # Layer configuration file
#LayerCfg                ..\..\..\data\layer1.cfg # Layer configuration file
#LayerCfg                ..\..\..\data\layer2.cfg # Layer configuration file
#LayerCfg                ..\..\..\data\layer3.cfg # Layer configuration file
#LayerCfg                ..\..\..\data\layer4.cfg # Layer configuration file
LayerCfg                ..\..\..\data\layer5.cfg # Layer configuration file
LayerCfg                ..\..\..\data\layer6.cfg # Layer configuration file
#LayerCfg                ..\..\..\data\layer7.cfg # Layer configuration file

PreAndSuffixUnitEnable        1                      # Add prefix and suffix unit (0: off, 1: on) shall always be on in SVC contexts (i.e. when there are FGS/CGS/spatial enhancement layers)
MMCOBaseEnable          1                      # MMCO for base representation (0: off, 1: on)
TLNestingFlag           0                      # Sets the temporal level nesting flag (0: off, 1: on)
TLPicIdxEnable          0                      # Add picture index for the lowest temporal level (0: off, 1: on)

#============================== RCDO =====================================
RCDOBlockSizes			1						# restrict block sizes for MC (0:off, 1:in EL, 2:in all layers)
RCDOMotionCompensationY	1						# simplified MC for luma      (0:off, 1:in EL, 2:in all layers)
RCDOMotionCompensationC	1						# simplified MC for chroma    (0:off, 1:in EL, 2:in all layers)
RCDODeblocking			1						# simplified deblocking       (0:off, 1:in EL, 2:in all layers)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -