Hi everybody, I have seen that from the last version of Mission Planner 1.3.50, it is possible to stream video directly to the HUD. Before I was doing that streaming to GStreamerHUDApp using this stream pipeline from the Raspberry:
raspivid -t 999999 -h 720 -w 1080 -fps 25 -b 500000 -o - | nohup gst-launch-1.0 -e -vvv fdsrc ! h264parse ! rtph264pay pt=96 config-interval=5 ! udpsink host=2.192.4.84 port=9000
and this to receive in the GStreamerHUDApp:
udpsrc port=9000 buffer-size=60000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! queue ! avdec_h264
Now I have tried to use the same, but it is not working. I have noticed that above the space to add the pipeline in Mission Planner is written Ensure the final type is jpeg data (avenc_pjpeg) , but unfortunately from when I wrote my pipeline, I can’t recover the original pipeline to use it as example.
Can you tell me the original pipeline? And maybe also an example of transmitting and receiving pipelines?
year ago I succesfully send stream of Xplane to HUD in MP (from 1 PC with Xplane to another with MP via TCP), I cant remember exactly pipeline, but according to notes in MP source code this pipelines should work (for source and for MP):
I have tried the others you proposed, but I am not able to stream from the Rpi Cam. Honestly I am quite a newbie in GStreamer, so I don’t know exactly if what I am doing is really correct. Can you have a look and let me know if I can improve?