imx6 with gstreamer-1.0 video capture and resize issue, imxv4l2src Capabilities are EMPTY

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

imx6 with gstreamer-1.0 video capture and resize issue, imxv4l2src Capabilities are EMPTY

2,449 Views
veeranjaneyulug
Contributor III

Hi Every one,

Have a great day.

We are using yocto setup (through bitbake) and linux kernel version 3.14.28, gstreamer1.0-plugins packages, gst-fsl-plugin version is 4.0.3, we are facing the following issues with gstreamer-1.0. Camera Sensor used is OV10626

imxv4l2src CAPS is empty.

We are unable to link other elements like filesink, videoconvert with imxv4l2src. Given below is the error log for the command:

gst-launch-1.0 imxv4l2src ! 'video/x-raw,format=I420,width=640,height=480,framerate=30/1' ! videoconvert ! filesink location=test.yuv

Error log:

(gst-launch-1.0:377): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed

WARNING: erroneous pipeline: no element "video"

root@imx6qsabresd:~#

root@imx6qsabresd:~#

root@imx6qsabresd:~#

root@imx6qsabresd:~#

root@imx6qsabresd:~#

root@imx6qsabresd:~#

root@imx6qsabresd:~#

640,height=480,framerate=30/1' ! videoconvert ! filesink location=test.yuvwidth=

OV1062x: ioctl_dev_init --------

(gst-launch-1.0:378): GStreamer-CRITICAL **: gst_caps_simplify: assertion 'GST_IS_CAPS (caps)' failed

(gst-launch-1.0:378): GStreamer-CRITICAL **: gst_caps_append: assertion 'GST_IS_CAPS (caps2)' failed

====== IMXV4L2SRC: 4.0.3 build on Nov 19 2015 11:48:34. ======

WARNING: erroneous pipeline: could not link imxv4l2src0 to videoconvert0

root@imx6qsabresd:~#

Please help us resolve this issue immediately.

Thanks,

Veera

0 Kudos
1 Reply

978 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Please try to use decodebin2 instead of videoconvert  in gstreamer pipeline.

Regards,
Yuri.

0 Kudos