Two simultaneous camera capture at 720p resolution, encode and stream with i.MX6 Dual

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

Two simultaneous camera capture at 720p resolution, encode and stream with i.MX6 Dual

Jump to solution
2,142 Views
DipenPatel1z
Contributor III

Dear Support,

Is it possible to capture 2 simultaneous 1280x720p stream from two cameras on i.MX6 Dual/Quad?

My goal is simultaneous capture from two camera at 1280x720p resolution and perform H.264 encoding and stream or store.

Appreciate your earliest response.

Regards,

Dipen Patel

Labels (3)
Tags (4)
1 Solution
863 Views
igorpadykov
NXP Employee
NXP Employee

Hi Dipen,

yes, this is possible, however it may depend on desired fps (framerate).

CSI performance is given in sect.37.1.2.1.1 "Camera Ports"

i.MX6DQ Reference Manual (rev.1  4/2013)

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf

"For parallel interface, the maximum speed of the interface is 240Mhz. The required

operating frequency of the interface is calculated in the following way:

F = FH * FW * FPS * BI * DF

Where

• FH = frame height (in pixels)

• FW = Frame width (in pixels)

• fps = frame rate (frames per second)

• BI = typically 35% overhead, should be assumed as 1.35. The actual blanking

intervals are a parameter of the attached device.

• DF = data format, defines the number of cycles needed to send a single pixel."

For two two camera at 1280x720p@30fps it would require about 60MHz (assume 1 cycle/pixel).

H264 encode 720p@30fps two instances are possible with i.MX6DQ, please check p.31

presentation below

http://cache.freescale.com/files/training/doc/ftf/2014/FTF-CON-F0223.pdf

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

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

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

View solution in original post

0 Kudos
4 Replies
864 Views
igorpadykov
NXP Employee
NXP Employee

Hi Dipen,

yes, this is possible, however it may depend on desired fps (framerate).

CSI performance is given in sect.37.1.2.1.1 "Camera Ports"

i.MX6DQ Reference Manual (rev.1  4/2013)

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf

"For parallel interface, the maximum speed of the interface is 240Mhz. The required

operating frequency of the interface is calculated in the following way:

F = FH * FW * FPS * BI * DF

Where

• FH = frame height (in pixels)

• FW = Frame width (in pixels)

• fps = frame rate (frames per second)

• BI = typically 35% overhead, should be assumed as 1.35. The actual blanking

intervals are a parameter of the attached device.

• DF = data format, defines the number of cycles needed to send a single pixel."

For two two camera at 1280x720p@30fps it would require about 60MHz (assume 1 cycle/pixel).

H264 encode 720p@30fps two instances are possible with i.MX6DQ, please check p.31

presentation below

http://cache.freescale.com/files/training/doc/ftf/2014/FTF-CON-F0223.pdf

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

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

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

0 Kudos
863 Views
DipenPatel1z
Contributor III

Hi Chipexpert,

Thank you for quick response and precise information.

So I can capture two camera streams of 720P@60fps (~166MHz).

But encode will be limited to 720P@30fps for two instances. Please confirm.

Regards,

Dipen Patel

0 Kudos
863 Views
yangthomas
Contributor II

Do you solve it?

0 Kudos
863 Views
igorpadykov
NXP Employee
NXP Employee

Hi Dipen,

yes confirm.

Best regards

chip

0 Kudos