linux - gstreamer0.10 没有 X 的视频接收器

标签 linux video-streaming cross-compiling gstreamer

我的系统由以下部分组成:

  • 树莓派
  • 拉比杰西精简版
  • 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/

相关文章:

objective-c - 在 iOS 中使用 ffmpeg 录制 rtsp 流

windows - 为 Windows 98 编译 Qt

c++ - 为什么 gdb 不能显示调试信息?

c++ - fork 和 pipeline 错误文件描述符错误

linux - 重新定义信号处理缺陷

c - 如何调试/跟踪套接字编程

android - 屏幕旋转停止视频传输

c++ - 异步 IO 中实际发生的情况

video - 如何使用 ffmpeg 以特定比特率保存视频?

android - 交叉编译时链接到共享对象库 (.so)