Sizing Your AiVR
Sizing Your AiVR: Streams, Decoding Units, Upload and DiskHow to Count Streams, Calculate Decoding Units and Choose the Right AiVR Model or Stack
Every AiVR has two limits: how many camera streams it can take, and how much video it can decode for AI. A design must pass both, plus the site's upload speed and the local disk. This article explains how to count streams, calculate decoding units, choose an AiVR model or stack, and check upload and storage before you quote.
Note: The figures in this article are planning estimates for sizing and quoting. Actual capacity, bandwidth and storage use depend on each camera’s settings, scene activity, firmware and network conditions. Busy scenes, night IR and rain raise bitrates; quiet scenes lower them. Always validate a design against the real camera settings on site, and review the AiVR’s Bandwidth and Storage tabs after installation. For sites with more than 50 streams, multiple networks, or unusual camera types, contact your Alocity account manager or support@alocity.com to confirm the design before you quote.
1. The Four Checks
| Check | Passes when |
|---|---|
| Streams | Total streams ≤ the model's stream limit |
| Decoding units | Total units ≤ the model's unit budget |
| Upload | Sum of camera average bitrates + 20% ≤ the site's sustained upload |
| Disk | Local storage holds the number of days the customer wants on site |
The stream limit applies even when units remain, and units apply even when stream slots remain.
2. Count Streams, Not Cameras
Alocity sizes and bills by stream. The stream the AiVR records is the same stream the AI analyzes, so there is no separate inference stream to count.
| Camera | Streams |
|---|---|
| Single-sensor (bullet, dome, turret) | 1 |
| Multi-sensor | 1 per sensor |
| Fisheye | 1–8, by the views pulled |
| PTZ | 1 |
Note: A fisheye that exposes a fisheye channel and a quad channel is two streams if you add both. Pull only the channel the site needs.
3. Calculate Decoding Units
1 unit = one 1080p stream at 15 fps. Units scale with pixel count and frame rate:
Units = (width × height ÷ 1920 × 1080) × (fps ÷ 15) × AI role multiplier
| Stream | Base units |
|---|---|
| 1280×720 @ 15 fps | 0.5 |
| 1920×1080 @ 15 fps | 1 |
| 1920×1080 @ 30 fps | 2 |
| 2560×1920 (5MP) @ 15 fps | 2.4 |
| 3008×3008 fisheye @ 15 fps | 4.4 |
| 3840×2160 (4K) @ 30 fps | 8 |
Then multiply by the camera's AI role:
| AI role | Multiplier |
|---|---|
| Record only (no AI) | 0.3× |
| Detection: people, vehicles, intrusion, loitering, counting | 1× |
| Detail: face recognition, POI, LPR | 1.5× |
| Heavy detail: fall and weapon detection | Up to 2× |
Note: To adjust camera streams please see this help article: Best Camera Settings
Quick lookup: units per stream
Find the stream's resolution and frame rate, then read across to its AI role. Multiply by the number of streams.
| Stream | Record only | Detection | Detail (face, POI, LPR) | Heavy detail (fall, weapon) |
|---|---|---|---|---|
| 720p @ 15 fps | 0.15 | 0.5 | 0.75 | 1 |
| 1080p @ 15 fps | 0.3 | 1 | 1.5 | 2 |
| 1080p @ 30 fps | 0.6 | 2 | 3 | 4 |
| 4MP (2560×1440) @ 15 fps | 0.54 | 1.8 | 2.7 | 3.6 |
| 5MP (2560×1920) @ 15 fps | 0.72 | 2.4 | 3.6 | 4.8 |
| Fisheye 3008×3008 @ 15 fps | 1.32 | 4.4 | 6.6 | 8.8 |
| 4K @ 15 fps | 1.2 | 4 | 6 | 8 |
| 4K @ 30 fps | 2.4 | 8 | 12 | 16 |
IMPORTANT: One 4K camera at 30 fps uses as much capacity as eight 1080p cameras at 15 fps, which is half an AiVR-16. Resolution above 1080p adds little to basic detection, because each analyzed frame is a 640×640 copy. Get detail by narrowing the field of view, not by raising resolution.
4. Choose the Model
| Model | Streams | Units | Typical fit |
|---|---|---|---|
| AiVR-8 | 6 | 10 | Small building or tenancy |
| AiVR-16 | 12 | 16 | Standard commercial site |
| AiVR-60 | 50 | 115 | Campus or large facility |
| Enterprise | — | — | Contact Sales |
Note: Unit budgets already keep about 30% headroom for motion bursts. Pick the smallest model that passes both streams and units. Every site is different. This is all to be used as reference only.
Stacking AiVRs
- For bigger sites, combine AiVRs. Models can be mixed.
- Each stream runs on one AiVR, and each AiVR must be on the same network as its cameras. Split cameras by network first, then size each group.
- Prefer the fewest boxes. At 50 or more streams, an AiVR-60 usually makes more sense than several smaller units.
5. Worked Examples
| Example | Streams | Calculation | Units | Result |
|---|---|---|---|---|
| A · Small office, AiVR-8 | 6 / 6 | 4 × 1080p, 15FPS, detection (4.0) + 2 × 720p15 record only (0.3) | 4.3 / 10 | Fits |
| B · Standard site, AiVR-16 | 10 / 12 | Fisheye 4.4 + four-sensor 4.0 + LPR 1080p30 at 1.5× (3.0) + 4 × 1080p15 (4.0) | 15.4 / 16 | Fits, just |
| C · Over budget, AiVR-16 | 12 / 12 | 6 × 1080p30 (12) + 6 × 1080p15 (6) | 18 / 16 | Over |
To fix example C, move two of the 30 fps cameras to 15 fps. That brings it to 16 units, within budget. Alternatively, move to an AiVR-60 or stack a second AiVR.
6. Check Upload
The AiVR backs up video to the cloud continuously. Site upload must be at least the sum of all camera average bitrates plus 20%, sustained. See: Network Requirements
- Example: 10 cameras × 4 Mbps = 40 Mbps, plus 20% ≈ 48 Mbps.
- With less upload, video still records locally, but cloud backup falls behind.
- Use average bitrates, not maximums. Starting averages for the Efficient H.265 profile at 15 fps, See: Best Camera Configurations for AiVR.
7. Check Disk
1 Mbps of average bitrate ≈ 10.8 GB per day ≈ 324 GB over 30 days. Add up the average bitrate of every stream to get the daily ingest, then compare it with the AiVR's drive or NAS.
- Example: 10 streams × 2 Mbps = 20 Mbps ≈ 216 GB per day, so a 1 TB drive holds about 4–5 days on site.
- Footage older than local retention is served from the cloud, within the cloud retention window.
- If the customer needs more days on site, add a NAS. Use surveillance-class CMR hard drives or SSDs only. Consumer SMR drives cause recording gaps on every camera at once.
After installation, check real ingest on the AiVR's Storage tab (DAILY INGEST and DAYS OF VIDEO IN LOCAL STORAGE). See Getting to Know Your AiVR.
8. Sizing Checklist
- List every camera with its type, sensors, resolution, frame rate and AI role.
- Count streams.
- Calculate units, including the AI role multiplier.
- Pick the best fit model, or stack, that passes streams and units.
- Check upload against the site's measured upload speed.
- Check local disk against the days the customer wants on site.
- Budget labor for configuring the Alocity stream on every camera. The AiVR can't change camera settings, so each camera is set up by hand for the time being.
For questions or assistance, please contact your account manager or email support@alocity.com.