1# Cisco Scalable H.264/AVC Extension Encoder Configuration File 2 3#============================== GENERAL ============================== 4UsageType 0 # 0: camera video 1:screen content 5SimulcastAVC 0 # 0: use SVC syntax for higher layers; 1: use Simulcast AVC 6SourceWidth 152 # Input frame width 7SourceHeight 100 # Input frame height 8InputFile ../res/Static_152_100.yuv # Input file 9OutputFile Static.264 # Bitstream file 10MaxFrameRate 30 # Maximum frame rate [Hz] 11FramesToBeEncoded -1 # Number of frames (at input frame rate) 12 13TemporalLayerNum 3 # temporal layer number(1--4 14IntraPeriod 0 # Intra Period ( multiple of GoP size or -1) 15SpsPpsIDStrategy 1 # sps/pps id strategy(0-4): 16 # 0: const id, 1: increasing id, 2: sps list, 17 # 3: sps list & pps increase, 4: sps/pps list 18 19EnableFrameCropping 1 # enable frame cropping flag 20EntropyCodingModeFlag 0 # 0:cavlc 1:cabac 21MaxNalSize 0 # Unit:Byte, Maximum Nal size 22ComplexityMode 0 # 0:low complexity mode 1:medium complexity mode 23 # 2:high complexity mode 24#============================== LOOP FILTER ============================== 25LoopFilterDisableIDC 0 # Loop filter idc (0: on, 1: off, 26 # 2: on except for slice boundaries, 27 # 3: two stage. slice boundries on in second stage 28 # 4: Luma on but Chroma off (w.r.t. idc=0) 29 # 5: Luma on except on slice boundaries, but Chroma off in enh. layer (w.r.t. idc=2) 30 # 6: Luma on in two stage. slice boundries on in second stage, but Chroma off (w.r.t. idc=3) 31LoopFilterAlphaC0Offset 0 # AlphaOffset(-6..+6): valid range 32LoopFilterBetaOffset 0 # BetaOffset (-6..+6): valid range 33 34#============================== SOFTWARE IMPLEMENTATION ============================== 35MultipleThreadIdc 1 # 0: auto(dynamic imp. internal encoder), 36 # 1: multiple threads imp. disabled, 37 # >1: count number of threads 38 39#============================== RATE CONTROL ============================== 40RCMode 0 # -1: rc off mode, 0: quality mode, 1: bitrate mode, 41 # 2: buffer based mode,can't control bitrate 42 # 3: bitrate mode based on timestamp input 43TargetBitrate 5000 # Unit: kbps, controled by EnableRC also 44MaxOverallBitrate 6000 # Unit: kbps, max bitrate overall 45MaxQp 51 # maximum quant 46MinQp 0 # minimum quant 47#============================== DENOISE CONTROL ============================== 48EnableDenoise 0 # Enable Denoise (1: enable, 0: disable) 49 50#============================== SCENE CHANGE DETECTION CONTROL ======================= 51EnableSceneChangeDetection 1 # Enable Scene Change Detection (1: enable, 0: disable) 52 53#============================== BACKGROUND DETECTION CONTROL ============================== 54EnableBackgroundDetection 1 # BGD control(1: enable, 0: disable) 55 56#============================== ADAPTIVE QUANTIZATION CONTROL ======================= 57EnableAdaptiveQuantization 1 # Enable Adaptive Quantization (1: enable, 0: disable) 58 59#============================== LONG TERM REFERENCE CONTROL ============================== 60EnableLongTermReference 0 # Enable Long Term Reference (1: enable, 0: disable) 61LtrMarkPeriod 30 # Long Term Reference Marking Period 62 63#============================== LAYER DEFINITION ============================== 64PrefixNALAddingCtrl 0 # Control flag of adding prefix unit (0: off, 1: on) 65 # It shall always be on in SVC contexts (i.e. when there are CGS/MGS/spatial enhancement layers) 66 # Can be disabled when no inter spatial layer prediction in case of its value as 0 67NumLayers 1 # Number of layers 68//LayerCfg layer0.cfg # Layer 0 configuration file 69//LayerCfg layer1.cfg # Layer 1 configuration file 70LayerCfg layer2_arbitrary_res.cfg # Layer 2 configuration file 71