简体   繁体   English

警告:错误的管道:没有“cameracalibrate”元素

[英]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.正如我在文档中阅读的那样, cameracalibratecameraundistort是属于 opencv 插件的元素,我们可以直接使用它们来创建自己的管道。 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"警告:错误的管道:没有元素“cameracalibrate”

I had already installed the gst-plugins-bad我已经安装了gst-plugins-bad

I am beginner in Gstreamer, could someone help me please and tell me what is behind this error.我是 Gstreamer 的初学者,有人可以帮助我并告诉我这个错误背后的原因。

Although the opencv-related plugins are part of "gst-plugins-bad", Debian (which you indicated you are using) packages them separately .尽管与 opencv 相关的插件是“gst-plugins-bad”的一部分,但 Debian(您表示您正在使用)将它们单独打包 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.这样,不想要/不需要基于 OpenCV 的插件的人就不必以及随之而来的所有(非常重的)依赖关系树。

So to solve your issue, you should be able to just use sudo apt install gstreamer1.0-opencv所以要解决你的问题,你应该可以使用sudo apt install gstreamer1.0-opencv

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM