setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. WARNING: from element /GstPipeline:pipeline0/GstWaylandSink:waylandsink0: Could not initialise Wayland output Additional debug info: gstwaylandsink.c(333): gst_wayland_sink_find_display (): /GstPipeline:pipeline0/GstWaylandSink:waylandsink0: Failed to create GstWlDisplay: 'Failed to connect to the wayland display '(default)'' Setting pipeline to NULL ... Freeing pipeline ... framerate=30/1 ! queue ! jpegdec ! videoconvert ! waylandsinkh=1920,height=1080,f Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. WARNING: from element /GstPipeline:pipeline0/GstWaylandSink:waylandsink0: Could not initialise Wayland output Additional debug info: gstwaylandsink.c(333): gst_wayland_sink_find_display (): /GstPipeline:pipeline0/GstWaylandSink:waylandsink0: Failed to create GstWlDisplay: 'Failed to connect to the wayland display '(default)'' Setting pipeline to NULL ... Freeing pipeline ...
时间: 2024-02-12 07:07:13 浏览: 517
这个错误通常是由于 GStreamer 使用的 Wayland 显示服务器连接失败引起的。
你可以尝试以下解决方法:
1. 检查 Wayland 显示服务器连接:检查 Wayland 显示服务器是否正确连接。你可以使用以下命令来测试 Wayland 连接:
```
$ echo $WAYLAND_DISPLAY
```
如果输出为空,说明 Wayland 显示服务器没有正确连接。你可以尝试重新启动 Wayland 显示服务器或者重新连接。
2. 检查 GStreamer 插件:检查是否安装了 GStreamer 的 Wayland 插件。你可以通过以下命令来查看已安装的插件:
```
$ gst-inspect-1.0 | grep waylandsink
```
如果没有找到 waylandsink 插件,你需要安装 GStreamer 的 Wayland 插件。
3. 检查 GStreamer 配置文件:检查 GStreamer 配置文件是否正确。你可以尝试删除 ~/.config/gstreamer-1.0 目录并重启 GStreamer。
如果以上方法都没有解决问题,你可以考虑升级 GStreamer 或者重新编译 GStreamer 插件来解决问题。
阅读全文
相关推荐














