errors when run ximagesink/xvimagesink on imx8mm board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

errors when run ximagesink/xvimagesink on imx8mm board

1,204 次查看
GUOZ26
Contributor I

Hi all,

I was trying gstreamer with xvimagesink/ximagesink on imx8mm board, and gstvideooverlay program. The error information are listed:

# gst-launch-1.0 videotestsrc ! videoconvert ! ximagesink
Setting pipeline to PAUSED ...
ERROR: from element /GstPipeline:pipeline0/GstXImageSink:ximagesink0: Could not initialise X output
Additional debug info:
../sys/ximage/ximagesink.c(867): gst_x_image_sink_xcontext_get (): /GstPipeline:pipeline0/GstXImageSink:ximagesink0:
Could not open display
ERROR: pipeline doesn't want to preroll.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...

-------------------------------------------------------------

# ./overlay
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.
QMetaObject::invokeMethod: No such method MainWindow::quit()

Any suggestions about how to debug? Thanks for your reply.

BR

GUO

@gstreamer imx8mm ximagesink xvimagesink

标记 (2)
0 项奖励
回复
1 回复

1,198 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @GUOZ26 

1.make sure you are using fsl-imx-xwayland

2.Please try use 'export DISPLAY=:0' before you running ximagesink

0 项奖励
回复