Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: HF-VBR (CVBR) Rate Control Configuration

$
0
0

Hi all,

I'm trying to get HF-VBR rate control working on DM8127/DM8148 with H264 codec version 2.0.2.2.

When I configure the rate control as user-defined and set the target and max bitrates these don't get applied by the encoder. For the example parameters below, I set the target bitrate to 2Mb and max bitrate to 3.2Mb but the video is streamed at around 3.5-4Mb.

I've tried various bitrates and parameter combinations according to H264_Encoder_HDVICP2_UserGuide.pdf and suggested by other threads on the forum with no success..

Does anyone have experience of HF-VBR working with this codec version?

Any help would be much appreciated!

Thanks,
William.

rateControlPreset = 5 (USER_DEFINED)
targetBitRate = 2000000
maxBitRate = 3200000

rateControlParamsPreset = 1 (USER_DEFINED)
scalingMatrixPreset= 1
rcAlgo = 0
qpI = 28
qpMaxI = 36
qpMinI = 10
qpP = 28
qpMaxP = 40
qpMinP = 10
qpOffsetB = 4
qpMaxB = 44
qpMinB = 10
allowFrameSkip = 0
removeExpensiveCoeff = 0
chromaQPIndexOffset = 0
IPQualityFactor = 0
initialBufferLevel = 4000000
HRDBufferSize = 4000000
minPicSizeRatioI = 0
maxPicSizeRatioI = 640
minPicSizeRatioP = 0
maxPicSizeRatioP = 0
minPicSizeRatioB = 0
maxPicSizeRatioB = 0
enablePRC = 1
enablePartialFrameSkip = 0
discardSavedBits = 0
reserved = 0
VBRDuration = 8
VBRsensitivity = 0
skipDistributionWindowLength = 5
numSkipInDistributionWindow = 1
enableHRDComplianceMode = 1
frameSkipThMulQ5 = 0
vbvUseLevelThQ5 = 0
reservedRC[0] = 0
reservedRC[1] = 0
reservedRC[2] = 0

 


Viewing all articles
Browse latest Browse all 25965

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>