shithub: openh264

Download patch

ref: cfea91666c0f63211582b1b4b57f1b31466c7039
parent: 1922b533f6ac39c76277f063319549e007fb6960
author: Sijia Chen <[email protected]>
date: Thu Apr 9 14:03:27 EDT 2015

add the usage of unspecified bit rate into cfg files and use it

--- a/testbin/layer2.cfg
+++ b/testbin/layer2.cfg
@@ -13,7 +13,7 @@
 InitialQP       24			# Quantization parameters for base quality layer
 #================================ RATE CONTROL ===============================
 SpatialBitrate		600		# Unit: kbps, controled by DisableRC also
-MaxSpatialBitrate   800     # Unit: kbps, max bitrate for current layer
+MaxSpatialBitrate   0     # Unit: kbps, max bitrate for current layer, 0 - unspecified
 #============================== MultiSlice Slice Argument ==============================
 # for S/M Slice(s) mode settings
 SliceMode			0		# 0: sigle slice mode; >0: multiple slices mode, see below;
--- a/testbin/welsenc.cfg
+++ b/testbin/welsenc.cfg
@@ -31,7 +31,7 @@
 #============================== RATE CONTROL ==============================
 RCMode			        0				        # 0: quality mode;  1: bitrate mode;                                             # 2: buffer based mode,can't control bitrate; -1: rc off mode;
 TargetBitrate			5000				    # Unit: kbps, controled by EnableRC also
-MaxOverallBitrate       6000                    # Unit: kbps, max bitrate overall
+MaxOverallBitrate       0                    # Unit: kbps, max bitrate overall, 0 - unspecified
 EnableFrameSkip			1		#Enable Frame Skip
 
 #============================== DENOISE CONTROL ==============================