• 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  frame width
7SourceHeight                     192            # Input  frame height
8InputFile       ../res/CiscoVT2people_320x192_12fps.yuv
9OutputFile                test_vd_rc.264        # Bitstream file
10MaxFrameRate                     30             # Maximum frame rate [Hz]
11FramesToBeEncoded                -1             # Number of frames (at input frame rate), -1
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  2:high complexity mode
23#============================== LOOP FILTER ==============================
24LoopFilterDisableIDC             0              # Loop filter idc (0: on, 1: off,
25                                                # 2: on except for slice boundaries,
26                                                # 3: two stage. slice boundries on in second stage
27                                                # 4: Luma on but Chroma off (w.r.t. idc=0)
28                                                # 5: Luma on except on slice boundaries, but Chroma off in enh. layer (w.r.t. idc=2)
29                                                # 6: Luma on in two stage. slice boundries on in second stage, but Chroma off (w.r.t. idc=3)
30LoopFilterAlphaC0Offset          0              # AlphaOffset(-6..+6): valid range
31LoopFilterBetaOffset             0              # BetaOffset (-6..+6): valid range
32
33#============================== SOFTWARE IMPLEMENTATION ==============================
34MultipleThreadIdc                1              # 0: auto(dynamic imp. internal encoder),
35                                                # 1: multiple threads imp. disabled,
36                                                # >1: count number of threads
37
38#============================== RATE CONTROL ==============================
39RCMode                           0              # -1: rc off mode, 0: quality mode, 1: bitrate mode,
40                                                # 2: buffer based mode,can't control bitrate,
41                                                # 3: bitrate mode based on timestamp input
42TargetBitrate                    600            # Unit: kbps, controled by EnableRC also
43MaxOverallBitrate                800            # Unit: kbps, max bitrate overall
44MaxQp                            51             # maximum quant
45MinQp                            0              # minimum quant
46#============================== DENOISE CONTROL ==============================
47EnableDenoise                    1              # Enable Denoise (1: enable, 0: disable)
48
49#============================== SCENE CHANGE DETECTION CONTROL =======================
50EnableSceneChangeDetection       1              # Enable Scene Change Detection (1: enable, 0: disable)
51
52#============================== BACKGROUND DETECTION CONTROL ==============================
53EnableBackgroundDetection        1              # BGD control(1: enable, 0: disable)
54
55#============================== ADAPTIVE QUANTIZATION CONTROL =======================
56EnableAdaptiveQuantization       1              # Enable Adaptive Quantization (1: enable, 0: disable)
57
58#============================== LONG TERM REFERENCE CONTROL ==============================
59EnableLongTermReference          1              # Enable Long Term Reference (1: enable, 0: disable)
60LtrMarkPeriod                    30             # Long Term Reference Marking Period
61
62#============================== LAYER DEFINITION ==============================
63PrefixNALAddingCtrl              0              # Control flag of adding prefix unit (0: off, 1: on)
64                                                # It shall always be on in SVC contexts (i.e. when there are CGS/MGS/spatial enhancement layers)
65                                                # Can be disabled when no inter spatial layer prediction in case of its value as 0
66NumLayers                        1              # Number of layers
67//LayerCfg                layer0_vd.cfg         # Layer 0 configuration file
68//LayerCfg                layer1_vd.cfg         # Layer 1 configuration file
69LayerCfg                layer2_vd_rc.cfg        # Layer 2 configuration file
70