AnsweredAssumed Answered

is it possible that two cameras encoding or display  simultaneously in SARBRA-SDP board ...?

Question asked by NK Kang on Aug 20, 2013
Latest reply on Jan 5, 2015 by edison.fernandez

Hello ..

 

i'm using MCIMX6Q-SD board

 

my mission is that two camera working together (display or encoding )

 

give some information about not working simultaneously

is this hw problem or driver problem or gstreamer ??

 

any body has solution this problem

 

 

 

[]my environments

 

   - MCIMX6Q-SD board

   - ubuntu image (ubuntu_oneriric_4.0.0)

   - linux kernel version 3.0.35

   - gstreamer

   - camera module (ov5640 / ov5642)

 

 

[]running (before  modprobe ov5640_camera_mipi / modprobe ov5642_camera /  modprobe mxc_v4l2_capture)

 

     1. gst-launch -v --gst-debug=*:2, mfw_v4lsrc device=/dev/video0 \
          ! mfw_isink  axis-top=10 axis-left=400 disp-width=640 disp-height=480

 

     2. gst-launch -v --gst-debug=*:2, mfw_v4lsrc device=/dev/video1 \
          ! mfw_isink  axis-top=700 axis-left=400 disp-width=640 disp-height=480

 

 

 

--> not working together  but one by one is working

 

1 was running and then 2 is running error message

 

Setting pipeline to PAUSED ...
0:00:00.957726667  6962    0x17050 ERROR             mfw_v4lsrc mfw_gst_v4lsrc.c:523:mfw_gst_v4lsrc_capture_setup: >>V4L_SRC: VIDIOC_S_INPUT failed
0:00:00.957896000  6962    0x17050 ERROR             mfw_v4lsrc mfw_gst_v4lsrc.c:1012:mfw_gst_v4lsrc_start: v4lsrc:error in opening the device
0:00:00.957991667  6962    0x17050 WARN                 basesrc gstbasesrc.c:2996:gst_base_src_activate_push:<mfwgstv4lsrc0> Failed to start in push mode
0:00:00.958117000  6962    0x17050 WARN                GST_PADS gstpad.c:734:gst_pad_set_active:<mfwgstv4lsrc0:src> Failed to activate pad
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
Freeing pipeline ...
[--->FINALIZE isink

Outcomes