-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.conf
117 lines (106 loc) · 7.08 KB
/
config.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# JSVM Main Configuration File
#============================== GENERAL ========================================
OutputFile test.264 # Bitstream file
FrameRate 30.0 # Maximum frame rate [Hz]
MaxDelay 1200.0 # Maximum structural delay [ms]
FramesToBeEncoded 100 # Number of frames (at input frame rate)
NonRequiredEnable 0 # NonRequiredSEI enable (0:disable, 1:enable)
CgsSnrRefinement 0 # SNR refinement as 1: MGS; 0: CGS
EncodeKeyPictures 1 # Key pics at T=0 (0:none, 1:MGS, 2:all)
MGSControl 1 # ME/MC for non-key pictures in MGS layers
# (0:std, 1:ME with EL, 2:ME+MC with EL)
#============================== CODING STRUCTURE ===============================
GOPSize 2 # GOP Size (at maximum frame rate)
IntraPeriod 4 # Intra Period
NumberReferenceFrames 1 # Number of reference pictures
BaseLayerMode 1 # Base layer mode (0,1: AVC compatible,
# 2: AVC w subseq SEI)
ConstrainedIntraUps 1 # constrained intra upsampling
#============================== MOTION SEARCH ==================================
SearchMode 4 # Search mode (0:BlockSearch, 4:FastSearch)
SearchFuncFullPel 3 # Search function full pel
# (0:SAD, 1:SSE, 2:HADAMARD, 3:SAD-YUV)
SearchFuncSubPel 2 # Search function sub pel
# (0:SAD, 1:SSE, 2:HADAMARD)
SearchRange 32 # Search range (Full Pel)
ELSearchRange 4 # Enh. layer search range
FastBiSearch 1 # Fast bi-directional search (0:off, 1:on)
BiPredIter 4 # Max iterations for bi-pred search
IterSearchRange 8 # Search range for iterations (0: normal)
#============================== LOOP FILTER ====================================
LoopFilterDisable 0 # Loop filter idc (0: on, 1: off, 2:
# on except for slice boundaries,
# 3: Luma on but Chroma off in enh. layer
# (w.r.t. idc=0)
# 4: Luma on except on slice boundaries.
# but Chroma off in enh. layer
# (w.r.t. idc=2)
LoopFilterAlphaC0Offset 0 # AlphaOffset(-6..+6): valid range
LoopFilterBetaOffset 0 # BetaOffset (-6..+6): valid range
InterLayerLoopFilterDisable 0 # filter idc for inter-layer deblocking
InterLayerLoopFilterAlphaC0Offset 0 # AlphaOffset for inter-layer deblocking
InterLayerLoopFilterBetaOffset 0 # BetaOffset for inter-layer deblocking
#============================== LAYER DEFINITION ===============================
NumLayers 2 # Number of layers
LayerCfg layer0.cfg # Layer configuration file
LayerCfg layer1.cfg # Layer configuration file
#============================== WEIGHTED PREDICTION ============================
WeightedPrediction 0 # Weighting IP Slice (0:disable, 1:enable)
WeightedBiprediction 0 # Weighting B Slice (0:disable, 1:explicit,
# 2:implicit)
#============================== LOSS-AWARE RDO =================================
LARDO 0 # Loss-aware RDO (0:disable, 1:enable)
#============================== OTHER PARAMETERS ============================
MultiLayerLambdaSel 0 # 0: diable, 1:enable, 2:enable with factor 0.8
PreAndSuffixUnitEnable 1 # Add prefix unit (0: off, 1: on)
# shall always be on
# in SVC contexts (i.e. when there are
# MGS/CGS/spatial enhancement layers)
NestingSEI 1 # Nesting SEI message(1:enable, 0:disable )
SceneInfo 1 # scene info SEI message(1:enable, 0:disable )
TLNestingFlag 0 # Sets the temporal level nesting flag
# (0: off, default 1: on)
IntegrityCheckSEI 0 # Integrity check SEI message in bitstream
# (0: off, default 1: on)
TL0DepRepIdxSeiEnable 0 # TL0 SEI message (1:enable, 0:disable )
RPEncCheck 1 # Enable the checking mechanism
# (default 0: off, 1: on)
MVDiffThreshold 20 # Motion vection difference threshold (default 20)
#=============================== HRD =====================================
EnableVclHRD 0 # Type I HRD (default 0:Off, 1:on)
EnableNalHRD 0 # Type II HRD (default 0:Off, 1:on)
#=========================== RATE CONTROL =======================
RateControlEnable 0 # Enable base-layer rate control (0=off, 1=on)
InitialQP 30 # Initial QP
RCMinQP 12 # Minimum QP value during rate control
RCMaxQP 40 # Maximum QP value during rate control
MaxQPChange 2 # Maximum QP change among subsequent
# highest-priority frames
AdaptInitialQP 0 # Adapt the initial QP based on sequence dimensions
# and rate
# (0=off, 1=on)
BitRate 64000 # Target bit rate in bits per second
BasicUnit 99 # Number of MBs that constitute a rate control
# basic unit
#=========================== FRAME-COMPATIBLE ======================
MuxMethod 0 # Enable 3D mux method (0: none, 1: SbS, 2: TaB)
MuxFilter 15 # 3D Muxing/DOwnsampling Filter
# 0: decimate,
# 1: average
# 2: [-1 2 6 2 -1]/8
# 3: [-1 2 -1]
# 4: [-1 4 26 4 -1]/32
# 5: [ 1 -2 5 56 5 -2 1]/64
# 6: HF1
# 7: HF0
# 8: SVC
# 9: CDF9
# 10: CDF7
# 11: “1024”
# 12: low-pass (fractional-pixel offset)
# 13: JVT-R006 (fractional-pixel offset)
# 14: JVT-R070 (fractional-pixel offset)
# 15: SVC (fractional-pixel offset)
# 16: HF0 (fractional-pixel offset)
MuxOffset0 1 # offset for input to layer 0 (view 0)
MuxOffset1 1 # is not zero; offset for Layer1;