- Dokumentace
- Kamery
- Recording and retention
Tato stránka zatím není k dispozici v jazyce Čeština. Zobrazuje se v angličtině.
Recording and retention
Record a camera continuously, choose main or sub-stream, and decide how many days of video to keep.
V aplikaci: /monitors/:id/edit/recording
Vigiora records each camera continuously when you turn recording on. It saves the video in 10-minute files and deletes old files when they pass the retention you choose. Recording is free on every plan, on any number of cameras.
Turn on recording#
Open the camera settings
Open the camera from Cameras and click Edit.
Open the Recording tab
Click Recording.
Turn recording on
Tick Recording.
Choose the quality
Tick Record low quality (sub-stream) to save space, or leave it off to record full quality. With the sub-stream ticked you can also tick Record in HD when there is movement.
Choose the retention
Pick how many days to keep in Retention.
Save
Click Save. A red REC badge appears on the camera tile and the live picture.
Options#
| Volba | Popis | Výchozí |
|---|---|---|
| Recording | Record the camera all the time. Needed for Playback, clips, snapshots and the AI Guardian history. | Off |
| Record low quality (sub-stream) | Record the camera’s smaller sub-stream instead of the main stream. Saves about 60–80% of bandwidth and disk. Falls back to the main stream if the camera has no sub-stream. | Off |
| Record in HD when there is movement | From version 1.6.31. Shown when Record low quality (sub-stream) is ticked. Also keeps the main stream while something moves, as separate HD clips. See Record in HD when there is movement below. | Off |
| Retention | 1, 3, 7, 14, 30 or 90 days. Older recordings are deleted automatically; the clean-up runs every 10 minutes. | 1 day |
| Estimated disk usage | The size for the chosen retention. Measured from the camera’s own recordings once it has at least 1 hour of them, otherwise estimated from its resolution and frame rate (1920×1080 at 15 fps when unknown) in H.264, and from the sub-stream when that is ticked. See How much disk a camera uses below. | — |
Main stream or sub-stream?#
| Main stream | Sub-stream | |
|---|---|---|
| Picture | Full resolution, best for reading faces and plates. | Lower resolution, often 640×360 or 704×576. |
| Disk and bandwidth | Highest. | About 60–80% less. |
| Good for | Entrances, tills, car parks. | Corridors, stock rooms, cameras you rarely review. |
Record in HD when there is movement#
From version 1.6.31 a camera can do both: record the small sub-stream all the time, and keep the full picture for the moments that matter.
Tick Record low quality (sub-stream), then tick Record in HD when there is movement under it, and save.
- The low-quality recording goes on as before, all day.
- When something moves, Vigiora also saves the main stream as an HD clip. The clip starts about 10 seconds before the movement and ends about 20 seconds after it stops. Movement that goes on is saved in clips of 10 minutes.
- In Playback the timeline shows a green line where an HD clip exists, and an HD button plays that moment in full quality. See Watch a moment in HD.
- A clip you export, and a Guardian clip, come in HD when the HD clips hold the whole of it.
- HD clips are kept as long as the camera's recordings and are deleted with the same Retention.
The movement is found by the server itself, with the same detector as Motion detection. You do not need to turn motion detection on for the camera, and no AI is used. It works on every plan.
Plan your disk space#
Disk use per camera grows with resolution, frame rate and retention. As a rough guide, the editor's estimate assumes about 0.1 bit per pixel per frame. A 1080p camera at 15 fps is about 3 Mbit/s, or about 33 GB per day.
To check what you use now, look at Recordings and Disk Usage on Home. To see how many more cameras the server can take, see the Capacity card in Settings. To make old recordings smaller, see Compress old recordings.
How much disk a camera uses#
The Estimated disk usage figure in the Recording tab shows the size for the chosen retention, for example ≈ 30 GB, and a note under it says where the number comes from:
- Measured. Once the camera has at least 1 hour of finished recordings from the last 7 days, the figure comes from what that camera really wrote. The note reads Measured: this camera writes about N GB a day (N h of recordings).
- Estimated. Before that, Vigiora estimates from the picture size and frame rate, about 0.1 bit per pixel per frame for the main stream. If Record low quality (sub-stream) is ticked, the estimate is for a sub-stream of 704×576 at the camera's frame rate, not for the main stream. A microphone uses an estimate of about 0.65 GB per day. The note says it is a rough estimate and that the camera's real figure takes over after an hour of recording.
If Record in HD when there is movement is ticked, the figure includes the HD clips, and a second note says how much they take per day. Until the camera has kept HD clips for 6 hours, that part assumes movement for a tenth of the day. After that it is measured from the clips.
The figure follows the form: change Retention, the sub-stream tick or the frame rate and it updates before you save. If you change the stream or the picture size, the measurement no longer applies and the estimate is shown until the camera has recorded the new setting. Sizes are in GB of 1024 × 1024 × 1024 bytes, the same as the Disk Usage card.
Does it fit on the disk?#
From version 1.17.3 the Estimated disk usage card also shows the free space on the recordings disk and whether this camera's choice fits next to what your other cameras keep:
- In grey, how long the free space lasts, for example 1.2 TB free: enough for about 30 days at this setting.
- In amber, when it does not fit: how much the recordings need and after how long the disk fills, after which Vigiora deletes the oldest recordings.
- A plain note when the free space is not known yet.
It never stops you from saving. The setup wizard's recording step uses the same figures (see Setup wizard).
Scripts can read the same figures with GET /cameras/{camera_id}/storage in API v1.
Compress old recordings#
Compression is off by default. When you turn it on, Vigiora re-encodes old recordings so they take about a third to a fifth of the space. You turn it on in Settings → Cameras and recording → Storage (admins): tick Compress recordings older than 7 days. See Settings.
What it does:
- It only touches recordings of cameras whose Retention is longer than the number of days, and only once a recording is that old. A camera kept 7 days or less is never compressed.
- The picture keeps its size and frame rate, and the sound is copied as it is. The bit rate is lower, so a little fine detail is lost. The file keeps its format, so Playback, clips, snapshots and transcripts work as before.
- It runs in the background, one recording at a time, at low priority, and never while someone is playing back a recording.
- A recording is replaced only if the new file is at least 15 % smaller and has the same length. Otherwise the original stays and Vigiora does not try it again.
- Protected recordings are compressed too. Microphone-only recordings are not.
Compression is not undone: the original quality is not kept. Turn the switch off to stop compressing new recordings. Recordings already compressed stay compressed.
Which features need recording#
| Feature | Needs recording |
|---|---|
| Live view | No |
| Motion detection | No |
| Playback, clips, snapshots, share links | Yes |
| AI Guardian history and its tab on the camera page | Yes |
| Alert video pop-ups | Yes, otherwise you see only the snapshot |