Hi community, I’m really new here, so please be kind enough if I do something wrong!
I been using Linux for a while, and I only use Windows for some programs that aren’t supported on Linux. The mission planner alternative, APM planner works neatly on Linux but lacks support for directly viewing fpv stream with(or without) OSD. (And I also think it’s outdated) This made me choose q ground control instead.
I have a 5.8mhz UVC receiver that connects to my laptop via USB and it is detectable using programs like webcamoid.
I followed all the commands shown here:
And found some useful commands at here
This file has been truncated.
## Video Streaming
For supported platforms, QGroundControl implements an UDP RTP and RSTP video streaming receiver in its Main Flight Display. It uses GStreamer and a stripped down version of QtGstreamer. We've standardized on **GStreamer 1.14.4**. It has been reliable and we will be using it until a good reason to change it surfaces. Newer versions of GStreamer may break the build as some dependent libraries may change.
To build video streaming support, you will need to install the GStreamer development packages for the desired target platform.
If you do have the proper GStreamer development libraries installed where QGC looks for it, the QGC build system will automatically use it and build video streaming support. If you would like to disable video streaming support, you can add **DISABLE_VIDEOSTREAMING** to the **DEFINES** build variable.
### Gstreamer logs
For cases, when it is need to have more control over gstreamer logging than is availabe via QGroundControl's UI, it is possible to configure gstreamer logging via environment variables. Please see https://developer.gnome.org/gstreamer/stable/gst-running.html for details.
### UDP Pipeline
For the time being, the RTP UDP pipeline is somewhat hardcoded, using h.264 or h.265. It's best to use a camera capable of hardware encoding either h.264 (such as the Logitech C920) or h.265. On the sender end, for RTP (UDP Streaming) you would run something like this:
gst-launch-1.0 uvch264src initial-bitrate=1000000 average-bitrate=1000000 iframe-period=1000 device=/dev/video0 name=src auto-start=true src.vidsrc ! video/x-h264,width=1920,height=1080,framerate=24/1 ! h264parse ! rtph264pay ! udpsink host=xxx.xxx.xxx.xxx port=5600
for video streaming
however, I never succeed to feed video feed to q ground control.
on webcamoid my receiver is shown as usb webcam and is usually mounted at /dev/video2
I would appreciate any help, even if your solution doesn’t work.
Thanks for reading!