Repository navigation
EN Cameras
RustNVR reads IP cameras over RTSP, in H.264 or H.265, with their AAC or G.711 sound (converted to Opus). It records the stream as it is, without decoding it: a camera costs almost nothing to the processor.
Cameras → Search the network: RustNVR looks for ONVIF cameras and open RTSP ports on your network. With the camera's user name and password, it reads its stream addresses (ONVIF), or tries the usual paths of the makers, then fills in the form.
Or Add a camera by hand:
| Field | Good to know |
|---|---|
| Name | shown everywhere; the technical identifier (lower-case letters, digits, -, _) names the folders and cannot change later |
| RTSP URL of the main stream | for example rtsp://192.168.1.20:554/Streaming/Channels/101; no credentials inside the address |
| User name, password | the camera's; never shown again nor sent back by the server |
| Sub-stream URL (optional) | the low-definition stream: the live view and motion detection use it, much lighter |
| Transport | RTSP over TCP (recommended); RTP over UDP is experimental |
| When to record | Continuously, or Only on motion (with the seconds before) |
| Record sound | when the camera sends AAC or G.711 |
| Storage destinations, Keep (days), Max size (GB) | where this camera's videos go, and its own retention (empty: the destination's) |
| ONVIF port (optional) | to drive a motorised camera (PTZ) |
Test the connection connects to the camera, shows the announced streams (codec, size, sound) and a live preview, before anything is recorded. A camera added from the interface does not record by default: tick « Record videos » when everything is ready.
Cameras added in the interface are changed and removed without a restart.
Those declared in config.toml can only be changed in that file
(commented example).
The Pause button (camera page, or ⏸ in the camera list) stops the
camera as if it were turned off: no connection, recording, detection or live
view. The pause is not saved: it lasts until Resume, or until RustNVR
restarts. It works for every camera, those of config.toml included. Handy
for an indoor camera while you are at home.
In Home Assistant, each camera's Caméra active switch does the same: see Home Assistant.
A camera that freezes can be restarted from RustNVR: Restart the camera button on its page (with a confirmation), or the « Redémarrer la caméra » button in Home Assistant. It goes through ONVIF: the camera's ONVIF port must be set (as for PTZ) and its account must be an administrator of the camera, otherwise it refuses and RustNVR shows why. Count one or two minutes without a picture.
Technical information tab → Camera record: maker, model, firmware, serial number and hardware, as the camera gives them through ONVIF (ONVIF port set). They are read at startup; the ↻ button reads them again, for instance after a firmware update. Home Assistant also shows them on the camera's device.
When a camera switches to infrared, its picture turns black and white. RustNVR measures it every minute on a tiny picture, for every maker, without AI: the camera shows Night vision (🌙) and Home Assistant gets a « Vision nocturne » sensor. A camera with colour night vision (spotlight, « starlight ») stays « day »: that is intended.
On the overview, an administrator arranges the cameras by dragging their tile by its grip. RustNVR keeps the order: the same on the computer, the phone and for every account, and on every page (Playback, Events…). « Ordre par défaut » (default order) goes back to the configuration's. The number of cameras per row stays specific to each device.
- Live: the video in the browser, ≈ 0.5 s behind, without re-encoding. « Low latency » option (WebRTC, local network only).
- Recordings: the camera's day on a timeline.
- Detection: zones, masks, crossing lines, objects to recognize (see Detection and AI).
- Configuration and Technical information: settings, RTSP state, bit rate, lost frames, reconnections.
Playback (left menu) plays several cameras together, in sync, from ×1 to
×8, and Video wall shows every camera full screen. Tap a camera of the
wall to show it alone, with its sound if any; tap it again, or go back, to
return to the wall (since 2026.11.09). The wall's ⚙ button picks the cameras
shown, how many per row and whether the camera with motion is enlarged;
(since 2026.11.09) an administrator sets them for every screen, the Home
Assistant panel included. An address such as /mur?cameras=garage,entree
keeps its own settings on one screen (a tablet bookmark).
For a screen kept for the wall, Settings → General → Home page picks the page this browser opens at RustNVR's address: overview, video wall, events, pictures or playback (since 2026.11.09). The choice is kept by the browser, like the theme; the « Overview » menu still leads to the overview. In Home Assistant, the RustNVR Proxy app has the same option for every device (see Home Assistant).
On a phone, the menu is a bar at the bottom of the screen: Home, Events, Playback, and More for every other page. Home shows one camera large, live, and the others as small pictures under it (a new picture every 15 seconds): touch one to show it large. Until you choose, the large camera is the first one with motion. Then come the day's events and the storage.
Many browsers do not decode H.265. RustNVR then converts the live view and the playback to H.264 with FFmpeg, on the graphics card when there is one (Intel / AMD through VAAPI, NVIDIA through NVENC), otherwise on the processor. Setting: Settings → Network → « Convert on the graphics card when possible ».
Cameras → Add → USB webcam: the list shows the server's webcams with their formats. Their picture is encoded to H.264 by FFmpeg (or copied when the webcam already sends H.264), then recorded and analysed like an RTSP camera. No sound for now.
With Docker, give the webcam to the container, with the host's video group
(getent group video, often 44):
services:
rustnvr:
devices:
- /dev/video0:/dev/video0
group_add:
- "44"With Proxmox: pct set <ctid> -dev1 /dev/video0,gid=44, restart the
container, then pct exec <ctid> -- /usr/local/bin/rustnvr-update.
Fill in the camera's ONVIF port (often 80, 8000 or 8899): the live view shows arrows and zoom (hold them), the speed, and the saved positions (go to one, add, remove). The positions are also offered in Home Assistant. For administrators only.
A camera often accepts only a few connections. RustNVR can republish its streams, without converting them, for Home Assistant, Frigate or VLC: the camera then sees one connection only.
-
Settings → Network → RTSP republication: turn it on. It listens on
127.0.0.1:8554(this machine only); for another machine, set0.0.0.0:8554with a user name and a password. - The addresses show in the Configuration tab of each camera:
rtsp://<rustnvr-machine>:8554/<camera> main stream
rtsp://<rustnvr-machine>:8554/<camera>/sub sub-stream
The client must use RTSP over TCP. A camera can have its own
republication user name and password (in its form). With Docker on a
« bridge » network, publish port 8554 too.