Home        Store        Learn        Blog

Streaming video from a Raspi w/Webcam to Qgroundcontrol

Im currently trying to get video streaming from a webcam using a raspi over network to QGC. I have had successes using a pie camera. but none using a webcam i can get gstreamer to pull up H.264 video feed from the Pi using

PC: ```
gst-launch-1.0 -e -v udpsrc port=5001 ! ^
application/x-rtp, encoding-name=JPEG,payload=26 ! ^
rtpjpegdepay ! jpegdec ! ^

PI: ```
gst-launch-1.0 -v v4l2src device=/dev/video0  \
! "image/jpeg,width=1280, height=720,framerate=30/1" \
! rtpjpegpay \
! udpsink host=$myip port=$myport

But I have found no way to pull that stream into QGC. Any help would be appreciated Im at loss at the moment.

Hi @mccreery93,

application/x-rtp, encoding-name=JPEG is not h264. You can try using MJPEG instead, as it is supported by QGC.

same situation i get a pop up window for Gstreamer with video but nothing in QGC.