AnsweredAssumed Answered

How to use ximagesrc on imx6dl ?

Question asked by kun zhang on Dec 4, 2018
Latest reply on Dec 5, 2018 by kun zhang

root@imx6qsabresd:/App# gst-launch-1.0 ximagesrc num-buffers=1 pngenc ! filesink location=test.png

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstXImageSrc:ximagesrc0: Could not open X display for reading
Additional debug info:
../../../gst-plugins-good-1.8.1/sys/ximage/gstximagesrc.c(160): gst_ximage_src_open_display (): /GstPipeline:pipeline0/GstXImageSrc:ximagesrc0:
NULL returned from getting xcontext
Setting pipeline to NULL ...
Freeing pipeline ...

Outcomes