intel-aero / meta-intel-aero

Yocto layer to support Intel Aero platform
https://github.com/intel-aero/meta-intel-aero
GNU General Public License v2.0
217 stars 119 forks source link

access camera with ssh #385

Open mymultiverse opened 5 years ago

mymultiverse commented 5 years ago

I am trying to take video from Intel aero drone through ssh on another system. When I run:-

sudo gst-launch-1.0 v4l2src device=/dev/video13 ! xvimagesink

I am getting following erros:-

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Could not initialise Xv output
Additional debug info:
xvimagesink.c(1760): gst_xv_image_sink_open (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
Could not open display (null)
Setting pipeline to NULL ...
Freeing pipeline ...
zehortigoza commented 5 years ago

You need to set display variable first: export DISPLAY=:0 this way the output will go to the micro-HDMI port.