So, I am also trying to integrate a MJPG stream.
I’m actually trying to troubleshoot another issue, but I’m currently away from our ROV. My goal is to integrate an off-the-shelf camera with a ROV clone (just the Pi4+Navigator). In my infinite wisdom, I left the spare BR low-light camera in our lab and won’t have it for the next month of testing. Thus, I assumed any USB camera would suffice.
When I plugged in the camera to the USB 3.0 port on the Pi, I only see 2 options for the stream encoding.
The MJPG allows for 30fps, while YUYV only allows for 1fps for me. It appears that I can create a UDP stream, as sometimes the stream will be created, and I can view it in VLC using the SDP link. The UDP address doesn’t show anything on VLC.
More often than not, after restarting the Pi, the stream works for the first minute or two (on VLC), then cuts out and will not be accessible from VLC. During none of this time is the stream visible on QGC or Cockpit. Also, the BlueOS video streams page often automatically deletes the video stream or displays a timeout or no video streams available error.
My question: is the MJPG-encoded camera able to be displayed on QGC? Based on the fact I can sometimes see it on VLC, I assume video is being sent, but I can’t quite tell.

