HDMI back to mission planner


#1

Hi Caleb,
I am interested in learning how to get camera view (say from GoPro) in hdmi sent back to the ground station mission planner window. Can you assist or provide any pointers?


#2

Hi there @Dirkfloyd0!

I don’t have direct experience streaming to Mission Planner, but I know it can be done. It looks like the program gstreamer is a crucial element of achieving this.

These were some instructions from someone at ArduPilot who accomplished this
(Source: https://discuss.ardupilot.org/t/udp-video-stream-in-mp-hud/16003/31)

1/ both MP (on my windows desktop PC) and RPI4 (on quad) is on same WiFi LAN.
2/ same command executed in RPI4 , except usdpsink host is my windows IP (from same wifi lan)

![raspvid_gstreamer.png](https://discuss.ardupilot.org/uploads/default/original/3X/6/a/6a391d22825a2bf1aa12a61f8ad793d749668448.png)

3/ open MP -->Connect to Pixhawk (COM3 etc.) --> Ctrl+F–>press “gstream” ==>> this will install Gstreamer in C:\ProgramData\Mission Planner\gstreamer\1.0\x86_64\bin\gst-launch-1.0.exe
3/ restart MP (do not take any action, like pressing connect etc.). You will see video in HUD Area . see MP console logs [MP_console_log_20191128_A.txt](https://discuss.ardupilot.org/uploads/short-url/5kiCDn2KMvH7W4g047Xpkm7bGrQ.txt) (15.4 KB)
… you can see line number 148 where gst-launch is getting executed."

#3

If I got this right, the link discusses a video stream, eg, from a companion source, via UDP. But to simply get it streamed to the HUD from a camera directly (as with FPV), you use the setting in MP “Planner>Video Device”. Ctrl-F “OSD Video” will turn on the HUD overlay.

(I would add a screenshot, but I seem to have forgotten how to do this. I don’t see an upload button.)


#4

Thanks Jax200
I will look further into this once I finish my courses. Appreciate your many comments to this forum!