encoder_randomaccess_main_rext.cfg 14.6 KB
Newer Older
1
2
3
4
5
#======== File I/O =====================
BitstreamFile                 : str.bin
ReconFile                     : rec.yuv

#======== Profile definition ==============
6
Profile                       : main-RExt   # Profile name to use for encoding. Use main (for FDIS main), main10 (for FDIS main10), main-still-picture, main-RExt, high-throughput-RExt, main-SCC
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Tier                          : main        # Tier to use for interpretation of --Level (main or high only)"

#======== Unit definition ================
MaxCUWidth                    : 64          # Maximum coding unit width in pixel
MaxCUHeight                   : 64          # Maximum coding unit height in pixel
MaxPartitionDepth             : 4           # Maximum coding unit depth
QuadtreeTULog2MaxSize         : 5           # Log2 of maximum transform size for
                                            # quadtree-based TU coding (2...6)
QuadtreeTULog2MinSize         : 2           # Log2 of minimum transform size for
                                            # quadtree-based TU coding (2...6)
QuadtreeTUMaxDepthInter       : 3
QuadtreeTUMaxDepthIntra       : 3

#======== Coding Structure =============
IntraPeriod                   : 32          # Period of I-Frame ( -1 = only first)
22
DecodingRefreshType           : 1           # Random Accesss 0:none, 1:CRA, 2:IDR, 3:Recovery Point SEI
23
GOPSize                       : 16           # GOP Size (number of B slice = GOPSize-1)
24
ReWriteParamSetsFlag          : 1           # Write parameter sets with every IRAP
25
26
27

IntraQPOffset                 : -3
LambdaFromQpEnable            : 1           # see JCTVC-X0038 for suitable parameters for IntraQPOffset, QPoffset, QPOffsetModelOff, QPOffsetModelScale when enabled
28
#        Type POC QPoffset QPOffsetModelOff QPOffsetModelScale CbQPoffset CrQPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures     predict deltaRPS #ref_idcs reference idcs
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Frame1:  B   16   1        0.0                      0.0            0          0          1.0      0            0              0           2                2        -16 -32                    0
Frame2:  B    8   1       -4.8848                   0.2061         0          0          1.0      0            0              1           2                3         -8 -24   8                1      8    3    1 1 1
Frame3:  B    4   4       -5.7476                   0.2286         0          0          1.0      0            0              2           2                4         -4 -20   4  12            1      4    4    1 1 1 1
Frame4:  B    2   5       -5.90                     0.2333         0          0          1.0      0            0              3           2                5         -2 -18   2   6  14        1      2    5    1 1 1 1 1
Frame5:  B    1   6       -7.1444                   0.3            0          0          1.0      0            0              4           2                5         -1   1   3   7  15        1      1    6    1 0 1 1 1 1
Frame6:  B    3   6       -7.1444                   0.3            0          0          1.0      0            0              4           2                5         -1  -3   1   5  13        1     -2    6    1 1 1 1 1 0
Frame7:  B    6   5       -5.90                     0.2333         0          0          1.0      0            0              3           2                4         -2  -6   2  10            1     -3    6    0 1 1 1 1 0
Frame8:  B    5   6       -7.1444                   0.3            0          0          1.0      0            0              4           2                5         -1  -5   1   3  11        1      1    5    1 1 1 1 1
Frame9:  B    7   6       -7.1444                   0.3            0          0          1.0      0            0              4           2                4         -1  -7   1   9            1     -2    6    0 1 1 1 1 0
Frame10: B   12   4       -5.7476                   0.2286         0          0          1.0      0            0              2           2                3         -4 -12   4                1     -5    5    0 1 1 1 0
Frame11: B   10   5       -5.90                     0.2333         0          0          1.0      0            0              3           2                4         -2 -10   2   6            1      2    4    1 1 1 1
Frame12: B    9   6       -7.1444                   0.3            0          0          1.0      0            0              4           2                5         -1  -9   1   3   7        1      1    5    1 1 1 1 1
Frame13: B   11   6       -7.1444                   0.3            0          0          1.0      0            0              4           2                4         -1 -11   1   5            1     -2    6    0 1 1 1 1 0
Frame14: B   14   5       -5.90                     0.2333         0          0          1.0      0            0              3           2                3         -2 -14   2                1     -3    5    0 1 1 1 0
Frame15: B   13   6       -7.1444                   0.3            0          0          1.0      0            0              4           2                4         -1 -13   1   3            1      1    4    1 1 1 1
Frame16: B   15   6       -7.1444                   0.3            0          0          1.0      0            0              4           2                4         -1  -3 -15   1            1     -2    5    1 1 1 1 0
45
46
47

#=========== Motion Search =============
FastSearch                    : 1           # 0:Full search  1:TZ search
48
SearchRange                   : 384         # (0: Search range is a Full frame)
49
ASR                           : 1           # Adaptive motion search range
50
MinSearchWindow               : 96          # Minimum motion search window size for the adaptive window ME
51
52
53
54
55
56
57
58
59
60
61
62
BipredSearchRange             : 4           # Search range for bi-prediction refinement
HadamardME                    : 1           # Use of hadamard measure for fractional ME
FEN                           : 1           # Fast encoder decision
FDM                           : 1           # Fast Decision for Merge RD cost

#======== Quantization =============
QP                            : 32          # Quantization parameter(0-51)
MaxDeltaQP                    : 0           # CU-based multi-QP optimization
MaxCuDQPDepth                 : 0           # Max depth of a minimum CuDQP for sub-LCU-level delta QP
DeltaQpRD                     : 0           # Slice-based multi-QP optimization
RDOQ                          : 1           # RDOQ
RDOQTS                        : 1           # RDOQ for transform skip
63
64
65
SliceChromaQPOffsetPeriodicity: 0           # Used in conjunction with Slice Cb/Cr QpOffsetIntraOrPeriodic. Use 0 (default) to disable periodic nature.
SliceCbQpOffsetIntraOrPeriodic: 0           # Chroma Cb QP Offset at slice level for I slice or for periodic inter slices as defined by SliceChromaQPOffsetPeriodicity. Replaces offset in the GOP table.
SliceCrQpOffsetIntraOrPeriodic: 0           # Chroma Cr QP Offset at slice level for I slice or for periodic inter slices as defined by SliceChromaQPOffsetPeriodicity. Replaces offset in the GOP table.
66
67

#=========== Deblock Filter ============
68
LoopFilterOffsetInPPS         : 1           # Dbl params: 0=varying params in SliceHeader, param = base_param + GOP_offset_param; 1 (default) =constant params in PPS, param = base_param)
69
70
71
LoopFilterDisable             : 0           # Disable deblocking filter (0=Filter, 1=No Filter)
LoopFilterBetaOffset_div2     : 0           # base_param: -6 ~ 6
LoopFilterTcOffset_div2       : 0           # base_param: -6 ~ 6
72
DeblockingFilterMetric        : 0           # blockiness metric (automatically configures deblocking parameters in bitstream). Applies slice-level loop filter offsets (LoopFilterOffsetInPPS and LoopFilterDisable must be 0)
73
74
75
76
77
78
79
80
81
82
83

#=========== Misc. ============
InternalBitDepth              : 10          # codec operating bit-depth

#=========== Coding Tools =================
SAO                           : 1           # Sample adaptive offset  (0: OFF, 1: ON)
AMP                           : 1           # Asymmetric motion partitions (0: OFF, 1: ON)
TransformSkip                 : 1           # Transform skipping (0: OFF, 1: ON)
TransformSkipFast             : 1           # Fast Transform skipping (0: OFF, 1: ON)
SAOLcuBoundary                : 0           # SAOLcuBoundary using non-deblocked pixels (0: OFF, 1: ON)

84
#=========== TemporalFilter =================
85
TemporalFilter                : 1           # Enable/disable GOP Based Temporal Filter
86
87
88
89
TemporalFilterFutureReference : 1           # Enable/disable reading future frames
TemporalFilterStrengthFrame8  : 0.95        # Enable filter at every 8th frame with given strength
TemporalFilterStrengthFrame16 : 1.5         # Enable filter at every 16th frame with given strength, longer intervals has higher priority

90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#============ Slices ================
SliceMode                : 0                # 0: Disable all slice options.
                                            # 1: Enforce maximum number of LCU in an slice,
                                            # 2: Enforce maximum number of bytes in an 'slice'
                                            # 3: Enforce maximum number of tiles in a slice
SliceArgument            : 1500             # Argument for 'SliceMode'.
                                            # If SliceMode==1 it represents max. SliceGranularity-sized blocks per slice.
                                            # If SliceMode==2 it represents max. bytes per slice.
                                            # If SliceMode==3 it represents max. tiles per slice.

LFCrossSliceBoundaryFlag : 1                # In-loop filtering, including ALF and DB, is across or not across slice boundary.
                                            # 0:not across, 1: across

#============ PCM ================
PCMEnabledFlag                      : 0                # 0: No PCM mode
PCMLog2MaxSize                      : 5                # Log2 of maximum PCM block size.
PCMLog2MinSize                      : 3                # Log2 of minimum PCM block size.
PCMInputBitDepthFlag                : 1                # 0: PCM bit-depth is internal bit-depth. 1: PCM bit-depth is input bit-depth.
PCMFilterDisableFlag                : 0                # 0: Enable loop filtering on I_PCM samples. 1: Disable loop filtering on I_PCM samples.

#============ Tiles ================
111
TileUniformSpacing                  : 0                # 0: the column boundaries are indicated by TileColumnWidth array, the row boundaries are indicated by TileRowHeight array
112
                                                       # 1: the column and row boundaries are distributed uniformly
113
114
115
116
NumTileColumnsMinus1                : 0                # Number of tile columns in a picture minus 1
TileColumnWidthArray                : 2 3              # Array containing tile column width values in units of CTU (from left to right in picture)   
NumTileRowsMinus1                   : 0                # Number of tile rows in a picture minus 1
TileRowHeightArray                  : 2                # Array containing tile row height values in units of CTU (from top to bottom in picture)
117

118
LFCrossTileBoundaryFlag             : 1                # In-loop filtering is across or not across tile boundary.
119
120
121
122
123
124
125
126
127
128
129
                                                       # 0:not across, 1: across                                                       

#============ WaveFront ================
WaveFrontSynchro                    : 0                # 0:  No WaveFront synchronisation (WaveFrontSubstreams must be 1 in this case).
                                                       # >0: WaveFront synchronises with the LCU above and to the right by this many LCUs.

#=========== Quantization Matrix =================
ScalingList                   : 0                      # ScalingList 0 : off, 1 : default, 2 : file read
ScalingListFile               : scaling_list.txt       # Scaling List file name. If file is not exist, use Default Matrix.

#============ Lossless ================
130
TransquantBypassEnable     : 0                         # Value of PPS flag.
Sony-uk company account's avatar
Sony-uk company account committed
131
CUTransquantBypassFlagForce: 0                         # Force transquant bypass mode, when transquant_bypass_enable_flag is enabled
132
133
134
135

#============ Rate Control ======================
RateControl                         : 0                # Rate control: enable rate control
TargetBitrate                       : 1000000          # Rate control: target bitrate, in bps
136
KeepHierarchicalBit                 : 2                # Rate control: 0: equal bit allocation; 1: fixed ratio bit allocation; 2: adaptive ratio bit allocation
137
138
139
140
141
LCULevelRateControl                 : 1                # Rate control: 1: LCU level RC; 0: picture level RC
RCLCUSeparateModel                  : 1                # Rate control: use LCU level separate R-lambda model
InitialQP                           : 0                # Rate control: initial QP
RCForceIntraQP                      : 0                # Rate control: force intra QP to be equal to initial QP

142
143
144
#=========== RExt ============
ExtendedPrecision                   : 0                # Increased internal accuracies to support high bit depths (not valid in V1 profiles)
TransformSkipLog2MaxSize            : 2                # Specify transform-skip maximum size. Minimum 2. (not valid in V1 profiles)
145
ImplicitResidualDPCM                : 1                # Enable implicitly signalled residual DPCM for intra (also known as sample-adaptive intra predict) (not valid in V1 profiles)
146
ExplicitResidualDPCM                : 1                # Enable explicitly signalled residual DPCM for inter (not valid in V1 profiles)
147
ResidualRotation                    : 1                # Enable rotation of transform-skipped and transquant-bypassed TUs through 180 degrees prior to entropy coding (not valid in V1 profiles)
148
SingleSignificanceMapContext        : 1                # Enable, for transform-skipped and transquant-bypassed TUs, the selection of a single significance map context variable for all coefficients (not valid in V1 profiles)
149
IntraReferenceSmoothing             : 1                # 0: Disable use of intra reference smoothing (not valid in V1 profiles). 1: Enable use of intra reference smoothing (same as V1) 
150
GolombRiceParameterAdaptation       : 1                # Enable the partial retention of the Golomb-Rice parameter value from one coefficient group to the next
151
HighPrecisionPredictionWeighting    : 1                # Use high precision option for weighted prediction (not valid in V1 profiles)
152
CrossComponentPrediction            : 1                # Enable the use of cross-component prediction (not valid in V1 profiles)
153

154
155
### DO NOT ADD ANYTHING BELOW THIS LINE ###
### DO NOT DELETE THE EMPTY LINE BELOW ###