Hi,
i'm not a specialist of gstreamer, i've tested the command:
gst-launch-1.0 -e imxv4l2src device=/dev/video0 ! imxv4l2sink overlay-left=0 overlay-top=0 overlay-width=960 overlay-height=360 &
gst-launch-1.0 -e imxv4l2src device=/dev/video1 ! imxv4l2sink overlay-left=960 overlay-top=0 overlay-width=960 overlay-height=360 &
after first command i get this log:
mxc_mipi_csi2 21dc000.mipi: mipi_csi2_reset: mipi_lane_bps = 432 Mbps
[ 46.494474] mxc_mipi_csi2 21dc000.mipi: mipi_csi2_reset: value = 0xc.
====== IMXV4L2SRC: 4.5.1 build on Jan 1 1970 00:00:00. ======
====== IMXV4L2SINK: 4.5.1 build on Jan 1 1970 00:00:00. ======
Setting pipeline to PAUSED ...
display(/dev/fb0) resolution is (1920x720).
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[ 46.792188]
[ 46.792188] In csi_enc_setup cam->is_mipi_cam:1 cam->v2f.fmt.pix.field:0
v4l2sink need allocate 3 buffers.
after second command, i get this:
mxc_mipi_csi2 21dc000.mipi: mipi_csi2_reset: mipi_lane_bps = 432 Mbps
[ 90.580914] mxc_mipi_csi2 21dc000.mipi: mipi_csi2_reset: value = 0xc.
====== IMXV4L2SRC: 4.5.1 build on Jan 1 1970 00:00:00. ======
====== IMXV4L2SINK: 4.5.1 build on Jan 1 1970 00:00:00. ======
Setting pipeline to PAUSED ...
display(/dev/fb0) resolution is (1920x720).
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[ 90.841594]
[ 90.841594] In csi_enc_setup cam->is_mipi_cam:1 cam->v2f.fmt.pix.field:0
v4l2sink need allocate 3 buffers.
ERROR: from element /GstPipeline:pipeline0/GstImxV4l2Src:imxv4l2src0: Internal data stream error.
Additional debug info:
../../../../git/libs/gst/base/gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstImxV4l2Src:imxv4l2src0:
streaming stopped, reason error (-5)
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...
Got EOS from element "pipeline0".
EOS received - stopping pipeline...
Execution ended after 0:00:00.150385000
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Total showed frames (0), playing for (0:00:00.150723000), fps (0.000).
Freeing pipeline ...
[ 91.150052] imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00000002
[ 92.702781] imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00000002
[ 93.062126] imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00000002
[ 94.539621] imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00000002
[ 96.256706] imx-ipuv3 2800000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00000002
I've also tried in a same command,
gst-launch-1.0 -e imxv4l2src device=/dev/video0 ! imxv4l2sink overlay-left=0 overlay-top=0 overlay-width=960 overlay-height=360 \
imxv4l2src device=/dev/video1 ! imxv4l2sink overlay-left=960 overlay-top=0 overlay-width=960 overlay-height=360
i have only device1 displayed (on the position of device 0)
and i get this log:
28.406061] mxc_mipi_csi2 21dc000.mipi: mipi_csi2_reset: mipi_lane_bps = 432 Mbps
[ 28.413634] mxc_mipi_csi2 21dc000.mipi: mipi_csi2_reset: value = 0xc.
[ 28.826480] mxc_mipi_csi2 21dc000.mipi: mipi_csi2_reset: mipi_lane_bps = 432 Mbps
[ 28.834015] mxc_mipi_csi2 21dc000.mipi: mipi_csi2_reset: value = 0xc.
====== IMXV4L2SRC: 4.5.1 build on Jan 1 1970 00:00:00. ======
====== IMXV4L2SINK: 4.5.1 build on Jan 1 1970 00:00:00. ======
====== IMXV4L2SRC: 4.5.1 build on Jan 1 1970 00:00:00. ======
[ 28.979106] alloc_contig_range: [22280, 222ff) PFNs busy====
Setting pipeline to PAUSED ...
display(/dev/fb0) resolution is (1920x720).
display(/dev/fb0) resolution is (1920x720).
Pipeli[ 28.994283] alloc_contig_range: [22280, 222ff) PFNs busy
ne is live and does not need PRER[ 29.003737] alloc_contig_range: [22380, 223ff) PFNs busy
OLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[ 29.018195] alloc_contig_range: [22280, 222ff) PFNs busy
[ 29.024937] alloc_contig_range: [22380, 223ff) PFNs busy
[ 29.030674] alloc_contig_range: [22280, 222ff) PFNs busy
[ 29.037279] alloc_contig_range: [22380, 223ff) PFNs busy
[ 29.048542] alloc_contig_range: [22280, 222ff) PFNs busy
[ 29.056713] alloc_contig_range: [22380, 223ff) PFNs busy
[ 29.062370] alloc_contig_range: [22280, 222ff) PFNs busy
[ 29.125220]
[ 29.125220] In csi_enc_setup cam->is_mipi_cam:1 cam->v2f.fmt.pix.field:0
[ 29.146302]
[ 29.146302] In csi_enc_setup cam->is_mipi_cam:1 cam->v2f.fmt.pix.field:0
v4l2sink need allocate 3 buffers.
v4l2sink need allocate 3 buffers.
[ 29.334872] mxc_v4l2_output v4l2_out: video output already run
" so did you try to add deinterlacing by IPU?"
no, how can i tst this?
thanks for your help
Laurent