linux - gstreamer:没有这样的元素或插件 'videotestsrc'

标签 linux gstreamer

我已将我的 gstreamer 升级到 Linux 上的最新版本 1.4.0,包括 gst-plugins-base/good/bad/ugly。但是当我尝试播放视频时,我找不到很多元素,例如 xvimagesink、videotestsrc 和 autovideosink。 我想知道如何添加这些元素?

gst-launch --gst-debug-level=3 !filesrc location=FlickAnimation.avi !avidemux name=demux demux.video_00 ! queue ! ffdec_mpeg4   !ffmpegcolorspace !autovideosink

最佳答案

发布您提到的三个插件的gst-inspect结果。

尝试找到以下三个文件,这些是上述插件的库。 gstreamer版本的文件夹名请根据你机器上的情况更改

文件名:/usr/lib/i386-linux-gnu/gstreamer-0.10/libgstvideotestsrc.so
文件名:/usr/lib/i386-linux-gnu/gstreamer-0.10/libgstxvimagesink.so
文件名:/usr/lib/i386-linux-gnu/gstreamer-0.10/libgstautodetect.so

可能的原因:您可能安装了多个版本的gstreamer

P.S. xvimagesink 通常仅在您有显卡或图形硬件时才有效

关于linux - gstreamer:没有这样的元素或插件 'videotestsrc',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25378985/

相关文章:

linux - 在哪里找到卸载文件

python - 使用 pip 安装 python 包手册页

linux - 获取通过 COM1 通信的 pid

c++ - 如何更改 Amazon kinesis_video_gstreamer_sample_app.cpp 中的视频源?

networking - GStreamer:通过网络传输 vorbis 编码的音频

gstreamer - 如何继承插件提供的元素类型?

linux - AWK分隔符的顺序是否影响分割结果

php - 我应该使用 "| at now"还是符号 (&) 在后台运行脚本?

android - 如何在Android中查看Gstreamer日志?

python - DrawingArea 无法获取 XID