• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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                      320            # input video width
7SourceHeight                     192            # input video height
8InputFile       ../res/CiscoVT2people_320x192_12fps.yuv # Input  file
9OutputFile                       test.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 ( multipler 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
45EnableFrameSkip                  1              # Enable Frame Skip
46MaxQp                            51             # maximum quant
47MinQp                            0              # minimum quant
48#============================== DENOISE CONTROL ==============================
49EnableDenoise                    0              # Enable Denoise (1: enable, 0: disable)
50
51#============================== SCENE CHANGE DETECTION CONTROL =======================
52EnableSceneChangeDetection       1              # Enable Scene Change Detection (1: enable, 0: disable)
53
54#============================== BACKGROUND DETECTION CONTROL ==============================
55EnableBackgroundDetection        1              # BGD control(1: enable, 0: disable)
56
57#============================== ADAPTIVE QUANTIZATION CONTROL =======================
58EnableAdaptiveQuantization       1              # Enable Adaptive Quantization (1: enable, 0: disable)
59
60#============================== LONG TERM REFERENCE CONTROL ==============================
61EnableLongTermReference          0              # Enable Long Term Reference (1: enable, 0: disable)
62LtrMarkPeriod                    30             # Long Term Reference Marking Period
63
64#============================== LAYER DEFINITION ==============================
65PrefixNALAddingCtrl              0              # Control flag of adding prefix unit (0: off, 1: on)
66                                                # It shall always be on in SVC contexts (i.e. when there are CGS/MGS/spatial enhancement layers)
67                                                # Can be disabled when no inter spatial layer prediction in case of its value as 0
68//NumLayers                        1              # Number of layers
69//LayerCfg                         layer0.cfg     # Layer 0 configuration file
70//LayerCfg                         layer1.cfg     # Layer 1 configuration file
71//LayerCfg                         layer2.cfg     # Layer 2 configuration file
72