This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Can we remove "EncLink_h264EncoderReset" when change framerate?

original post: https://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/417982/1487835#1487835

Dear Experts,
Environment: dvrrdk3.5. codec:REL.500.V.H264AVC.E.IVAHD.02.00.08.00.

We use bitrate control, framerate control, gop size control , and QP value control for QoS (Quality of Service) system.
We are studying video encode function with dynamic framerate changing.
After changing framerate, we get bad  about two seconds inteval.
Dynamic parameters are changed around hundred milliseconds interval by application.

We found, when we change framerate, rdk will call "EncLink_h264EncoderReset".
If we comment out "EncLink_h264EncoderReset" at changing framerate situation, image quality is better.

For controling bitrate dynamically, we can comment out "EncLink_h264EncoderReset" according to this discussion thread.
https://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/359841

So, here are the questions:
1) Can we remove "EncLink_h264EncoderReset" when change framerate?
2) If removed, is there any side effect?

HB

  • Hi HB,

    1). Yes, ""EncLink_h264EncoderReset"" can be removed when change in framerate.

    I think the same thing can be achieved by disabling the ""vuiCodingParams.timingInfoPresentFlag"".

    2).  RateControl get reset when change in the framerate. So there will be minor quality impact I suppose.

    Regards

    Gajanan