2013-12-13 08:40:57 +01:00
|
|
|
# Cisco Scalable H.264/AVC Extension Encoder Configuration File
|
|
|
|
|
|
|
|
#============================== GENERAL ==============================
|
2014-03-31 08:00:25 +02:00
|
|
|
UsageType 0 #0: camera video 1:screen content
|
2014-02-22 22:01:23 +01:00
|
|
|
SourceWidth 320 # Input frame width
|
|
|
|
SourceHeight 192 # Input frame height
|
|
|
|
InputFile ../res/CiscoVT2people_320x192_12fps.yuv # Input file
|
2013-12-13 08:40:57 +01:00
|
|
|
OutputFile test_vd_1d.264 # Bitstream file
|
|
|
|
MaxFrameRate 30 # Maximum frame rate [Hz]
|
|
|
|
FramesToBeEncoded -1 # Number of frames (at input frame rate)
|
|
|
|
|
2014-02-22 23:06:43 +01:00
|
|
|
TemporalLayerNum 3 # temporal layer number(1--4
|
2013-12-13 08:40:57 +01:00
|
|
|
IntraPeriod 0 # Intra Period ( multipler of GoP size or -1)
|
|
|
|
EnableSpsPpsIDAddition 1
|
|
|
|
|
|
|
|
EnableFrameCropping 1 # enable frame cropping flag
|
|
|
|
|
2014-05-12 05:05:16 +02:00
|
|
|
MaxNalSize 1500 # Unit:Byte, Maximum Nal size
|
2013-12-13 08:40:57 +01:00
|
|
|
#============================== LOOP FILTER ==============================
|
2013-12-13 09:06:44 +01:00
|
|
|
LoopFilterDisableIDC 0 # Loop filter idc (0: on, 1: off,
|
2013-12-13 08:40:57 +01:00
|
|
|
# 2: on except for slice boundaries,
|
|
|
|
# 3: two stage. slice boundries on in second stage
|
2013-12-13 09:06:44 +01:00
|
|
|
# 4: Luma on but Chroma off (w.r.t. idc=0)
|
2013-12-13 08:40:57 +01:00
|
|
|
# 5: Luma on except on slice boundaries, but Chroma off in enh. layer (w.r.t. idc=2)
|
|
|
|
# 6: Luma on in two stage. slice boundries on in second stage, but Chroma off (w.r.t. idc=3)
|
|
|
|
LoopFilterAlphaC0Offset 0 # AlphaOffset(-6..+6): valid range
|
|
|
|
LoopFilterBetaOffset 0 # BetaOffset (-6..+6): valid range
|
|
|
|
|
|
|
|
#============================== SOFTWARE IMPLEMENTATION ==============================
|
|
|
|
MultipleThreadIdc 1 # 0: auto(dynamic imp. internal encoder); 1: multiple threads imp. disabled; > 1: count number of threads;
|
|
|
|
|
|
|
|
#============================== RATE CONTROL ==============================
|
2014-04-08 07:08:28 +02:00
|
|
|
RCMode 0 # 0: quality mode; 1: bitrate mode; 2: bitrate limited mode; -1: rc off mode
|
2013-12-13 08:40:57 +01:00
|
|
|
TargetBitrate 5000 # Unit: kbps, controled by EnableRC also
|
|
|
|
|
|
|
|
#============================== DENOISE CONTROL ==============================
|
|
|
|
EnableDenoise 0 # Enable Denoise (1: enable, 0: disable)
|
|
|
|
|
|
|
|
#============================== SCENE CHANGE DETECTION CONTROL =======================
|
|
|
|
EnableSceneChangeDetection 1 # Enable Scene Change Detection (1: enable, 0: disable)
|
|
|
|
|
|
|
|
#============================== BACKGROUND DETECTION CONTROL ==============================
|
|
|
|
EnableBackgroundDetection 1 # BGD control(1: enable, 0: disable)
|
|
|
|
|
|
|
|
#============================== ADAPTIVE QUANTIZATION CONTROL =======================
|
|
|
|
EnableAdaptiveQuantization 0 # Enable Adaptive Quantization (1: enable, 0: disable)
|
|
|
|
|
|
|
|
#============================== LONG TERM REFERENCE CONTROL ==============================
|
|
|
|
EnableLongTermReference 1 # Enable Long Term Reference (1: enable, 0: disable)
|
2014-04-11 10:11:18 +02:00
|
|
|
LongTermReferenceNumber 2 # long term reference number (1-4):screen content (1-2):camera video
|
2013-12-13 09:06:44 +01:00
|
|
|
LtrMarkPeriod 30 # Long Term Reference Marking Period
|
2013-12-13 08:40:57 +01:00
|
|
|
|
|
|
|
#============================== LAYER DEFINITION ==============================
|
|
|
|
PrefixNALAddingCtrl 0 # Control flag of adding prefix unit (0: off, 1: on)
|
|
|
|
# It shall always be on in SVC contexts (i.e. when there are CGS/MGS/spatial enhancement layers)
|
|
|
|
# Can be disabled when no inter spatial layer prediction in case of its value as 0
|
|
|
|
NumLayers 1 # Number of layers
|
|
|
|
//LayerCfg layer0_vd.cfg # Layer 0 configuration file
|
|
|
|
//LayerCfg layer1_vd.cfg # Layer 1 configuration file
|
|
|
|
LayerCfg layer2_vd.cfg # Layer 2 configuration file
|