Activating Raspberry Pi Camera Module 3 in BlueOS via Docker on Raspberry Pi 5

Hi Eliot!

Thank you for your response; I’ll be looking forward to Raspberry Pi camera support implementation.

Leaving this here, it might be useful for someone.
At the moment, I’ve managed to set up a stream from the host to QGC via GStreamer and libcamerasrc, but the stream is not very good quality with a delay of several seconds and regular interruptions.
I installed GStreamer on the host with the command: sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-plugins-ugly gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-gl gstreamer1.0-plugins-base-apps libcamera-dev gstreamer1.0-libcamera

For the stream, I use the pipeline:
gst-launch-1.0 -v libcamerasrc ! video/x-raw, format=RGBx, width=1920, height=1080, framerate=30/1 ! timeoverlay ! videoconvert ! video/x-raw,format=I420 ! x264enc ! rtph264pay config-interval=-1 ! udpsink host=192.168.2.1 port=5600 sync=false async=true

Instead of x264enc, you can specify openh264enc, which will reduce CPU load.

3 Likes