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.

TDA2SX: Encode link takes a long time

Part Number: TDA2SX

HI,

   SDK:  PROCESSOR_SDK_VISION_03_05_00_00

    A15 run  linux.

   Camera 30fps,  a frame 33ms.

   The encoding is more than 33ms.

   How to reduce the encoding time without reducing the definition of video recording

log:

    h264 configure:

  

       

  • Hi,

    Please refer to the following datasheet for more information

    The IVA-HD codec can support 1080p@60 FPS real time decoding & 1080p@30 FPS real time encoding.

    Encoding can support > 30 FPS but it depends on the parameter configuration. Do some calculation to find out the FPS for other resolution

    There is a bug in the vision SDK encoder link, the IDRFrameInterval is not updated in the encoder link. Add the below changes & try again

    diff --git a/links_fw/src/rtos/links_ipu/iva/iva_enc/encLink_common.c b/links_fw/src/rtos/links_ipu/iva/iva_enc/encLink_common.c
    index 2f9951c1f..3fef72138 100755
    --- a/links_fw/src/rtos/links_ipu/iva/iva_enc/encLink_common.c
    +++ b/links_fw/src/rtos/links_ipu/iva/iva_enc/encLink_common.c
    @@ -831,6 +831,8 @@ static Int32 enclink_codec_set_ch_alg_create_params(EncLink_Obj * pObj,
    pChAlgCreatePrm->numTemporalLayer = pChCreatePrm->numTemporalLayer;
    pChAlgCreatePrm->enableSVCExtensionFlag = pChCreatePrm->enableSVCExtensionFlag;
    pChAlgCreatePrm->enableWaterMarking = pChCreatePrm->enableWaterMarking;
    + pChAlgCreatePrm->IDRFrameInterval = pChCreatePrm->IDRFrameInterval;
    +

    return ENC_LINK_S_SUCCESS;

    Thanks

    Gaviraju