Camera stream for rPi

Hi all. I’m struggling to get a camera running with raspberry pi. It’s annoying - earlier I used RaspiCAM with great success. Now that Raspberry Pi OS has moved to libcam(both bookworm and bullseye(legacy). Raspicam has become difficult to get it to work. I’ve looked into medamtx, but it’s super bloated for my use. Libcam has the option to stream h264 over RTC, which works well, but I want to set it up to autostart, and then things get complicated again. Motion is an option, but that suite seems to grow a little stale as well…

I just want a simple way to hook up a camera to a pi and move it around to keep an eye on things! (plotting or printing) Anyone got an idea?

1 Like

Can libcam be ran via bash commands? You can add it to the rc.local and it will run automatically.

I haven’t looked at it in a long time. But it seems like a good application and I would have guesses there are 100 guides.

It can be hard to find new ones though. When the old guides were so popular.

1 Like

Yeah, that’s my plan if nothing simpler comes along.

The guides for setting up stuff on a pi is quite chaotic. There are so many versions, systems and peripherals. I think that it might be a good idea to skip the whole “rpi universal” approach. Perhaps it’s better to phrase it as “setting up camera on debian 12”, and take it from there.

The rtc protocol is a little confusing. I’d prefer a proper web service. These two looks promising:

Ustreamer even got updated bookworm support.

1 Like

camera-streamer is what octoprint switched to with the changes in the latest raspberry pi camera.