# Capturing RGB888 1080P 30fps with MIPI Camera

Question asked by nithish a n on Mar 6, 2017
Latest reply on Mar 7, 2017 by Joan Xie

Hi ,

We have a requirement to capture 1080p 30fps, 720p 30fps video with RGB colour 24Bit Depth . While going through the MIPI/CSI2 document  i found this example,

• 6-MP camera, 4-lane configuration, 15 fps, RGB888 format:
6 MP * 15 fps * 1.5 cycle/pixel * 1.35 blank interval = 182.25 MHz
In document and community i see YUC422 is being used to capture the above  resolution video , which is 8bit/pixel.
I also found that the maximum speed of the interface is 200MHz for 4 data lanes configuration  (800 Mb/s/lane, 400 MB/s).
And i did some calculation explained in MIPI–CSI2 Peripheral on i.MX6 MPUs (section 2.3.1. Bandwidth -AN5305.pdf) document
===========================================================
Calculation for 1080p FH = 1920
FW = 1080
30 frames per second

F = 1920*1080*30*1.3*3
= 242.6112MHz
===========================================================
Calculation for 1080p  FH = 1920
FW = 1080
60 frames per second

F = 1920*1080*60*1.3*3
= 485.2224MHz
===========================================================
Calculation for 720p    FH = 1280
FW = 720
30 frames per second

F = 1280*720*30*1.3*3
= 107.8272MHz
===========================================================
Calculation for 720p    FH = 1280
FW = 720
60 frames per second

F = 1280*720*60*1.3*3
= 215.6544MHz
===========================================================
From this what i see is only 720p 30fps capturing is possible.
In this document  "i.MX 6 Series Processors for Video Surveillance Application" it is given that the encoder can encode 1080p60 720p60 . Im confused as im new to media processing.
Can the above requirement be met without using a software to render it by the i.MX6QP ?
Thanks
Nithish A N