Gstreamer Warning - pipeline have not been created - OpenCV2

Hello,

We are facing issue with getting real-time camera feed through GStreamer OpenCV2 on Jetson TX2 for a USB enabled (not CSI) camera. Note that CSI camera streaming is working fine…

We are streaming the video feed via Django REST Framework and getting warning as below:

Gstreamer Warning - pipeline have not been created

I feel that this warning is getting converted to an error later and thereby not able to see the video on GUI.

Hi,
You can get the camera capability through v4l2-ctl

and specify with,height,format,framerate to the OpenCV code:

It should run if you specify the supported mode precisely.