Reg:Multiple Camera Streaming

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

Reg:Multiple Camera Streaming

1,516 Views
vishvapathi
Contributor V

Hi,

I am trying to stream 2 cameras at the same time to display,when i try only one is working at a time..

And i am using IMX6Q processor with Linux 3.0.35

I tried the below command..

$gst-launch v4l2src device=/dev/video1 ! mfw_isink disp-width=450 disp-height=300  axis-left=50 axis-top=100&

$gst-launch v4l2src device=/dev/video2 ! mfw_isink disp-width=450 disp-height=300 axis-left=550 axis-top=100&

Response

$gst-launch v4l2src device=/dev/video1 ! mfw_isink disp-width=450 disp-height=300  axis-left=50 axis-top=100&

root@freescale /$ set color key

MFW_GST_ISINK_PLUGIN 3.0.7 build on Oct 15 2013 15:09:49.

Setting pipeline to PAUSED ...

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

New clock: GstSystemClock

can not create threadmfw_gst_isink_setcaps:1489

hwbuf allocator zone(2457600) created

VS0 created. in fmt[YUYV] win(0,0-1280,960:1280x960) out win(50,100-500,400:450x300)

set deinterlace mode 0

hwbuf allocator zone(614400) created

hwbuf allocator zone(614400) destroied.

hwbuf allocator zone(614400) created

hwbuf allocator zone(614400) destroied.

hwbuf allocator zone(614400) created

hwbuf allocator zone(614400) destroied.

root@freescale /$ gst-launch v4l2src device=/dev/video2 ! mfw_isink disp-width=450 disp-height=300 axis-left=550 axis-top=100&

root@freescale /$ set color key

MFW_GST_ISINK_PLUGIN 3.0.7 build on Oct 15 2013 15:09:49.

Setting pipeline to PAUSED ...

uvcvideo: Failed to submit URB 0 (-28).

ERROR: Pipeline doesn't want to pause.

ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Error starting streaming on device '/dev/video2'.

Additional debug info:

gstv4l2object.c(2143): gst_v4l2_object_start_streaming (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:

system error: No space left on device

Setting pipeline to NULL ...

Freeing pipeline ...

[--->FINALIZE isink

When i issue the first command first CAM starts streaming, when i issue the second command i get the above error and CAM1's display vanishes but the CAM is still streaming....

Kindly advice how i can stream b2 cameras at the same time!!!

DaianeAngolini

LeonardoSandovalGonzalez

shanmugamsundar

Raybiztech

Labels (2)
0 Kudos
Reply
3 Replies

1,133 Views
daiane_angolini
NXP Employee
NXP Employee

As I know, dual camera is not supported on 3.0.35 kernel.

0 Kudos
Reply

1,133 Views
Danube
Contributor IV

Hi Daiane,

Does Yocto 1.5 can support Dual camera streaming in the same time ?

0 Kudos
Reply

1,133 Views
daiane_angolini
NXP Employee
NXP Employee

dual camera is something supported by kernel, not by yocto.

So, yocto 1.5 does not support it, but only because the kernel in this version does not support it.

Have you tested any of the patches published in imx.community? If you have, please, let me know the results.

0 Kudos
Reply