Hey everyone,
I’ve been having an on going issue with qgc and the gstreamer video stream being grey with the exception of the occasional frame coming thru…
I have tried this with the raspberry pi camera v2.1 and the logitech c920. Both with the same outcome.
I’ve tried these gstreamer pipelines:
I get the pipeline and the stream up and running with:
raspivid -n -w 1280 -h 720 -b 1000000 -fps 15 -t 0 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=10 pt=96 ! udpsink host=<remote_ip> port=5600
And I am using the standard raspberry pi camera on a raspberry pi 4 and streaming over 4g.
The issue is that most of the frames are grey and only a few of them comes through and showing the correct image. Is that something you might know how to fix?
@Jqkern This sounds like this is coming from your pipeline configurations, and also depends on which camera you are using .etc.
I am not sure what the correct configs should look like, but you can have a look at how you can configure your gstreamer pipeline correctly in the gstreamer documentation https://gstreamer.freedesktop.org/documentation/
I suggest that you first play around configs on your laptop with your camera first to figure out what configurations work for you and then move on to rpi cameras than shooting in the dark with the pi
Having a glimpse at your pipeline, using fdsrc might be the wrong approach