1 | #======== File I/O ===================== |
---|
2 | BitstreamFile : str.bin |
---|
3 | ReconFile : rec.yuv |
---|
4 | InputFile : src.yuv |
---|
5 | InputBitDepth : 12 # Input bitdepth |
---|
6 | InputChromaFormat : 420 # Ratio of luminance to chrominance samples |
---|
7 | FrameRate : 24 # Frame Rate per second |
---|
8 | FrameSkip : 0 # Number of frames to be skipped in input |
---|
9 | SourceWidth : 1920 # Input frame width |
---|
10 | SourceHeight : 1080 # Input frame height |
---|
11 | FramesToBeEncoded : 3 # Number of frames to be coded |
---|
12 | |
---|
13 | #======== Profile ================ |
---|
14 | Profile : main10 |
---|
15 | Level : 4.1 |
---|
16 | |
---|
17 | #======== Unit definition ================ |
---|
18 | MaxCUWidth : 64 # Maximum coding unit width in pixel |
---|
19 | MaxCUHeight : 64 # Maximum coding unit height in pixel |
---|
20 | MaxPartitionDepth : 4 # Maximum coding unit depth |
---|
21 | QuadtreeTULog2MaxSize : 5 # Log2 of maximum transform size for |
---|
22 | # quadtree-based TU coding (2...6) |
---|
23 | QuadtreeTULog2MinSize : 2 # Log2 of minimum transform size for |
---|
24 | # quadtree-based TU coding (2...6) |
---|
25 | QuadtreeTUMaxDepthInter : 3 |
---|
26 | QuadtreeTUMaxDepthIntra : 3 |
---|
27 | |
---|
28 | #======== Coding Structure ============= |
---|
29 | IntraPeriod : 32 # Period of I-Frame ( -1 = only first) |
---|
30 | DecodingRefreshType : 1 # Random Accesss 0:none, 1:CRA, 2:IDR, 3:Recovery Point SEI |
---|
31 | GOPSize : 16 # GOP Size (number of B slice = GOPSize-1) |
---|
32 | ReWriteParamSetsFlag : 1 # Write parameter sets with every IRAP |
---|
33 | |
---|
34 | IntraQPOffset : -3 |
---|
35 | LambdaFromQpEnable : 1 # see JCTVC-X0038 for suitable parameters for IntraQPOffset, QPoffset, QPOffsetModelOff, QPOffsetModelScale when enabled |
---|
36 | # 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 |
---|
37 | Frame1: B 16 1 0.0 0.0 0 0 1.0 0 0 0 2 3 -16 -24 -32 0 |
---|
38 | Frame2: B 8 1 -4.8848 0.2061 0 0 1.0 0 0 1 2 3 -8 -16 8 1 8 4 1 1 0 1 |
---|
39 | Frame3: B 4 4 -5.7476 0.2286 0 0 1.0 0 0 2 2 4 -4 -12 4 12 1 4 4 1 1 1 1 |
---|
40 | Frame4: B 2 5 -5.90 0.2333 0 0 1.0 0 0 3 2 5 -2 -10 2 6 14 1 2 5 1 1 1 1 1 |
---|
41 | 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 |
---|
42 | 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 |
---|
43 | 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 |
---|
44 | 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 |
---|
45 | Frame9: B 7 6 -7.1444 0.3 0 0 1.0 0 0 4 2 5 -1 -3 -7 1 9 1 -2 6 1 1 1 1 1 0 |
---|
46 | Frame10: B 12 4 -5.7476 0.2286 0 0 1.0 0 0 2 2 3 -4 -12 4 1 -5 6 0 0 1 1 1 0 |
---|
47 | 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 |
---|
48 | 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 |
---|
49 | Frame13: B 11 6 -7.1444 0.3 0 0 1.0 0 0 4 2 5 -1 -3 -11 1 5 1 -2 6 1 1 1 1 1 0 |
---|
50 | Frame14: B 14 5 -5.90 0.2333 0 0 1.0 0 0 3 2 4 -2 -6 -14 2 1 -3 6 0 1 1 1 1 0 |
---|
51 | Frame15: B 13 6 -7.1444 0.3 0 0 1.0 0 0 4 2 5 -1 -5 -13 1 3 1 1 5 1 1 1 1 1 |
---|
52 | Frame16: B 15 6 -7.1444 0.3 0 0 1.0 0 0 4 2 5 -1 -3 -7 -15 1 1 -2 6 1 1 1 1 1 0 |
---|
53 | |
---|
54 | |
---|
55 | #=========== Motion Search ============= |
---|
56 | FastSearch : 1 # 0:Full search 1:TZ search |
---|
57 | SearchRange : 256 # (0: Search range is a Full frame) |
---|
58 | BipredSearchRange : 4 # Search range for bi-prediction refinement |
---|
59 | HadamardME : 1 # Use of hadamard measure for fractional ME |
---|
60 | FEN : 1 # Fast encoder decision |
---|
61 | FDM : 1 # Fast Decision for Merge RD cost |
---|
62 | ASR : 1 # Adaptive Search Range |
---|
63 | MinSearchWindow : 64 |
---|
64 | |
---|
65 | #======== Quantization ============= |
---|
66 | QP : 32 # Quantization parameter(0-51) |
---|
67 | MaxDeltaQP : 0 # CU-based multi-QP optimization |
---|
68 | MaxCuDQPDepth : 0 # Max depth of a minimum CuDQP for sub-LCU-level delta QP |
---|
69 | DeltaQpRD : 0 # Slice-based multi-QP optimization |
---|
70 | LumaLevelToDeltaQPMode : 1 # Change luma delta QP based on average luma |
---|
71 | RDOQ : 1 # RDOQ |
---|
72 | RDOQTS : 1 # RDOQ for transform skip |
---|
73 | SliceChromaQPOffsetPeriodicity: 0 # Used in conjunction with Slice Cb/Cr QpOffsetIntraOrPeriodic. Use 0 (default) to disable periodic nature. |
---|
74 | 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. |
---|
75 | 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. |
---|
76 | CbQpOffset : 8 |
---|
77 | CrQpOffset : 7 |
---|
78 | WCGPPSEnable : 1 |
---|
79 | WCGPPSChromaQpScale : -0.46 # Linear chroma QP offset mapping (scale) |
---|
80 | WCGPPSChromaQpOffset : 10.00 # Linear chroma QP offset mapping (offset) |
---|
81 | WCGPPSCbQpScale : 0.50 # Scale factor depending on capture and representation color space (with BT.2020 container use 1.14 for BT.709 material and 1.04 for P3 material) |
---|
82 | WCGPPSCrQpScale : 0.90 # Scale factor depending on capture and representation color space (with BT.2020 container use 1.79 for BT.709 material and 1.39 for P3 material) |
---|
83 | |
---|
84 | #=========== Deblock Filter ============ |
---|
85 | LoopFilterOffsetInPPS : 1 # Dbl params: 0=varying params in SliceHeader, param = base_param + GOP_offset_param; 1 (default) =constant params in PPS, param = base_param) |
---|
86 | LoopFilterDisable : 0 # Disable deblocking filter (0=Filter, 1=No Filter) |
---|
87 | LoopFilterBetaOffset_div2 : 0 # base_param: -6 ~ 6 |
---|
88 | LoopFilterTcOffset_div2 : 0 # base_param: -6 ~ 6 |
---|
89 | DeblockingFilterMetric : 0 # blockiness metric (automatically configures deblocking parameters in bitstream). Applies slice-level loop filter offsets (LoopFilterOffsetInPPS and LoopFilterDisable must be 0) |
---|
90 | |
---|
91 | #=========== Misc. ============ |
---|
92 | InternalBitDepth : 10 # codec operating bit-depth |
---|
93 | |
---|
94 | #=========== Coding Tools ================= |
---|
95 | SAO : 1 # Sample adaptive offset (0: OFF, 1: ON) |
---|
96 | AMP : 1 # Asymmetric motion partitions (0: OFF, 1: ON) |
---|
97 | TransformSkip : 1 # Transform skipping (0: OFF, 1: ON) |
---|
98 | TransformSkipFast : 1 # Fast Transform skipping (0: OFF, 1: ON) |
---|
99 | SAOLcuBoundary : 0 # SAOLcuBoundary using non-deblocked pixels (0: OFF, 1: ON) |
---|
100 | |
---|
101 | #============ Slices ================ |
---|
102 | SliceMode : 0 # 0: Disable all slice options. |
---|
103 | # 1: Enforce maximum number of LCU in an slice, |
---|
104 | # 2: Enforce maximum number of bytes in an 'slice' |
---|
105 | # 3: Enforce maximum number of tiles in a slice |
---|
106 | SliceArgument : 1500 # Argument for 'SliceMode'. |
---|
107 | # If SliceMode==1 it represents max. SliceGranularity-sized blocks per slice. |
---|
108 | # If SliceMode==2 it represents max. bytes per slice. |
---|
109 | # If SliceMode==3 it represents max. tiles per slice. |
---|
110 | |
---|
111 | LFCrossSliceBoundaryFlag : 1 # In-loop filtering, including ALF and DB, is across or not across slice boundary. |
---|
112 | # 0:not across, 1: across |
---|
113 | |
---|
114 | #============ PCM ================ |
---|
115 | PCMEnabledFlag : 0 # 0: No PCM mode |
---|
116 | PCMLog2MaxSize : 5 # Log2 of maximum PCM block size. |
---|
117 | PCMLog2MinSize : 3 # Log2 of minimum PCM block size. |
---|
118 | PCMInputBitDepthFlag : 1 # 0: PCM bit-depth is internal bit-depth. 1: PCM bit-depth is input bit-depth. |
---|
119 | PCMFilterDisableFlag : 0 # 0: Enable loop filtering on I_PCM samples. 1: Disable loop filtering on I_PCM samples. |
---|
120 | |
---|
121 | #============ Tiles ================ |
---|
122 | TileUniformSpacing : 0 # 0: the column boundaries are indicated by TileColumnWidth array, the row boundaries are indicated by TileRowHeight array |
---|
123 | # 1: the column and row boundaries are distributed uniformly |
---|
124 | NumTileColumnsMinus1 : 0 # Number of tile columns in a picture minus 1 |
---|
125 | TileColumnWidthArray : 2 3 # Array containing tile column width values in units of CTU (from left to right in picture) |
---|
126 | NumTileRowsMinus1 : 0 # Number of tile rows in a picture minus 1 |
---|
127 | TileRowHeightArray : 2 # Array containing tile row height values in units of CTU (from top to bottom in picture) |
---|
128 | |
---|
129 | LFCrossTileBoundaryFlag : 1 # In-loop filtering is across or not across tile boundary. |
---|
130 | # 0:not across, 1: across |
---|
131 | |
---|
132 | #============ WaveFront ================ |
---|
133 | WaveFrontSynchro : 0 # 0: No WaveFront synchronisation (WaveFrontSubstreams must be 1 in this case). |
---|
134 | # >0: WaveFront synchronises with the LCU above and to the right by this many LCUs. |
---|
135 | |
---|
136 | #=========== Quantization Matrix ================= |
---|
137 | ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read |
---|
138 | ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix. |
---|
139 | |
---|
140 | #============ Lossless ================ |
---|
141 | TransquantBypassEnableFlag : 0 # Value of PPS flag. |
---|
142 | CUTransquantBypassFlagForce: 0 # Force transquant bypass mode, when transquant_bypass_enable_flag is enabled |
---|
143 | |
---|
144 | #============ Rate Control ====================== |
---|
145 | RateControl : 0 # Rate control: enable rate control |
---|
146 | TargetBitrate : 1000000 # Rate control: target bitrate, in bps |
---|
147 | KeepHierarchicalBit : 2 # Rate control: 0: equal bit allocation; 1: fixed ratio bit allocation; 2: adaptive ratio bit allocation |
---|
148 | LCULevelRateControl : 1 # Rate control: 1: LCU level RC; 0: picture level RC |
---|
149 | RCLCUSeparateModel : 1 # Rate control: use LCU level separate R-lambda model |
---|
150 | InitialQP : 0 # Rate control: initial QP |
---|
151 | RCForceIntraQP : 0 # Rate control: force intra QP to be equal to initial QP |
---|
152 | |
---|
153 | #============ VUI ================ |
---|
154 | VuiParametersPresent : 1 |
---|
155 | VideoSignalTypePresent : 1 |
---|
156 | VideoFullRange : 0 |
---|
157 | ColourDescriptionPresent : 1 |
---|
158 | ColourPrimaries : 9 |
---|
159 | TransferCharacteristics : 16 |
---|
160 | MatrixCoefficients : 14 |
---|
161 | SEIMasteringDisplayColourVolume : 1 |
---|
162 | SEIMasteringDisplayMaxLuminance : 40000000 |
---|
163 | SEIMasteringDisplayMinLuminance : 47 |
---|
164 | SEIMasteringDisplayPrimaries : 13250,34500,7500,3000,34000,16000 |
---|
165 | SEIMasteringDisplayWhitePoint : 15635,16450 |
---|
166 | ChromaLocInfoPresent : 1 |
---|
167 | ChromaSampleLocTypeTopField : 2 |
---|
168 | ChromaSampleLocTypeBottomField : 2 |
---|
169 | |
---|
170 | SEIDecodedPictureHash : 0 |
---|
171 | |
---|
172 | ### DO NOT ADD ANYTHING BELOW THIS LINE ### |
---|
173 | ### DO NOT DELETE THE EMPTY LINE BELOW ### |
---|
174 | |
---|