Add AI Video Analytics to Analog Cameras and Old DVRs
How to Add AI Video Analytics to Analog Cameras and Old DVRs
You can add AI video analytics to analog and HD-over-coax cameras through the DVR that records them. Learn the three routes, what SD cameras can detect and how to test a DVR.
Yes, you can add AI video analytics to analog cameras and older DVRs, usually without replacing them. Analog cameras do not send a network stream themselves, but the DVR that records them almost always can: it digitises each camera and re-streams every channel over RTSP. AI software reads those channel streams like any IP camera. Where a DVR cannot stream, a video encoder converts the analog feed instead. The real limit is image quality. Standard-definition cameras handle presence and movement events well and struggle with fine detail.
Key takeaways
The DVR is the bridge. Most DVRs, including hybrid and HD-over-coax models, publish an RTSP stream per channel. That is how AI software reaches analog cameras without touching them.
Encoders are the fallback. If the DVR is too old, locked down or broken, an IP video encoder turns each analog feed into a network stream.
"Analog" covers two very different cameras. Standard-definition CCTV is about half a megapixel. HD-over-coax cameras (HD-TVI, HD-CVI and AHD) run on the same coax at 1080p and above.
Match events to resolution. SD cameras suit after-hours presence, restricted zones, line stoppage and queues near the camera. They do not suit faces, plates or small objects at range.
Test before you budget. One afternoon with VLC or ffprobe on each DVR tells you which channels are AI-ready and which cameras are worth replacing.
Replace selectively. Upgrade the few cameras that matter most, not the whole estate.
Why do so many sites still run analog CCTV?
Analog systems last. Coax runs through walls and ceilings, DVRs keep recording for years, and replacing a working system is hard to justify when there is no budget line for it. Warehouses, factories, mines, retail chains and utilities often run a mix: analog cameras on DVRs at older sites, IP cameras on NVRs at newer ones.
The usual advice is that analog cameras need replacing before AI can use them. That is only half true. AI software cannot read an analog signal directly, but it rarely has to. The DVR has already done the conversion.
What does "analog" actually mean for AI?
Three kinds of equipment get called analog, and they behave differently.
Traditional CCTV cameras send a standard-definition composite signal (CVBS) over coax. The best of them record at 960H, which is 960 x 576 pixels on PAL systems and 960 x 480 on NTSC, slightly wider than the older D1 format. That is roughly half a megapixel, about a quarter of a 1080p camera.
HD-over-coax cameras (HD-TVI, HD-CVI, AHD)
From the mid-2010s, manufacturers pushed HD video over the same coax cable. HD-TVI, HD-CVI and AHD cameras look like analog cameras and plug into similar DVRs, but they deliver far more detail. AHD, for example, supports resolutions from 720p up to 8 MP / 4K. Many estates people describe as "old analog" are actually 1080p HD-over-coax and are good AI candidates.
DVRs and hybrid DVRs
A DVR digitises and records analog or HD-over-coax cameras. A hybrid DVR (sometimes called XVR or tribrid) also accepts some IP cameras. Almost every DVR sold in the last decade has a network port and can stream each channel to software on the network. That stream is what AI uses.
How do you connect analog cameras to AI video analytics?
There are three routes. Most estates use the first, with the second for exceptions.
Route 1: Pull RTSP streams from the DVR
This is the fastest and cheapest route because nothing changes on site. AI software requests each channel from the DVR using its RTSP address, the same way it would request a stream from an IP camera.
Hikvision DVRs use the format rtsp://IP:554/Streaming/Channels/101, where the first digits are the channel and the last two pick the stream. Channel 1 main stream is 101 and its sub-stream is 102, per Hikvision's RTSP technical bulletin.
Dahua DVRs and XVRs commonly use rtsp://IP:554/cam/realmonitor?channel=1&subtype=0, where subtype=0 is the main stream and subtype=1 the sub-stream.
Other brands publish their own formats. Our guide to finding your camera's RTSP URL lists them, along with how to find any device's stream over ONVIF.
What to watch:
Stream limits. Older DVRs can only serve a few remote streams at once. Check how many simultaneous streams yours supports before connecting every channel.
Sub-streams are small. DVR sub-streams are often CIF (352 x 288) or similar. Use the main stream for analytics where bandwidth allows.
Firmware. Update DVR firmware where you can. Old firmware is a security risk and sometimes has broken RTSP.
Route 2: Add a video encoder
An IP video encoder takes one or more analog inputs and outputs network streams. ONVIF Profile S covers encoders as well as cameras, so a conformant encoder behaves like an IP camera to AI software. Use encoders when:
The DVR has no network streaming, or it has failed.
The DVR is locked to a vendor and cannot be opened up.
You want to retire the DVR but keep the cameras and cabling.
Encoders do not add detail. A standard-definition camera through an encoder is still standard definition.
Route 3: Replace the cameras that matter most
Some cameras are not worth saving: badly placed, blurry, failing at night or covering a scene where you need fine detail. On an HD-over-coax DVR you can often swap just those cameras for HD-over-coax models and keep the cable and recorder. Our retrofit vs replace cost guide shows how to model a selective upgrade against a full replacement.
What can AI detect on standard-definition cameras?
Resolution decides what a camera can support. The question is how many pixels land on the thing you care about, which our NVR AI compatibility checklist explains as pixels per metre.
Usually workable on SD cameras close to the scene:
A person or vehicle in a restricted zone or after hours.
A gate, door or roller shutter left open.
A conveyor or packing area that has stopped moving.
Queues and build-up at a counter, dock or staging area.
A camera that has been covered, moved or gone dark.
Usually not workable on SD cameras:
Faces or licence plates at any real distance.
Small objects such as tools, PPE details or items in a hand.
Anything at the far end of a long fence line or yard.
HD-over-coax cameras at 1080p sit much closer to IP cameras and support most of the same events.
How do you test your DVRs in one afternoon?
List every DVR. Record site, brand, model, firmware, channel count and which cameras are on which channel.
Confirm network access. The DVR needs a reachable IP address on a network the AI platform can connect to. Do not expose it to the internet with port forwarding.
Enable RTSP. Some DVRs ship with RTSP off or on a non-standard port. Check the network settings.
Create a viewer account. Use a separate, read-only user for analytics, not the admin password.
Open one channel in VLC. Use the brand's RTSP format. If VLC plays it, AI software can usually read it.
Check properties with ffprobe. Confirm codec (H.264 or H.265), resolution and frame rate for main and sub-streams.
Sync the clock. Set the DVR to NTP so event times line up with access control and other systems.
Mark each channel. Ready, ready with limits, or replace.
If you do not have a working camera to practise on, set up a free RTSP test stream first.
What about bandwidth and security?
Bandwidth. Cloud analytics needs upload capacity from each site. SD streams are light. HD-over-coax main streams are similar to IP cameras of the same resolution. Start with the cameras that matter most and measure actual bitrates.
Security. Old DVRs are a common way into a network. Before connecting anything:
Change default passwords and remove unused accounts.
Update firmware where the vendor still supports it.
Keep DVRs off the public internet and behind a firewall or VPN.
Disable services you do not use, such as UPnP and cloud P2P features.
How does KoteLab work with analog cameras and old DVRs?
KoteLab connects to existing IP cameras and RTSP-capable DVR/NVR streams, so analog and HD-over-coax cameras come in through the DVR channels that already record them. Nothing changes on the camera side, and your DVRs keep recording and storing evidence as they do today.
From those streams, KoteLab surfaces the events your teams act on, such as after-hours activity, restricted-zone entry, perimeter breach, stopped lines, loading delays and queues. Each alert comes with site, zone, camera, time and clip. Natural-language video search lets investigators find moments across old and new cameras in one place.
We start every project with a camera estate review: which channels are ready, which work with limits, and which few cameras are worth replacing.
Frequently asked questions
Can AI video analytics work with analog cameras?
Yes, in most cases. AI software reads the RTSP stream that the DVR publishes for each analog channel, or a stream from a video encoder. The camera itself does not change. Results depend on resolution, placement and the events you need.
Do I need to replace my DVR to use AI?
Usually not. If the DVR can stream each channel over RTSP in H.264 or H.265, AI software can use it. Replace or bypass it with an encoder only if it cannot stream, cannot handle enough simultaneous streams or cannot be secured.
Can AI analytics use video from ONVIF-compatible cameras and encoders?
Yes. ONVIF lets software discover devices and find their stream addresses. ONVIF Profile S covers basic streaming for both cameras and video encoders, so an ONVIF encoder on an analog camera looks like an IP camera to AI software.
What is the difference between analog and HD-over-coax cameras?
Both use coax cable and a DVR. Standard analog CCTV tops out around 960H, roughly half a megapixel. HD-over-coax formats such as HD-TVI, HD-CVI and AHD carry 720p to 8 MP over the same cable, so they suit far more AI use cases.
How do I import analog camera feeds into an AI analytics platform?
Find the DVR's RTSP address for each channel, create a read-only account, test one channel in VLC, then give the platform the addresses and credentials. If the DVR cannot stream, connect the cameras to an IP encoder and use its streams.
Which events work on older, low-resolution cameras?
Presence and movement events close to the camera: people or vehicles in restricted zones or after hours, open doors and gates, stopped lines, queues and camera tampering. Fine detail such as faces, plates or small objects needs HD cameras.
Comparing platforms? Our guide to the best AI video analytics software for existing cameras covers 9 options, the features to look for and how pricing works.
Get AI from the cameras you already have
Most estates have more AI-ready cameras than their owners think. Tell us about your sites, DVRs and the events that matter, and we will show you which channels KoteLab can use today. Book a camera estate review with KoteLab.