1# Layer Configuration File 2 3 4#============================== OUTPUT ============================== 5FrameWidth 320 # Output frame width 6FrameHeight 192 # Output frame height 7FrameRateOut 12 # Output frame rate [Hz] 8ReconFile rec_layer2.yuv # Reconstructed file 9 10#============================== CODING ============================== 11ProfileIdc 66 # value of profile_idc (or 0 for auto detection) 12 13InitialQP 24 # Quantization parameters for base quality layer 14#================================ RATE CONTROL =============================== 15SpatialBitrate 600 # Unit: kbps, controled by DisableRC also 16MaxSpatialBitrate 800 # Unit: kbps, max bitrate for current layer 17#============================== MultiSlice Slice Argument ============================== 18# for S/M Slice(s) mode settings 19SliceMode 0 # 0: sigle slice mode; >0: multiple slices mode, see below; 20SliceSize 1500 21SliceNum 1 # multiple slices number specified 22 23SlicesAssign0 960 # count number of MBs in slice #0 24SlicesAssign1 0 # count number of MBs in slice #1 25SlicesAssign2 0 # count number of MBs in slice #2 26SlicesAssign3 0 # count number of MBs in slice #3 -- seting here is for better testing 27SlicesAssign4 0 # count number of MBs in slice #4 28SlicesAssign5 0 # count number of MBs in slice #5 29SlicesAssign6 0 # count number of MBs in slice #6 30SlicesAssign7 0 # count number of MBs in slice #7 31 32### DESIGN OF SLICE MODE #### 33# 0 SM_SINGLE_SLICE | SliceNum==1 34# 1 SM_FIXEDSLCNUM_SLICE | according to SliceNum | enabled dynamic slicing for multi-thread 35# 2 SM_RASTER_SLICE | according to SlicesAssign | need input of MB numbers each slice. In addition, if other constraint in SSliceArgument is presented, need to follow the constraints. Typically if MB num and slice size are both constrained, re-encoding may be involved. 36# 3 SM_SIZELIMITED_SLICE | according to SliceSize | slicing according to size, the slicing will be dynamic(have no idea about slice_nums until encoding current frame) 37# 4 SM_RESERVED | reserved 38 39