<div dir="ltr">Hello Katerina.<div><br></div><div>It looks like your question is too generic. In your case, I'm not sure at the two sings: buffers form NumPy array and camera's output. Are you sure that the camera outputs the correct video frames? Are you able to dump it and see?</div><div><br></div><div>Best regards,</div><div>Anton.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 29, 2020 at 11:05 PM Katerina Voulgary <<a href="mailto:katerina.voulgari@iccs.gr">katerina.voulgari@iccs.gr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<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/" target="_blank">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>
</div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>