Hi,
I’m having trouble getting a video stream to show up in Cockpit. The stream shows up in BlueOS, but doesn’t show up in Cockpit. I tried both web and desktop versions of Cockpit, as well as beta versions.
See the attached screenshots.
I’m currently running:
BlueOS Version: tags/1.5.0-beta.36-0-g279476b6Bootstrap Version: 1.5.0-beta.36
running on Raspberry Pi 4B
Cockpit 1.18.0-beta.17
ArduPilot 4.5.7 Running on Holybro Pixhawk 4
The camera is Waveshare IMX335
I am able to get the stream in QGroundControl through RTSP
Thanks for any help!
Hey Dominik!
The stream is not showing in Cockpit because it is configured as MJPG in BlueOS, and we only support H264.
Can you check in the stream configuration in BlueOS if you can set the encoding to H264? There’s a chance that your camera show up as two devices in the Video Streams page and one of them has the H264 support (that’s the case for Blue Robotics USB camera, for example).
I can only set it as MJPG or YUYV
Got it. Let me explain why it doesn’t work and what you could do instead.
Cockpit uses Chromium under the hood. Chromium does not support MJPG streams in
In your place I would setup a MediaMTX server on your top-side computer and use it to convert the MJPG/YUYV stream to H264, as an RTSP stream, so you can connect Cockpit to it. To use direct RTSP streams, make sure to use Cockpit 1.18.0 (in Beta right now).