简体   繁体   English

GStreamer-v4l2不适用于gstreamer 0.1

[英]GStreamer - v4l2 unavailable for gstreamer 0.1

When I use the 1.0 version, v4l2 plugin seem to be recognized, but doesn't work, so I decided to try the older version. 当我使用1.0版本时,似乎可以识别v4l2插件,但是它不起作用,因此我决定尝试使用旧版本。

gst-launch-0.10 videotestsrc ! v4l2sink device=/dev/video1

But the output says "no plugin v4l2". 但是输出显示“ no plugin v4l2”。 How to install it for this version ? 如何安装此版本?

Assuming you have a reason for using 0.10, do you have the "good" plugins installed? 假设您有使用0.10的理由,是否安装了“好”插件? v4l2sink is part of the "good" plugins. v4l2sink是“好”插件的一部分。 In Ubunutu Linux, you would do something like 在Ubunutu Linux中,您将执行以下操作

sudo apt-get install gstreamer0.10-plugins-good

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

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