Hi,
I’m slowly plugging away in setting up the electronics, companion and camera system. I’m running into an issue where in BlueOS, I can see that it is streaming and the camera is detectable.
However, at the top, I also see the following message:
This message is the same if I change the endpoint to udp://192.168.2.1:5600.
When I start Cockpit and head over to Video, there are no Streams being mapped:
I came upon this thread: https://discuss.bluerobotics.com/t/usb-camera-setup/16802/9
but still a bit lost - Do I need to add a stream via RTSP like Tony mentioned - or did I miss something not related?
The hardware that I am using is:
Innodisk EV2U-SGR1
1920 x 1080 @ 30fps
low-light
USB2.0 and UVC-compliant
Companion Computer: Raspberry Pi 4b
Regards,
Ron.
Hi @blacksheep -
It looks like your camera only has an MJPG stream available - do you see a /dev/video# device that has H264 available?
While (limited) MJPG support is available, this type of video is not compatible with QGround Control, and only works with Cockpit in limited circumstances - @joaoantoniocardoso can comment on this. It also uses an incredible amount of bandwidth! If H264 is not available from your camera, your best option may be using a different camera…
The thread you link to was referring to RTSP in reference to IP cameras that make that type of stream available. It is possible to setup your USB camera to output a RTSP stream, rather than UDP as you’ve shown configured.
Thanks Tony - much appreciated on the explanation. You’re correct - this camera does not have H264 camera support and only MJPG. And I read a bit more about MJPG as to why it uses a lot of bandwidth and why H264 is used.
To pipe MJPEG to RTSP, I would first have to convert the MJPEG into H264 before sending it out. Seems like a bit of work for now and I have a deadline for this first phase.
In the meantime, I’ve ordered another camera from RobotShop and hopefully, it will arrive in time before this weekend - planning a submerge test for the electronics enclosure. This first test will be using POE++. The temporary RAILs are made with SLS (surprisingly it has very little flex) and to minimize on the flex, I’ve modified the circular plates with added ‘feet’ that extends about 4mm each end to support the mid-section as well as at the end-caps.
Unfortunately, the full system won’t be ready until next month when the rest of BRs components from RobotShop arrives - can’t wait!