Search code examples
pythoncamera-calibrationgstreamer-1.0python-gstreamer

WARNING: erroneous pipeline: no element "cameracalibrate"


I am trying to run the following pipeline:

gst-launch-1.0 -v v4l2src ! videoconvert ! cameracalibrate ! cameraundistort ! autovideosink

The First part of my question is:

As I read in the documentation cameracalibrate and cameraundistort are elements that belong to opencv plugin and which we can use directly to create our own pipelines. Could someone please tell me if what I understood is right or not.

The second part is:

I am getting this error:

WARNING: erroneous pipeline: no element "cameracalibrate"

I had already installed the gst-plugins-bad

I am beginner in Gstreamer, could someone help me please and tell me what is behind this error.


Solution

  • Although the opencv-related plugins are part of "gst-plugins-bad", Debian (which you indicated you are using) packages them separately. That way, people who don't want/need the OpenCV based plugins don't have to, along with all the (quite heavy) dependency tree that comes together with it.

    So to solve your issue, you should be able to just use sudo apt install gstreamer1.0-opencv