MIPI CSI-2 Camera Gstreamer

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

MIPI CSI-2 Camera Gstreamer

3,820 Views
mustafabakircio
Contributor IV

Hello guys;

I am writing new camera driver which this camera uses mipi csi-2 interface. I would like to capture video from gstreamer .

In this camera driver I am using v4l2_subdev structures. But when I look at to ov5640_mipi driver , the mxc_v4l2_capture.h and v4l2-int-device.h libraries are used. I have no experience about writing camera drivers to use with gstreamer so I wonder should I use  mxc_v4l2_capture.h and v4l2-int-device.h libraries to capture video from gstreamer ?

4 Replies

2,582 Views
mustafabakircio
Contributor IV

Does any body can help me ? I still could'nt figure it out

0 Kudos
Reply

2,582 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mustafa

for subdev driver examples one can look at linux/drivers/media/platform/mxc/subdev/

https://community.nxp.com/message/583912#583912 

or mx6s_v4l2_capture.c in unit tests:

imx-test
www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz

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

0 Kudos
Reply

2,582 Views
mustafabakircio
Contributor IV

Thank you igorpadykov‌;

I read the comments and other things , but I am writing new driver from begining .Beacuse of I am new at these driver issues I would like to know , What header files or resources would be useful as a reference. I want a little bit specific info like ;  " if you will use gstreamer use this or dont use this  " etc. . I need to finish this project as quick as possible .

0 Kudos
Reply

2,582 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mustafa

for gstreamer developing suggest to post on dedicated gstreamer forum:

GStreamer: developers 

Best regards
igor

0 Kudos
Reply