AnsweredAssumed Answered

It's not working : mxc_v4l2_capture -> gstreamer imxv4l2src

Question asked by Nik Vzdornov on Mar 7, 2019
Latest reply on Mar 13, 2019 by Joan Xie

imx6.yocto.jethro(kernel 4.1.15) : tvp_5150 -> (CSI-0,IPU-0) -> mxc_v4l2_capture -> /dev/video0 ->

 

# gst-launch-1.0 --gst-debug=*:1 -v imxv4l2src device=/dev/video0 ! imxv4l2sink


====== IMXV4L2SRC: 4.0.9 build on May 16 2017 09:56:50. ======
====== IMXV4L2SINK: 4.0.9 build on May 16 2017 09:56:50. ======


Setting pipeline to PAUSED ...
display(/dev/fb0) resolution is (640x480).


Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...


New clock: GstSystemClock
/GstPipeline:pipeline0/GstImxV4l2Src:imxv4l2src0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)720\,\ height\=\(int\)525\,\ framerate\=\(fraction\)30/1\,\ interlace-mode\=\(string\)interleaved"


/GstPipeline:pipeline0/GstImxV4l2Sink:imxv4l2sink0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)720\,\ height\=\(int\)525\,\ framerate\=\(fraction\)30/1\,\ interlace-mode\=\(string\)interleaved"


0:00:00.122364667 5317 0x20956f0 ERROR imxv4l2sink gstimxv4l2sink.c:498:gst_imx_v4l2sink_setup_buffer_pool:<imxv4l2sink0> set buffer pool failed.

 

0:00:00.222433667 5317 0x20956f0 ERROR bufferpool gstbufferpool.c:525:gst_buffer_pool_set_active:<videobufferpool0> pool was not configured


0:00:00.222589000 5317 0x20956f0 ERROR imxv4l2sink gstimxv4l2sink.c:762:gst_imx_v4l2sink_show_frame:<imxv4l2sink0> active pool(0x75d05200) failed.


ERROR: from element /GstPipeline:pipeline0/GstImxV4l2Src:imxv4l2src0: Internal data flow error.


Additional debug info:
/home/panovau/yocto_work/var-som-mx6-yocto-fido/build_x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.6.0-r0/gstreamer-1.6.0/libs/gst/base/gstbasesrc.c(2943): gst_base_src_loop (): /GstPipeline:pipeline0/GstImxV4l2Src:imxv4l2src0:
streaming task paused, reason error (-5)
Execution ended after 0:00:00.104379334
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Total showed frames (0), playing for (0:00:00.105220000), fps (0.000).
Freeing pipeline ...

Outcomes