Application to capture video over MIPI

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

Application to capture video over MIPI

1,797 Views
RagFox
Contributor II

Hi,

I am trying to display video taken from MIPI interface to the standard display accessory in SABRE Automotive Infotainment board.

I am new to this environment.

The input to MIPI is given by video send from PC via an HMI to MIPI converter board.

My question is can i use a V4L2 application to do this? In that opening /dev/video0 will open the device and no need of knowing the internals.

Or an application to capture data from MIPI directly is needed? Is there any example application existing with iMX6?

Thanks,

Ragesh

Labels (3)
Tags (4)
3 Replies

1,176 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ragfox

one can look below

Integration Support for ov5645 camera over mipi-csi2 interface

On Sabre board MIPI camera works if I pass 'device=/dev/video1' to mfw_v4lsrc :

root@freescale ~$ modprobe ov5640_camera_mipi

root@freescale ~$ modprobe mxc_v4l2_capture

root@freescale ~$ gst-launch mfw_v4lsrc device="/dev/video1" ! mfw_v4lsink

for V4L2 application one can look at imx-test package in ltib (attached)

L3.0.35_4.1.0_ER_SOURCE_BSP

One can also use i.MX 6Series Platform SDK : Bare-metal SDK

for testing MIPI

Best regards

igor

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

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

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

1,176 Views
RagFox
Contributor II

Hi,

I am not using a camera. I am using an PC hdmi input to MIPI(via converter board).

I need to display this input video to screen

So which is the source I should use. v4l2 capture, or from VPU? or it will be listed as a device?

0 Kudos
Reply

1,176 Views
saurabh206
Senior Contributor III

Hi,

Rag

If you only want to display the camera content than you can use mxc_v4l2 test.

If your driver is working and MIPI interface changes are proper than you can see the MIPI content on screen.

Thanks

Saurabh