3

I have (had) a little python based web server that I used with a Pi4 with a NOIR camera to periodically watch my workbench when I wasn't there. It is (was) using picamera, which it seems isn't going to be supported going forward. So is there an equivalent project based on libcamera that will make an http server that just serves a simple frame window with streaming MJPEG in it?

nsayer
  • 400
  • 1
  • 4
  • 13

2 Answers2

1

If you haven't already come across it, the alpha release of Picamera2 has many useful examples of controlling the libcamera stack with Python. The mjpeg-server.py example 'does what it says on the tin'. https://github.com/raspberrypi/picamera2

Sandy
  • 11
  • 3
0

If you are good with mp4/h264 too, try fmp4streamer. It uses the old camera stack's v4l2 driver (bcm2835-camera).

soyer
  • 161
  • 5