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.

About DM8127 framerate changing

HW: DM8127

SW: RDK_3.0.0

I run 5M input at 15fps, and I want to get 5M H.264@15fps+5M MJPEG@15fps, but I got  MJPEG output @ 7fps as follows:

 [m3video]  *** ENCODE Statistics ***
 [m3video] 
 [m3video]  Elasped Time           : 95 secs
 [m3video] 
 [m3video] 
 [m3video]  CH  | In Recv In Skip In User  Out Latency 
 [m3video]  Num | FPS     FPS     Skip FPS FPS Min / Max
 [m3video]  --------------------------------------------
 [m3video]    0 |      15       0        0  15  36 /  45
 [m3video]    1 |      15       7        0   7  54 /  62 

 

 

How can I get  MJPEG@15fps?

 

 

  • The function of Bool  EncLink_doSkipFrame(EncLink_ChObj *pChObj, Int32 chId) in ipnc_mcfw/mcfw/src_bios6/links_m3video/iva_enc/encLink_common.c 

    should give you an idea. Please modify the pChObj->inputFrameRate and pChObj->algObj.algDynamicParams.targetFrameRate appropriately. to achieve the desired.

  • ThanK you!

    I got it. The skip frames are caused by output buffer not available.  I increased num of encPrm.numBufPerCh[i], and got rright result.

     [m3video]  CH  | In Recv In Skip In User  Out Latency 
     [m3video]  Num | FPS     FPS     Skip FPS FPS Min / Max
     [m3video]  --------------------------------------------
     [m3video]    0 |      15       0        0  15  36 /  45
     [m3video]    1 |      15       0        0  15  53 /  62

     

    Thank you!!!