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.

The issue of setting MJPEG resolution dynamically base on RDK 01.08.00.15

We set the resolution for MJPEG dynamically, but it seems have issue.

As the picture shown, We use link api “DEI_LINK_CMD_SET_OUTPUTRESOLUTION” to set MJPEG as CIF and but the JPEG  seems as D1.

And H264 do not have this issue.

We want know:

(1) Is it the issue in MJPEG codec under TI DVRRDK 01.08.00.15?

(2) Which module maybe cause this problem?

  • hi,

    we have fixed this issue, but it is not part of TI DVRRDK 01.08.00.15. you can do the following modification to fix the issue

    In encLink_common.c file, in the function EncLink_codecDynamicResolutionChange, add the lines in green.

     

                    case IVIDEO_MJPEG:

                        status = EncLinkJPEG_algDynamicParamUpdate(

                                             &pChObj->algObj.u.jpegAlgIfObj,

                                             &pChObj->algObj.algCreateParams,

                                             &pChObj->algObj.algDynamicParams);

                        if (UTILS_ISERROR(status))

                        {

                            UTILS_warn("ENCLINK:ERROR in "

                            "EncLinkJPEG_algDynamicParamUpdate.Status[%d]", status);

                        }

     

                        IdrParams.chId = chId;

                        EncLink_codecSetForceIDR(pObj, &IdrParams);

     

                              break;