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.

Issue about DM368 1080P 30FPS performance

Dear all:

    I encounter a issue that our performance reach 1080P 20FPS in DM368 platform . And we using codec 2.0 it should be 1080P 30FPS

We has reference to  the way of third party ( APPRO and TI FAE suggestion ) but it still reach 1080P 20FPS. We can't understand why?

Can anyone give me any suggestion or information to resolve this issue. I grateful for that.

The following is the relevant parameters and status:

thanks for your visit

IC :

TMX320
DM365BZCE 40
YFA-99ACHPW

ours platform status as below :

 ARM   Hz =  432000000
 DDR   Hz =  340000000
 VPSS  Hz =  340000000
 IMCOP Hz =  340000000

Create encoder algorithm with parameters as below:

1.

==========ALG_vidEncCreate VIDENC1_Params ===================
                  size:124
        encodingPreset:3    
     rateControlPreset:5    
             maxHeight:1088
              maxWidth:1920
          maxFrameRate:60000
            maxBitRate:12000000
        dataEndianness:1
 maxInterFrameInterval:1
     inputChromaFormat:9
      inputContentType:0
     reconChromaFormat:9
 ===============================================
 =========== ALG_PrintvidEncDynamicParams IH264VENC_DynamicParams ==========
 sliceSize:0 
 airRate  :0
 intraFrameQP :28
 interPFrameQP:28
 initQ  :28
 rcQMax :51  42
 rcQMin :1
 rcQMaxI:51  42
 rcQMinI:1
 rcAlgo :1
 maxDelay:2000
 aspectRatioX:1
 aspectRatioY:1
 lfDisableIdc:0
 enableBufSEI:1
 enablePicTimSEI:1
 perceptualRC   :0
 idrFrameInterval:30
 mvSADoutFlag    :0
 resetHDVICPeveryFrame:0
 enableROI :0 
 metaDataGenerateConsume:0
 maxBitrateCVBR  :0
 interlaceRefMode:0
 enableGDR  :0
 GDRduration:0
 GDRinterval:0
 LongTermRefreshInterval:0
 UseLongTermFrame:0
 SetLongTermFrame:0
 VUI_Buffer->timingInfoPresentFlag:1
 VUI_Buffer->timeScale            :7200
 VUI_Buffer->numUnitsInTicks      :120
 CustomScaleMatrix_Buffer:0x0
 CVBRsensitivity:0
 CVBRminbitrate :0
 LBRmaxpicsize  :0
 LBRminpicsize  :0
 LBRskipcontrol :0
 maxHighCmpxIntCVBR  :0
 disableMVDCostFactor:0
 putDataGetSpaceFxn  :0x0
 dataSyncHandle      :0x0
 ==============================================
2.

 ==========ALG_vidEncCreate VIDENC1_Params ===================
                  size:124
        encodingPreset:2
     rateControlPreset:5
             maxHeight:1088
              maxWidth:1920
          maxFrameRate:60000
            maxBitRate:12000000
        dataEndianness:1
 maxInterFrameInterval:1
     inputChromaFormat:9
      inputContentType:0
     reconChromaFormat:9
 ===============================================
 =========== ALG_PrintvidEncDynamicParams IH264VENC_DynamicParams ==========
 sliceSize:68
 airRate  :0
 intraFrameQP :28
 interPFrameQP:28
 initQ  :28
 rcQMax :51
 rcQMin :1
 rcQMaxI:51
 rcQMinI:1
 rcAlgo :1
 maxDelay:2000
 aspectRatioX:1
 aspectRatioY:1
 lfDisableIdc:0
 enableBufSEI:1
 enablePicTimSEI:1
 perceptualRC   :1
 idrFrameInterval:30
 mvSADoutFlag    :0
 resetHDVICPeveryFrame:0
 enableROI :1
 metaDataGenerateConsume:0
 maxBitrateCVBR  :0
 interlaceRefMode:0
 enableGDR  :0
 GDRduration:0
 GDRinterval:0
 LongTermRefreshInterval:0
 UseLongTermFrame:0
 SetLongTermFrame:0
 VUI_Buffer->timingInfoPresentFlag:1
 VUI_Buffer->timeScale            :7200
 VUI_Buffer->numUnitsInTicks      :120
 CustomScaleMatrix_Buffer:0x0
 CVBRsensitivity:0
 CVBRminbitrate :0
 LBRmaxpicsize  :0
 LBRminpicsize  :0
 LBRskipcontrol :327684
 maxHighCmpxIntCVBR  :0
 disableMVDCostFactor:0
 putDataGetSpaceFxn  :0x0
 dataSyncHandle      :0x0
 ==============================================

  • Hi,

    There could be multiple reasons of seeing a lower fps. Can you please elaborate a few things that would help us to go in a particular direction of debugging?

    1. What is the fps for encoder? You can profile it across ALG_vidEncRun() function

    2. What is the capture fps? The reason of this question is to find out whether it is really the encoder that is causing the problem or is it the capture?

    3. Looking at your code snippets, it seems like you are using IPNC Ref Design. Which version of IPNC Ref Design are you using? We recommend you to be on latest (ver 2.6) where we have worked on all optimizations and also taken the latest codec drops that boost codec performance. We have also configured codec params correctly to get best performance. You can cross check your parameters with the same.

    I suspect this to be more of a system synchronization issue than just codec.

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered your question. Thanks.

  • hello,

    1. ALG_vidEncRun( ) cost 46.33 msec in 1080P-frame, but is cost 15msec in 720P

    2.capture is 1080P 30FPS , that's be confirmed

    3. I has reference to APPRO IPNC ( 2.60.01 )

    I check every module in system . the problem is ALG_vidEncRun( ) cost 46.33 msec in 1080P-frame


  • Hi,

    Can you please try to compare the encoder parameters? Also, IPNC releases show a dump of all the profile information every few ms. Can you share that info?

    Regards,

    Anshuman