该问题仅在使用 GStreamer 命令行工具时出现。包含“autovideosink”的 C 程序按预期编译和运行。
gst-inspect-1.0 autovideosink
返回
No such element or plugin 'autovideosink'
和
gst-launch-1.0 videotestsrc ! autovideosink
返回
WARNING: erroneous pipeline: no element "autovideosink"
我正在运行 Debian 9.4。我使用以下命令安装了 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