我的系统由以下部分组成:
- 树莓派
- 拉比杰西精简版
- gstreamer0.10 安装了基本/好/坏/丑陋的插件
- 交叉编译Qt5.6.1
目标是使用 gstreamer 作为 QtMultimedia 后端。它适用于音频,但找不到合适的视频接收器。 我在文档和 Debian 软件包中进行了搜索,但我不明白在哪里可以找到基于 OpenGL 的视频接收器!
编辑:
尝试使用 gstreamer-1.8.2(消息翻译成英文)
gst-launch-1.0 videotestsrc ! glimagesink
Set the pipeline to PAUSED ...
ERROR: unable to pause pipeline.
Got context from element 'sink': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
ERROR: from element /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink: Failed to connect to X display server
Further debug information:
gstglimagesink.c(833): _ensure_gl_setup (): /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink
Set pipeline to NULL ...
Execution of free on pipeline...
为什么它会尝试连接到 X-server?
最佳答案
这可能会有点晚,但是这两个都可以在我的笔记本电脑上使用 GStreamer 1.9.90 的虚拟控制台中工作:
gst-launch-1.0 videotestsrc ! intervideosink # internal video sink
gst-launch-1.0 videotestsrc ! aasink # ascii-art video sink
他们都没有尝试连接到 X。
关于linux - gstreamer0.10 没有 X 的视频接收器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37810364/