---
title: "Recording and retention"
description: "Record a camera continuously, choose main or sub-stream, and decide how many days of video to keep."
url: https://vigiora.com/docs/cameras/recording-and-retention
updated: 2026-12-04T11:38:48.000Z
---

# Recording and retention

> Record a camera continuously, choose main or sub-stream, and decide how many days of video to keep.

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.

![The Recording tab with Recording turned on, Record low quality (sub-stream), Retention set in days and the estimated disk usage](https://vigiora.com/docs/img/cameras/recording-and-retention-1-recording-tab.png)

## Turn on recording

1. **Open the camera settings**

   Open the camera from **Cameras** and click **Edit**.

2. **Open the Recording tab**

   Click **Recording**.

3. **Turn recording on**

   Tick **Recording**.

4. **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**.

5. **Choose the retention**

   Pick how many days to keep in **Retention**.

6. **Save**

   Click **Save**. A red **REC** badge appears on the camera tile and the live picture.

> **Note**
>
> Recordings are saved in 10-minute files. From version 1.6.29, new footage appears in Playback within seconds: the file being recorded is shown too. On older versions a file appears when it is finished, so the last few minutes before now may not be playable yet.

## Options

| Option | What it does | Default |
| --- | --- | --- |
| 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. |

> **Tip**
>
> Snapshots and zoom in Playback use the recorded stream. Record the main stream on cameras where you may need to zoom into details later.

## 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](https://vigiora.com/docs/using/playback#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](https://vigiora.com/docs/cameras/motion-detection). You do not need to turn motion detection on for the camera, and no AI is used. It works on every plan.

> **Note**
>
> The option needs a camera with two streams. A camera that records its main stream already has the full picture all the time, so the option is not shown for it.

## 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](https://vigiora.com/docs/using/dashboard). To see how many more cameras the server can take, see the **Capacity** card in [Settings](https://vigiora.com/docs/admin/system#recording-compression-and-capacity). To make old recordings smaller, see [Compress old recordings](#compress-old-recordings).

> **Lowering retention deletes video**
>
> When you lower **Retention**, recordings older than the new value are deleted at the next clean-up. Export clips you need first. See [Snapshots and clips](https://vigiora.com/docs/using/snapshots-and-clips).

## 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](https://vigiora.com/docs/getting-started/setup-wizard#step-7-recording-and-ai)).

{/* screenshot wanted: the Recording tab with "Estimated disk usage" and the "Measured: … GB a day" note under it */}

Scripts can read the same figures with `GET /cameras/{camera_id}/storage` in [API v1](https://vigiora.com/docs/developers/api-v1#recording-disk-compression-and-capacity).

## 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](https://vigiora.com/docs/admin/system#recording-compression-and-capacity).

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.

> **Note**
>
> Compression only changes how much room old recordings take. **Retention** still decides when they are deleted.

## 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 |

---

Source: https://vigiora.com/docs/cameras/recording-and-retention · Last updated 4 Dec 2026, 11:38 UTC
