CCTV Camera Configuration — Add ONVIF, RTSP and IP Cameras
Step-by-step CCTV camera configuration in OWL EYE ALERTS: add ONVIF, RTSP, webcam, MJPEG and JPEG sources, tune resolution and frame rate, and fix the usual connection errors.
Overview
This is the step that connects your cameras to the smart CCTV monitoring platform. OWL EYE ALERTS supports five source types, so almost any camera already on your network can be added:
| Source type | When to use it |
|---|---|
| ONVIF | Modern IP cameras and NVRs; discovery and auto-configuration |
| RTSP | Any camera with a stream URL, including older or non-ONVIF models |
| WEBCAM | The PC's own USB camera, useful for testing |
| MJPEG | Cameras exposing a motion-JPEG HTTP stream |
| JPEG | Cameras that only publish a still image at a URL |
Do one camera first, confirm live video and recording, then repeat.
Prerequisites
- The camera is powered, on the network, and reachable from the recording PC (
ping 192.168.1.64should succeed). - The camera's IP address, ONVIF/RTSP port, username and password.
- The camera's stream path if it is not ONVIF (see the vendor manual).
- Free channel capacity on your plan — see Getting Started.
Step-by-step instructions
Step 1 — Put the camera on a fixed address
Give the camera a static IP, or a DHCP reservation on your router. A camera that changes address after a power cut looks offline the next morning.
Step 2 — Open the add-camera dialog
In the client, open Cameras → Add camera. Choose the source type from the table above.
Step 3 — Fill in the connection details
For an ONVIF camera:
| Field | Example | Notes |
|---|---|---|
| IP address | 192.168.1.64 | Not the hostname, unless DNS is reliable |
| ONVIF port | 80 | Some cameras use 8080 |
| Username | admin | The camera account, not a domain account |
| Password | •••••• | Case sensitive |
| Profile | mainStream | Substream is cheaper for live view |
For an RTSP camera:
rtsp://admin:password@192.168.1.64:554/Streaming/Channels/101
Common vendor paths:
| Vendor | Typical path |
|---|---|
| Hikvision | /Streaming/Channels/101 (main), /102 (sub) |
| Dahua | /cam/realmonitor?channel=1&subtype=0 |
| Axis | /axis-media/media.amp |
| Generic | /stream1, /live/ch00_0 |
Step 4 — Choose the stream profile
| Use | Resolution | Frame rate | Notes |
|---|---|---|---|
| Main stream | 1080p | 15–20 FPS | Recording and AI analysis |
| Sub stream | 640×360 | 8–10 FPS | Live wall, remote viewing |
Selecting the substream for live grids keeps the server responsive when 16 tiles are open. AI events should always run on the main stream.
Step 5 — Preview and save
- Choose Test (or Preview). Video should appear within a few seconds.
- Name the camera meaningfully:
Gate — entry,Reception — wide,Dock — plate. Names appear in alerts and search results. - Save. The camera appears in the live grid with a recording indicator.
Step 6 — Set recording behaviour for this camera
| Mode | When it is right |
|---|---|
| Continuous | Entrances, cash desks, anywhere an incident may be missed |
| Motion only | Corridors, car parks, low-traffic areas |
| Scheduled | Areas that only matter outside office hours |
Auto disk cleanup applies across all cameras, so mix modes rather than lowering quality everywhere.
Configuration examples
| Camera | Type | Resolution / FPS | Recording | AI |
|---|---|---|---|---|
| Gate — entry | ONVIF | 1080p / 20 | Continuous | Person + vehicle |
| Gate — plate | RTSP | 1080p / 25 | Motion | LPD |
| Reception — wide | ONVIF | 1080p / 15 | Continuous | Person |
| Corridor | RTSP substream | 720p / 10 | Motion | Off |
| Dock | ONVIF | 1080p / 15 | Schedule 18:00–06:00 | Person |
What you should see
- The camera tile shows live video, not a black rectangle or a spinner.
- A recording indicator is active and the storage figure increases.
- The camera appears in Smart Search with today's timeline.
- After a restart of the application, the camera reconnects without manual intervention.
Troubleshooting
| Error | Cause | Fix |
|---|---|---|
401 Unauthorized | Wrong camera username or password | Re-enter; test in the camera's own web page first |
Connection timed out | Wrong IP, port or VLAN | Ping the camera; check the ONVIF port |
| Video is black but connected | Wrong stream path or unsupported codec | Switch the camera to H.264; try the substream path |
| Frequent disconnects | Network saturation or camera limit | Lower FPS/resolution, or move the camera to a dedicated switch |
| "Channel limit reached" | Plan capacity used | Remove a camera or upgrade the plan |
| Works in the camera's web page, not here | Different credentials for ONVIF vs web UI | Create an ONVIF user on the camera |
Related guides
Next step: AI Event Detection →