<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>I am trying to get video with gstreamer from a Flir Lepton
thermal camera over SPI and I get a green screen. The captured
frame is a numpy array of unint8 which I convert to Gst.Buffer and
the pipeline I use is: <br>
</p>
<blockquote>
<p>appsrc emit-signals=True is-live=True caps=video/x-raw,
format=RGB, width=640, height=480, framerate=9/1 ! videoconvert
! xvimagesink sync=false</p>
</blockquote>
<p>For the conversion I do:<br>
</p>
<blockquote>
<p>gst_buffer = utils.ndarray_to_gst_buffer(array)</p>
</blockquote>
<p>In fact,I am using jackersson's example (from <a
href="http://lifestyletransfer.com/how-to-use-gstreamer-appsrc-in-python/">http://lifestyletransfer.com/how-to-use-gstreamer-appsrc-in-python/</a>)
with a different source. <br>
</p>
<p>The implementation is in Python on an nvidia Xavier. I tested the
VoSPI with Opencv and I get correct output. I tried slight
variations of the above pipeline, with ximagesink,
autovideosink,less caps or GRAY8 format. Can someone help me with
why I get green screen and how can I debug and fix it?<br>
</p>
</body>
</html>