gstreamer-green screen output

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

gstreamer-green screen output

Katerina Voulgary

Hello,

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:

appsrc emit-signals=True is-live=True caps=video/x-raw, format=RGB, width=640, height=480, framerate=9/1 ! videoconvert ! xvimagesink sync=false

For the conversion I do:

gst_buffer = utils.ndarray_to_gst_buffer(array)

In fact,I am using jackersson's example (from http://lifestyletransfer.com/how-to-use-gstreamer-appsrc-in-python/) with a different source.

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?


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer-green screen output

Toshick
Hello Katerina.

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?

Best regards,
Anton.

On Sat, Aug 29, 2020 at 11:05 PM Katerina Voulgary <[hidden email]> wrote:

Hello,

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:

appsrc emit-signals=True is-live=True caps=video/x-raw, format=RGB, width=640, height=480, framerate=9/1 ! videoconvert ! xvimagesink sync=false

For the conversion I do:

gst_buffer = utils.ndarray_to_gst_buffer(array)

In fact,I am using jackersson's example (from http://lifestyletransfer.com/how-to-use-gstreamer-appsrc-in-python/) with a different source.

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?

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel