Server / Chipsets / Raspberry Pi

CameraStack on
Raspberry Pi.

Ready-made camera software for Raspberry Pi: capture, hardware encode, RTSP streaming and a standards-compliant ONVIF interface, turning a Pi with a camera module into a network camera.

Available reference platform Class / Embedded Linux

On this silicon

What runs today.

  • 01 Sensor capture
  • 02 Hardware video encode
  • 03 RTSP streaming
  • 04 ONVIF services

How this port works

Raspberry Pi ships a vendor GStreamer stack, so the CameraStack plugin here is the thin shape: it describes the platform’s capture and encode elements, and the portable core builds and runs the pipeline in-process. Hardware differences stay contained in one small adapter; the core is identical to every other platform.

Delivery is flexible on GStreamer platforms too: streams can be served through GStreamer’s own RTSP server, or through the portable core’s delivery engine, the same one used on every platform, which supports the full RTSP transport family, including TLS, RTSP-over-HTTP tunnelling and RTSP-over-WebSocket.

pi3 / live stream probe
$ ffprobe rtsp://<user>:<pass>@pi3.lan:8554/onvif/Profile_1
ffprobe version 7.1.1-1ubuntu4.2 Copyright (c) 2007-2025 the FFmpeg developers
  ...
Input #0, rtsp, from 'rtsp://<user>:<pass>@pi3.lan:8554/onvif/Profile_1':
  Metadata:
    title           : CameraStack Server (rPi3B)
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: h264 (Baseline), yuv420p(progressive), 1280x720, 15 fps, 15 tbr, 90k tbn
  Stream #0:1: Data: none

The probe's second track is the ONVIF metadata stream, where analytics and events travel alongside the video.

Build on it

Designing a
Pi-based product?

Plenty of real products ship on Pi compute modules. If yours needs to be a camera, the stack is already ported. Use it as the complete camera stack or as a drop-in ONVIF interface.

Talk to us about Raspberry Pi