Hello all,
we have our application (basically single stream H.264 encoding based directly on LINKAPI) running fine on DVRRDK 4.0 and 4.1.
We want to achieve a sort of constant bitrate behaviour of the encoder. We do not expect every frame to have exact fixed sized especially not as we want and must use I- and P-Frames (and later even B-Frames). Setting the target bitrate works as expected and long term bitrate is well within expected limits. With usual slow moving footage everything is ok. However in extremely dynamic scenes we can observe bitrate peaks of over 50 percent above target bitrate over 2 GOP lengths.
I have played a lot with encodingPreset, rateControlPreset and rcAlg parameters of the encoder link but either the encoder did not accept my parameter combination or the datarate behaviour was not as desired. Increasing qpMax to 51 has already helped a bit but we still see the above mentioned bitrate peaks.
Is there some way that we can force the encoder to limit the bitrate on short term (e.g. GOP length) so that is does not exceed target bitrate by a certain amount? Strong visual degradation in extremely dynamic situations would be acceptable.
Best regards,
Michael