Video surveillance · AI vision

Rutba Vision

A distributed video surveillance and AI vision platform for camera networks at the scale where an NVR stops coping. Each site runs on its own nodes and keeps its own footage, a hub at HQ brings the sites into one picture, and the parts that define the product (how video comes in, is stored, moves, is analysed, is found and leaves) are our own code. Each camera is pulled once and recorded without being decoded, and AI is switched on per camera, so you pay for inference only where it earns its keep.

Rutba Vision distributed ai video platform
Unit A node: core, edge, analysis Sites Stand alone, uplink to a hub Footage Stays where it was recorded Recording Never decoded, hashed
Watch the film · 2:22

Rutba Vision: distributed video surveillance, AI per camera, footage kept on site

Rutba Vision is a distributed video surveillance and AI vision platform for camera networks that have outgrown a single recorder.

Plays from YouTube, with English subtitles. Nothing is loaded from YouTube until you press play. Watch it on YouTube, or see more films on the Tech Style channel.

See more, know more, act faster: AI-powered video surveillance turning live video into searchable, actionable intelligence, with real-time person and vehicle detection and event analysis.
The problem

Camera systems don't fail at ten. They fail at a hundred and fifty.

A handful of cameras is a product you buy. A hundred and fifty writing terabytes a day is an operations problem, and it fails in the same ways every time:

  • The disks fill and recording silently stops
  • The event database bloats until queries time out
  • A camera drifts off the clock and its footage stops counting as evidence
  • One box is the whole system, so one failure is an outage
  • Every change is forty clicks that nobody can review or roll back

Rutba Vision is built around those failures. Cameras are declared in one file. Each edge node's storage guard enforces retention and free space itself. Metadata is kept in one file per day, so expiring it is deleting a file and nothing bloats. Camera clocks are checked on a schedule. And cameras are assigned to nodes rather than tied to one, so when a node dies its cameras move to the others within seconds.

Configuration
One declarative file, no generated config
Camera load
One connection per camera, fanned out
AI
Enabled and tuned per camera
Failover
Cameras move to another node
Recording is the floor, not the feature. Nothing above the recorder can stop the recorder. Detection, AI, indexing and distribution can all be down, and footage is still written, catalogued and retained correctly.
What it is built on

Four commitments

1

Distributed by default

Every machine runs the same node agent. Cameras are assigned to nodes, not configured onto them, and move when a node dies. One node is simply the smallest cluster.

2

Distribution designed in

Streams, events, clips and metrics each have a defined way out: RTSP and HTTP outputs, webhooks, MQTT, signed share links, and a site-to-hub uplink that stores and forwards.

3

Consolidation

Sites uplink to a hub, and hubs to a higher hub. The hub holds one index, one monitor and one search across the sites, while footage stays on the site that recorded it unless policy says otherwise.

4

Our own stack

The bus, the media relay, the container format, the recorder, the store, the rules engine, the search, the console and the CLI are our code. Third-party parts are used only where rebuilding them is unreasonable, each behind one interface of ours.

Sites and HQ

Sites stand alone. HQ sees them together.

Each site records and analyses its own cameras and keeps its own footage. Sites dial out to the hub over TLS, so no site needs an inbound port, and a site's uplink keeps a 30-day outbox that drains in order when the WAN comes back. The hub holds the sites' events, incidents, tracks, thumbnails and health in one store, and asks a site for footage only when someone opens it.

PEOPLE HQ management all sites at a glance Security operators live view · alerts Investigators search · cases CONSOLIDATION HUB · HQ Hub console search · health Consolidated store every site's metadata Hub bus uplinks in cross-site search · monitoring · incidents · thumbnails cross-site view More sites and regional hubs uplink WAN metadata up · store-and-forward footage on demand SITE A · WAREHOUSE 150 cameras · 5 nodes core analysis edge edge edge cameras move between edge nodes if one fails SITE B · PLANT 40 cameras · 1 node all-in-one node core · edge · analysis same software, smaller footprint SITE C · BRANCH 8 cameras · 1 node all-in-one node core · edge · analysis feeds enterprise systems the way every site does live · playback evidence ENTERPRISE SYSTEMS Video wall · VMS pulls RTSP from us ERP · ticketing incidents → tickets Plant · BMS doors, lights, alarms RTSP out webhooks MQTT Camera VLAN · 150 IP cameras 40 IP cameras 8 IP cameras RTSP/TCP
An example estate: a 150-camera warehouse on five nodes, and a plant and a branch on one node each, all running the same software.

Same software at every size

A branch with a handful of cameras runs the core, edge and analysis roles on one machine. A large site spreads them over several. Nothing changes but the node count.

Hubs above hubs

A regional hub can uplink to a national one, so consolidation follows the way the organisation is run rather than the way the network happens to be wired.

Nothing lost on a bad line

The outbox only moves on when the hub acknowledges, so a WAN outage of days loses nothing. The hub shows the site as stale, not missing.

Footage on demand

Clips and segments are fetched from the site that owns them, over the same uplink, when someone asks. The WAN carries meaning, not continuous video.

One view for HQ

Management sees the sites at a glance from the hub, operators get live view and alerts, and investigators search across sites and keep what they find in cases.

Feeds the systems you run

Video walls and other VMS pull RTSP from Rutba Vision instead of from the cameras. Incidents open tickets in ERP and service desks over signed webhooks, and plant and building systems get doors, lights and alarms over MQTT.

Inside a site

One pull per camera. Meaning travels on the bus.

A site's nodes take three roles. Edge nodes hold the cameras: the relay keeps the only connection to each camera stream and fans it out to the recorder, live view, detection and RTSP out. Analysis nodes run AI and codec work, and you add them as the analytics grow. The core node runs the Vision Bus, the index, the API and console, and the services that turn detections into meaning. One machine can take all three roles, or a site can spread them over several.

IP cameras pulled once per stream Hikvision · ONVIF Video wall · VMS third-party viewers Operators browsers · share links EDGE NODE · ×N PER SITE Relay RTSP in · fan-out Record fMP4 · SHA-256 Media disk segments · catalogue Media endpoint /live /raw /seg 3 Detect motion · objects 2 Storage guard retention · holds 5 RTSP out re-serves cameras FFmpeg decode ONNX infer RTSP/TCP frames write fan-out /raw RTSP prunes ANALYSIS NODE 7 AI analysis colour · CLIP ONNX Runtime + models 6 Codec conversion exports · compat FFmpeg engine det.* · snap rec.seg rec.del snap ↓ ai.enr ↑ job.codec ↓ job.status ↑ VISION BUS ours · durable streams · consumer groups · retained state · request/reply MEDIA · PERCEPTION · EVENTS · JOBS · HEALTH · UPLINK live · segments CORE NODE 1 API & console HTTPS · auth · proxy 4 Aggregate det.* → evt · incidents 9 Tag auto · cases · holds Coordinator node.hb → cluster.assign 10 Search plain language · semantic 8 Index all streams → store 2 Monitor health → alerts · metrics 5 Distribute webhooks · MQTT · uplink Partitioned store catalogue · day files · full text · vectors · embedded SQLite Node agent on every node · restarts queries reads writes HTTPS MSE video ERP · ticketing signed webhooks Plant · BMS MQTT 3.1.1 HQ hub store-and-forward clock sync · device probe (ISAPI / ONVIF)
Video bytes take the direct path from the relay; segments closed, tracks, enrichments, events, tags, alerts and jobs travel as subjects on the Vision Bus, which one index writer turns into a partitioned store.

The ten components

The ten product components of Rutba Vision
ComponentWhat it does
1 · ViewingLive and recorded playback, the timeline and its activity, saved live views, PTZ control, sound and snapshots, through a player of our own.
2 · MonitoringHealth of cameras, nodes, services, storage and clocks; retention enforcement; scheduled upkeep routines; alerts and metrics.
3 · DetectionPer-camera motion, objects, tracking, zones, masks and filters. What is in the frame.
4 · AggregatingRules over tracks in time and space, events, incidents and zone rollups. What it means.
5 · DistributionThe ways data leaves: RTSP out, webhooks, MQTT, share links and the uplink to the hub.
6 · Codec conversionHardware-aware transcoding, browser compatibility, and exports with evidence manifests.
7 · AI analysisEnrichment of tracks: image embeddings, colour attributes and generated descriptions.
8 · IndexingOne writer that turns the event stream into a time-partitioned, searchable store.
9 · TaggingAutomatic and manual tags, cases and evidential holds.
10 · SearchingStructured, keyword, semantic and similarity search, asked in plain language, across sites.
1×

Recording never decodes

The recorder copies the camera's own stream into self-contained fMP4 segments and hashes each file with SHA-256 as it writes. There is no transcoding on the recording path, so recording costs packet handling, not a GPU.

▶

Segments that play on their own

Each segment file plays by itself, the browser appends segments straight to its player, and an export is the segments joined together, with no re-encoding.

✓

Crash-safe writes

Segments are written to a spool and renamed into place, so a crash never leaves half a segment in the catalogue.

⇆

Failover in seconds

The coordinator watches node heartbeats and assigns cameras to nodes. A node silent for 15 seconds loses its cameras to the others and recording resumes there; its earlier footage plays again when it returns.

↦

Video takes the direct path

Live and recorded video reaches the browser through the API, which proxies the edge node that owns the camera. Only meaning rides the bus.

H.264

A fallback only where needed

If a browser cannot decode a camera's H.265, the console asks for H.264 and a hardware transcode is inserted for that one viewer, leaving recording untouched.

Viewing

Live view for the wall, playback for the investigator

The console and its player are ours. Live video plays in the browser through Media Source Extensions with no plug-in, the cameras on a live grid share one connection to the server, and playback marks where the activity was before anyone starts to scrub.

Views made on the wall

A view is made on the live page itself, starting from the grid as it is: drag a tile to move it, drag a corner to resize it, and undo any change. A tile holds one camera, works through the view's cameras in turn, or rotates through a group in sequence or shuffled. Shared views need an operator, and changes to them are audited.

Activity first

Any tile can show the busiest camera first, scored from motion, tracked objects by label and events by severity, fading over about half a minute, and go back to its own camera or rotation when things are quiet. A camera that is always busy shares the wall rather than keeping a tile.

Activity without detection

A camera with detection switched off still shows activity, estimated from the size of its encoded frames with nothing decoded. The console labels it as estimated, because light, rain and wind move it too.

Playback that shows where to look

The playback timeline draws how much happened in each moment and lists the periods worth watching, so an operator steps between them instead of scrubbing. Footage that retention has since removed shows as pruned, not as a gap in recording.

PTZ and motorised lenses

PTZ cameras, over ONVIF or Hikvision ISAPI, move while the button is held and stop when it is released; if the connection drops, the server stops the camera itself. Presets and a home position are kept, the camera returns home after a set time, and detection pauses while it is away, because its zones belong to the home view. Cameras with a motorised zoom or focus lens are found and get the controls their lens has. Both are tested against simulated ONVIF and Hikvision cameras so far, not yet against a real moving camera.

Sound, switched per camera

Live sound is decoded in the browser, so nothing is transcoded for it. Each camera has two switches, one for keeping its sound with the recordings and one for letting people hear it, under a master switch for the site. With listening off, none of that camera's sound reaches live view, playback, RTSP out, share links or exports.

Made for a wall screen

The grid and a running view fill the window, with camera names on the pictures and full screen on one key. A tile opened over the others zooms and pans, and steps to the next camera at once. Each user's choices of gaps, captions and bars are kept on the server, so they follow them to the wall PC.

Server load at a glance

Small meters on the live page show how busy the server's processor, GPU and disks are, coloured by their health, with the figures on hover and the monitor a click away.

The AI layer

Customised per camera, not per system

A car park, a stockroom door and a production line want completely different analytics. Rutba Vision configures motion and object detection, filtering, theft, idle-space and behaviour rules, custom events and enrichment individually, including switching them off entirely on the cameras that only need to record.

Detection & filtering

Per-camera detection

Detection is a per-camera switch with its own stream, resolution and frame rate, so a busy entrance can run rich analytics while a corridor camera costs nothing but disk.

Zones

Define the areas that matter (a doorway, a loading bay, a restricted aisle) and alert on what enters them rather than on everything the lens can see. Zones are drawn relative to the frame, so they survive a change of resolution, and they can be drawn over the camera's picture in the console.

Masks

Exclude the parts of a frame that generate noise: a public pavement, a swaying tree, a neighbouring property you have no business analysing. Flicker that never stops, such as the on-screen clock, a blinking LED or a fan, is learned and left out of motion without a mask.

Object filters

Choose which object classes each camera tracks, with minimum size, ratio and confidence thresholds: the difference between a useful alert stream and one people mute.

Inference hardware

Inference runs through one runtime on a CPU, an Intel GPU or an NVIDIA card. On an Intel or AMD GPU, decoding for detection stays on the card and only the small analysis frames reach the processor. The default detectors are permissively licensed. The choice is configuration, not a different product.

Review & alerting

Detections become tracks with a best-frame snapshot, then events and incidents, routed onward to the systems your team already watches rather than trapped in one console.

Theft & behaviour monitoring

Theft & shrinkage detection

Stock leaving by a route it shouldn't, a vehicle loading outside its window, a pallet that moves after hours. Zones visited in order, line crossings with a direction, dwell thresholds and schedules combine into rules that describe your actual loss paths, so the alert is "goods left the yard through the side gate at 02:14", not "motion detected".

Non-standard behaviour monitoring

Rules describe what should not happen, and when: activity in a building that should be empty, loitering at a gate, someone crossing a line the wrong way, a bay that stays busy long after the shift ended. Each zone's entries, peak count and occupancy are also rolled up minute by minute.

Time-aware rules

The same frame means different things at 14:00 on a working day and 03:00 on a Sunday. Rules carry schedules with their own time zone and holiday dates, so a shift pattern, a delivery window or a closure changes what counts as an exception.

Exceptions that reach someone

Events from nearby cameras are drawn together into one incident with its clips, zones and reasons attached, and routed to the channel your team already watches, so an overnight exception is a message with evidence, not something discovered a week later.

Motion, idle space & custom events

Motion detection

The cheap first pass that gates everything above it: motion measured cell by cell with its own mask, so object detection only runs on frames that actually changed. It also stands on its own: a store cupboard or a plant room can raise events on movement alone, with no inference cost at all.

Idle space detection

The inverse of activity, and often the more valuable half. Zones report occupancy minute by minute (a loading bay empty through a shift, a parking bay free or blocked, a machine standing unattended, a till with nobody on it), turning "is anything happening there?" into utilisation you can report on.

Counts and crossings

How many people are in a zone right now, and for how long; what crossed a line, and in which direction. Each is a rule with its own cameras, labels, schedule and severity.

Custom events

Your own conditions, composed from the same parts: object class, zone, direction, dwell, count, schedule and camera. Events are published over MQTT and signed webhooks with their snapshot and metadata, so they can open a ticket, flag a stock discrepancy, or drive an automation in a system that isn't ours.

Behaviour analytics are tuned in, not switched on. There is no honest "detect theft" checkbox. A fortnight of your site's real footage sets the zones, thresholds and schedules that separate an incident from a delivery driver doing their job, and a review period tunes out false alarms. Idle-space and behaviour rules depend on how a camera is mounted, so we survey which of yours can carry them, and do the tuning camera by camera as part of the deployment.

Enrichment and search

Search in plain language

Ask "red car at the north gate after 10pm yesterday". The search reads the time, camera, colour and object out of the question, shows how it understood it, and ranks the rest by meaning, with each result opening its playback five seconds before the moment.

Semantic and similar

Each tracked object's best frame is embedded as a vector, so footage can be found by describing it, and "find similar" lists the other sightings that look like this one.

Colour attributes

The dominant colours of each object are named and tagged, so "white van" is a filter rather than a guess.

Generated descriptions

Natural-language descriptions of tracked objects from a vision model running on site, for the tracks that matter, so an operator can read what happened overnight instead of watching it.

Faces and plates

Face and plate analyzers plug into the same per-camera analyzer interface, behind compliance settings agreed with your team.

Processed on your hardware

AI is local-first: a remote model endpoint is refused unless you deliberately allow it, because footage leaving the site is a bandwidth decision and a lawful-basis decision.

Sizing is honest, not optimistic. Recording costs packet handling and hashing, a few percent of one processor core per camera. Detection and AI are where the hardware goes, which is why they are switched on per camera: detection runs beside the recorder on the edge node that holds the camera, and AI enrichment on analysis nodes you add as the analytics grow. We size the nodes against your camera count, your retention and the analytics you actually want, and we will tell you when a feature isn't worth its silicon on a given camera.
Camera management

A hundred and fifty cameras, one file

The management model is the part that scales. Cameras are declared in one file that the services read directly, with no generated configuration in between, and the file is reviewable and revertible like any other code. A change reaches the nodes over the bus as a new revision, without restarts. Zones, masks and keep rules can also be drawn over a camera's picture in the console, and are checked against the whole configuration before they apply.

# vision.yml: the single source of truth
defaults:
  user: vision          # a viewing user, not admin
  password_env: CAMERA_PASSWORD
  record: { retain_days: 10 }
  detect: { enabled: false }

cameras:
  - id: gate_north
    ip: 192.168.1.201
    detect: { enabled: true }
    ai: { enabled: true }
    zones:
      gate:
        polygon: [[0.2, 0.55], [0.8, 0.55],
                  [0.95, 1], [0.05, 1]]
    record:
      keep:                     # gate activity
        - { zones: [gate], retain_days: 30 }
      sub: { retain_days: 30 }  # low-res history
  - id: loading_bay
    ip: 192.168.1.205
    record: { audio: true }
  - id: stockroom
    ip: 192.168.1.209
    record: { retain_days: 30 }
  - id: corridor
    ip: 192.168.1.211   # records only

Validate, diff, apply. The file is checked against its schema and cross-references, the diff shows what changes against the running revision, and apply publishes it to the cluster. A hundred-and-fifty-camera site is a hundred and fifty short entries, and secrets never live in the file: it names environment variables, not passwords.

What the tooling does for you

  • Finds ONVIF cameras on the camera VLAN and prints their entries with the stream paths filled in
  • Probes each camera and reports model, firmware, codec, resolution, PTZ support and lens
  • Validates the file and shows a diff before anything is applied
  • Applies changes across the site's nodes without restarting them
  • Checks camera clocks on a schedule, four times a day by default
  • Checks each Hikvision camera's encoder settings daily against its profile, and pushes the profile when an admin runs it, with an undo
  • Changes a camera's picture, day and night mode and microphone from the console, keeping the camera's own settings to restore
  • Switches day and night at set times on Hikvision cameras whose light sensor street lights fool
  • Groups cameras into operator layouts: by building, by priority, by shift
  • Manages console users and their roles from the same CLI
Credentials never travel in a URL. Camera credentials are sent in request headers over the camera VLAN, never embedded in a stream address or written to a log, which also removes the per-firmware workarounds that recorders built on embedded URLs end up needing.

Clock discipline

⏱

Scheduled time sync

Camera clocks are checked against the server's time four times a day, over Hikvision ISAPI or ONVIF. A check only reads; a sync changes only what is wrong, setting the time by hand when a camera is far off, then its NTP server, NTP mode and time zone. Where the camera VLAN has no time server, Rutba Vision answers NTP itself.

⚖

Evidential value

Footage timestamps never depend on a camera's clock: Rutba Vision stamps video as it arrives, in UTC, and shows the site's time zone only at the edges. Drift is still corrected, because it is silent until someone needs the tape.

✓

Verifiable

A single command reports every camera's clock against the server, so "are we in sync?" is a question with an answer.

Reliability

The parts that run while nobody is watching

Most of the engineering here is not in the happy path. It is in what happens on day two hundred, when a disk is nearly full, a node has died, and the person who installed the system has left. Retention, storage pressure, clock drift, index repair and service restarts are handled by the system, measured and reported.

What Rutba Vision does when something fails
WhenWhat happens
A camera drops or rebootsThe relay reconnects with backoff, the monitor marks the camera offline after 60 seconds, and the recorder closes the open segment cleanly.
A camera's clock resets to 1970The scheduled clock sync finds the drift, sets the time by hand, then points the camera at NTP. Footage timestamps never depended on the camera's clock.
An edge node diesIts heartbeat lapses, its cameras are reassigned, and recording resumes on the other nodes. Its footage is marked unavailable, not lost.
A service hangs without dyingThe liveness routine notices a process that is still running but no longer doing its work, such as segments no longer closing or the index no longer committing, and restarts it through its node agent, at most three times in six hours before it leaves it to a person.
The bus restartsIts streams are durable on disk, and each consumer resumes from the last message it acknowledged.
A day of the index is damagedThat day is rebuilt from the node catalogues. Metadata loss is bounded to one day and recoverable; footage is never touched.
A node's catalogue is lostIt is rebuilt from the files on disk: file names carry the time, the files carry their durations, and the hashes are recomputed.
The disks are fillingThe storage guard deletes the footage that expires soonest, never what is on hold or within the minimum retention, forecasts the days left from the measured fill rate, and alerts before it matters.
The WAN to the hub is downThe outbox fills (30 days by default) and drains in order on reconnect. The hub shows the site as stale, not missing.
AI or detection is downRecording, live view, retention and export carry on, and the monitor raises an alert.
📐

Thresholds from measurement

The storage guard forecasts how many days of retention the free space actually buys, from each camera's measured bytes per day, so your thresholds come from your own fill rate, not a round number somebody guessed.

🩹

Repair, not just restart

A node agent on every machine restarts any component that dies, and the operating system supervises the agent. A nightly integrity check finds a damaged day of metadata, which is restored from the node catalogues with one command, so a metadata problem never costs footage.

🗂

Nothing to bloat

Metadata is partitioned by day, so expiring it is deleting a day's file and no file grows without end. A site needs no database server; a hub that consolidates many sites can keep its store in PostgreSQL, a schema per day, dropped whole when it expires.

⚖

Evidence you can defend

Each segment's SHA-256 is recorded as it is written, and an export carries a manifest with those hashes, its own hash, who exported it, when, and the time range: chain of custody by design.

🔒

Holds that retention obeys

An evidential hold on a camera's time range is never deleted, whatever the retention setting or the disk pressure, and can be tied to a case and given an expiry.

📊

Capacity you can see

Storage by camera and by day, a dry run that shows exactly what a cleanup would remove before it removes anything, and a comparison of what the retention tiers need once full with the space usable before the guard starts deleting.

⌛

Keep what matters longer

A camera's footage is kept for its base retention, and footage with confirmed activity in chosen zones for longer: the person at the door, not the traffic on the road beyond it. Nothing is re-encoded; each segment is stamped with how long it is kept.

SD

Low-resolution history

A camera's sub stream can be recorded beside the main one and kept longer, so footage whose full-resolution recording has been pruned still plays, at lower resolution.

⚙

Upkeep you can see

Clock sync, the storage guard, backups, store checks, service liveness, certificate renewal and camera settings checks run as routines, each with a schedule, a run history and a run-now button in the console.

Layers and sourcing

Ours by default, borrowed at the edges

Everything that defines how video enters, is stored, moves, is analysed, is found and leaves is our code. Four engines are borrowed where rebuilding them is unreasonable, for pixel work, inference, the HTTP layer and reading the configuration, and each is reached through one module of ours, so replacing it means replacing that module.

ACROSS EVERY LAYER OURS BORROWED · EACH BEHIND ONE MODULE Security TLS on the API roles: viewer → admin HMAC-signed tokens audit log secrets only in env cameras on own VLAN signed share links Observability heartbeats every 10 s alerts raise · clear /metrics endpoint bus consumer lag storage forecast Governance per-camera retention evidential holds cases with snapshots SHA-256 manifests local-first AI footage stays on site EXPERIENCE people and tools Console · own MSE player vision CLI Share pages HTTP API v1 ACCESS use and operate 1Viewing 10Searching 5Distribution 2Monitoring MEANING what it means 4Aggregating 9Tagging 8Indexing PERCEPTION what is seen 3Detection 7AI analysis MEDIA video in and out Relay · RTSP in Record · fMP4 6Codec conversion PLATFORM shared, ours Vision Bus Store + vectors Agent · coordinator Config · HTTP FOUNDATION kept on purpose Python 3.12+ SQLite numpy Linux · systemd FastAPI · uvicorn · pydantic behind api/ ONNX Runtime + model weights behind ai.inference FFmpeg behind codec.engine PyYAML behind core.config NOT USED NATS · pgvector · nginx React · hls.js · OpenCV · paho-mqtt
The ten components on a platform of our own, the borrowed engines each behind one module, and what runs across every layer. There is no third-party NVR, restreamer or message broker underneath, and a site needs no database server.
🔐

Security

TLS on the API and on the uplinks between sites and hub; an uplink without TLS to a public address is refused unless it is declared to run over a VPN or private circuit. Viewer, operator and admin roles, passwords hashed with PBKDF2-SHA256 and sessions as HMAC-signed tokens. An audit log records exports, shares, holds, tag edits, sign-ins, PTZ commands, sound switches and changes to shared views. Secrets live only in the environment, cameras sit on their own VLAN, and share links are signed, scoped, expiring and revocable.

📡

Observability

Heartbeats every 10 seconds that carry how busy each node's processor, GPU and disks are, alerts that raise and clear, a metrics endpoint in Prometheus format and a health endpoint, bus consumer lag and a storage forecast, so the system's own health is data like everything else.

⚖

Governance

Retention per camera, kept longer where there was activity that matters, evidential holds, cases with snapshots of what they contain, SHA-256 manifests on exports, sound kept and heard only where it is switched on, and local-first AI, with footage kept on the site that recorded it.

Standards

Our code inside, published standards at the boundary

Where Rutba Vision meets cameras, browsers, networks and the systems you already run, it speaks published standards. A recorded segment or an export is an MP4 file that plays on its own, events arrive as ordinary MQTT messages and signed webhooks, and cameras connect over RTSP; ONVIF cameras can be discovered, and ONVIF and Hikvision cameras set and steered through their own interfaces. Between its own parts it uses protocols of its own, each specified: the Vision Bus Protocol, the segment format and a versioned HTTP API.

The standards Rutba Vision uses
WhereStandard
Cameras inRTSP over TCP, with Digest or Basic authentication sent in headers, never in the stream address. H.264 and H.265 video; G.711 and AAC sound.
Finding and controlling camerasONVIF Profile S, with WS-Discovery to find cameras and WS-Security UsernameToken to sign in to them; ONVIF PTZ and Imaging; Hikvision ISAPI.
Camera clocksNTP. Where the camera network has no time server, Rutba Vision answers NTP itself.
Recording and exportSelf-contained fragmented MP4 (ISO BMFF) segments, each hashed with SHA-256 as it is written; an export carries a manifest of those hashes.
In the browserMedia Source Extensions for video and Web Audio for sound, with no plug-in; server-sent events for live activity.
Video outRTSP with RTP packetisation to RFC 6184 (H.264) and RFC 7798 (H.265), with Basic or Digest authentication.
Events outMQTT 3.1.1, and webhooks signed with HMAC-SHA256 over a timestamp and the body.
API and consoleJSON over HTTPS, in a versioned API. The certificate can be issued and renewed automatically over ACME, with a DNS-01 challenge.
Site to hubThe Vision Bus Protocol (VBP/1), our own, inside TLS 1.2 or newer, store-and-forward.
Sign-in and linksPasswords hashed with PBKDF2-SHA256; sessions, share links and tokens between nodes signed with HMAC-SHA256.
MonitoringMetrics in the Prometheus text format, and a health endpoint that answers without signing in.
AI modelsONNX, run by ONNX Runtime on a CPU, an Intel GPU or an NVIDIA card.
MetadataSQL, on SQLite for a site, with PostgreSQL as an option for a hub.
TimeUTC inside, with IANA time zones for schedules and display.
ConfigurationOne YAML file, checked against its schema before it applies.
Deployment

Three ways to take it on

The platform is the same in each case; what changes is who holds the pager.

A

On your site

We specify, build and commission the nodes on your site, hand over the inventory file, the CLI and the runbook, and your team operates it. You own the hardware and the footage outright.

B

Managed

The same nodes, with us monitoring capacity, applying updates, tuning detection as the site changes and responding when something needs a human. Footage stays on your premises.

C

Multi-site

Each site runs its own nodes, keeps its own footage and uplinks to a hub at HQ, so a chain of branches is one picture to search and monitor rather than twenty separate systems.

Where it fits

Sites this suits

Warehousing & manufacturing

Loading bays, stock areas and production lines, where dwell time and access matter as much as the footage.

Retail & multi-branch

Consistent coverage across branches, consolidated at HQ, with line-crossing and dwell rules at yards and car parks and footage searchable per branch.

Campuses & facilities

Large estates where nobody wants a second full-time job administering the camera system.

Replacing a proprietary NVR

Sites stuck on per-camera licensing, a closed client, one box that is the whole system, or an upgrade path that means buying the cameras again.

Sizing

Sized to the site, not to a box

Recording is cheap; detection and AI are where the hardware goes. A site's node count follows its camera count, its retention and the analytics it runs.

How a Rutba Vision site is sized
A small siteOne all-in-one node: the core, edge and analysis roles on one machine.
A large siteA core node, edge nodes for the cameras, and analysis nodes for AI and codec work. A 150-camera site records on two or three edge nodes.
RecordingPacket handling and hashing only: the relay and recorder never decode. Twenty cameras per media worker process by default.
Write rate at 150 camerasAbout 2.4 TB a day, around 220 Mbit/s on average and 250 Mbit/s at peak, depending on the cameras' bitrates.
DetectionDecoding and inference, kept proportional to what is analysed: sub-streams at 5 frames a second, motion-gated inference, hardware decoding where available, and detection opted in per camera.
StorageFootage is written to the local disks of the edge node that owns the camera. No shared network storage is needed.
RetentionA base period per camera, longer for footage with activity in chosen zones, and optionally the sub stream kept longer still at low resolution. Nothing is re-encoded.
Metadata storeSQLite on a site, a file per day, with nothing to install or run. A hub that consolidates many sites can use PostgreSQL instead.
PlatformLinux with systemd. No container runtime is required.
In and outRTSP over TCP from the cameras, with ONVIF and Hikvision ISAPI for control; RTSP out, the HTTPS API and console, signed webhooks, MQTT 3.1.1, signed share links, and the site-to-hub uplink over TLS.

How many cameras are you running?

Tell us the sites, the camera counts and what you actually need to detect. We'll come back with a sized set of nodes, a retention figure and an honest view of which analytics are worth enabling.