IMX6.Q VPU encode double video

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6.Q VPU encode double video

1,060 Views
richarddestiny
Contributor III

Hi,ALL

        I'm working on  IMX6Q kernel:3.10.17

        I have double camera ,there are  DVP and  MIPI port, output :1280*1080 25 FPS  and  1280*960 25FPS

   the  problem is : the vpu encode is not smooth enough,  some time ,encode a frame need more then 40ms, how can i fixed this problem?

how about change the vpu input clk?  or  change the encode bitrate_level ? but, I didn't get the interface to change the bitrate_level。。

anyone can help me?

thank you very much!

0 Kudos
Reply
1 Reply

619 Views
igorpadykov
NXP Employee
NXP Employee

Hi Richard

reason may be that dual (1280*1080 25 FPS & 1280*960 25FPS)

encode is close to VPU performance max. limit 1080p@30fps, this

is described on p.6 presentation

  Q&A: MX6 VPU H.264 Dual Stream Encode Limits

so one can test this case with unit tests mxc_vpu_test

Index of /buildsources/i/imx-test/imx-test-3.10.17-1.0.0

if perfomance is insufficient, decrease fps.

For bitrate seting refer to sect.3.2.2.11 EncOpenParam

attached VPU Programming Manual.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply