MediaMTX

https://github.com/bluenviron/mediamtx?tab=readme-ov-file#raspberry-pi-cameras
https://www.digikey.de/en/maker/projects/stream-live-video-over-rtsp-from-your-raspberry-pi/e7f81253dfd443838fca109f3c1e6c92
https://fatvalley.at/blog/videostreaming-von-raspi-mediamtx-zu-janus-webrtc-server

https://github.com/bluenviron/mediamtx
https://github.com/bluenviron/mediamtx/releases
https://github.com/bluenviron/mediamtx/releases/download/v1.11.2/mediamtx_v1.11.2_linux_arm64v8.tar.gz

Raspberry Pi OS Lite (64-bit) – Bookworm

sudo apt update && sudo apt -y full-upgrade && sudo reboot

sudo -s
wget https://github.com/bluenviron/mediamtx/releases/download/v1.11.2/mediamtx_v1.11.2_linux_arm64v8.tar.gz
tar -xvf mediamtx_v1.11.2_linux_arm64v8.tar.gz
mv mediamtx /usr/local/bin
mkdir /etc/mediamtx
mv mediamtx.yml /etc/mediamtx
nano /etc/mediamtx/mediamtx.yml
— den Teil nach paths: ersetzen (ergänzen) —
paths:
cam:
source: rpiCamera
all_others:
— —

nano /etc/systemd/system/mediamtx.service
— Datei neu erzeugen —
[Unit]
Wants=network.target

[Service]
ExecStart=/usr/local/bin/mediamtx /etc/mediamtx/mediamtx.yml

[Install]
WantedBy=multi-user.target
— —

systemctl daemon-reload
systemctl enable mediamtx.service
systemctl start mediamtx.service
systemctl status mediamtx.service

— Stream URL —

rtsp://192.168.176.40:8554/cam

http://192.168.178.40:8889/cam/

— Nützliches —
Anzeigen der Kameras:
v4l2-ctl –list-devices

libcamera-hello –list-cameras