[英]GStreamer's autovideosink missing for command line tools - Debian 9.4
The problem is only present when using GStreamer command line tools. 仅在使用GStreamer命令行工具时出现此问题。 C programs that contain "autovideosink" compile and run as expected.
包含“ autovideosink”的C程序将按预期编译并运行。
gst-inspect-1.0 autovideosink
returns 退货
No such element or plugin 'autovideosink'
and 和
gst-launch-1.0 videotestsrc ! autovideosink
returns 退货
WARNING: erroneous pipeline: no element "autovideosink"
I am running Debian 9.4. 我正在运行Debian 9.4。 I installed gstreamer with the following command:
我使用以下命令安装了gstreamer:
sudo apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools
The element autovideosink is provided by the gstreamer plugin autodetect
, which in turn is contained in the Debian package gstreamer1.0-plugins-good . 该元件autovideosink由gstreamer的插件提供的
autodetect
,而这又被包含在Debian包gstreamer1.0-插件好 。 Try to find the plugin on your system: 尝试在您的系统上找到插件:
$ locate libgstautodetect.so /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstautodetect.so
$找到libgstautodetect.so /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstautodetect.so
Since it is on your system somehow, maybe your C program is 32 bit and gst-launch-1.0
is 64 bit (or vice versa). 由于它以某种方式存在于您的系统上,因此您的C程序可能是32位,而
gst-launch-1.0
是64位(反之亦然)。
Debugging gstreamer using GST_DEBUG is more adequate than strace
: 使用GST_DEBUG调试gstreamer比
strace
更合适:
GST_DEBUG=INFO gst-launch-1.0 videotestsrc !
GST_DEBUG = INFO gst-launch-1.0 videotestsrc! autovideosink
自动视频接收器
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.