GStreamer 1.0 autovideosink无法初始化Xv输出

时间:2018-06-27 06:09:41

标签: c ubuntu-14.04 gstreamer gst-launch-1.0

我有使用GStreamer的C代码。我刚刚在Ubuntu 14.04.5 LTS上安装了gst-launch-1.0,之后我通过命令验证了可以正常安装

  

gst-inspect-1.0 fakesrc

会打印出与此相关的信息。也已通过

进行了检查
  

gst-launch-1.0 -v fakesrc silence = false num-buffers = 3!假水槽   silent = false

命令会产生输出。但是当我尝试通过运行

测试显示的视频时
  

gst-launch-1.0 videotestsrc!视频转换!自动视频接收器

它在日志下面给了我

Setting pipeline to PAUSED ...
libEGL warning: DRI2: xcb_connect failed
libEGL warning: DRI2: xcb_connect failed
libEGL warning: GLX: failed to load GLX
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstXvImageSink:autovideosink0-actual-sink-xvimage: Could not initialise Xv output
Additional debug info:
xvimagesink.c(1765): gst_xvimagesink_open (): /GstXvImageSink:autovideosink0-actual-sink-xvimage:
Could not open display (null)
Setting pipeline to NULL ...
Freeing pipeline ...

请帮助。

0 个答案:

没有答案