Connect your Hikvision cameras and NVRs to AgenticEye using RTSP, ONVIF auto-discovery, or FTP snapshot upload. Covers the DS-2CD series and NVR integration via individual camera channels.
Hikvision cameras offer broad protocol support. We recommend RTSP for real-time streaming and ONVIF for automated discovery. FTP snapshot upload is available for bandwidth-constrained environments.
Real-time video via RTSP with H.264/H.265 support. Lowest latency option for live AI analysis.
Automatic camera discovery and configuration via ONVIF Profile S on port 80.
Scheduled or event-triggered JPEG snapshot upload to AgenticEye's FTP endpoint.
RESTful API access for advanced configuration and event subscription.
Your Hikvision camera must be connected to the same network (or reachable via VPN/port forwarding) as the AgenticEye agent.
You need administrator access to the camera's web interface to enable protocols and create users.
We recommend running firmware v5.5+ for full ONVIF Profile S support and stable RTSP streams.
An active AgenticEye account with at least one camera slot available on your plan.
rtsp://[username]:[password]@[ip]:554/Streaming/Channels/[channel]01
rtsp://[username]:[password]@[ip]:554/Streaming/Channels/[channel]02
[channel] is typically 1. For NVRs, each connected camera gets its own channel number (e.g., channel 2 = camera 2). The trailing 01 selects the main stream and 02 selects the sub stream.
# Standalone camera — main stream
rtsp://admin:[email protected]:554/Streaming/Channels/101
# NVR camera 3 — main stream
rtsp://admin:[email protected]:554/Streaming/Channels/301
# NVR camera 3 — sub stream
rtsp://admin:[email protected]:554/Streaming/Channels/302
Log into the Hikvision web interface at http://[camera-ip]. Navigate to Configuration → Network → Advanced Settings → Network Service (or Integration Protocol on newer firmware).
# Test RTSP connectivity from your AgenticEye server
ffprobe -rtsp_transport tcp \
rtsp://admin:[email protected]:554/Streaming/Channels/101
For security, create a separate user account for AgenticEye rather than using the admin credentials.
agenticeyeadmin account for integrations. A dedicated user makes it easier to audit access and rotate credentials without disrupting other services.
Optimize your stream settings for AgenticEye's AI processing.
Stream Type: Main Stream (Normal)
Video Type: Video
Resolution: 1920x1080 (1080p) or 2560x1440 (2K)
Bitrate Type: Variable
Video Quality: Medium or Higher
Frame Rate: 15-25 fps
Max Bitrate: 4096 Kbps
Video Encoding: H.264 (recommended) or H.265
I Frame Interval: 50
Now add the camera to your AgenticEye dashboard.
Name: Front-Entrance-Hik01
Connection Type: RTSP
RTSP URL: rtsp://agenticeye:SecureP@[email protected]:554/Streaming/Channels/101
Transport: TCP (recommended) or UDP
Frame Interval: 1 (analyze every frame) or 5 (every 5th frame)
Click Test Connection to verify the feed, then Save.
If you prefer automatic setup, AgenticEye can discover Hikvision cameras via ONVIF.
http://192.168.1.64:80/onvif/device_service
In AgenticEye, go to Cameras → Auto-Discover and click Scan Network. Your Hikvision cameras will appear in the discovery list. Select the cameras you want to add and enter the ONVIF credentials.
For bandwidth-limited setups, configure FTP-based snapshot uploads to AgenticEye's ingest endpoint.
Server Address: ingest.agenticeye.com
Port: 21
Username: [your-agenticeye-ftp-user]
Password: [your-agenticeye-ftp-password]
Directory: /cameras/hikvision-front-01/
Upload Type: JPEG Snapshot
Interval: Every 5 seconds (or event-triggered)
If you're running a Hikvision NVR (e.g., DS-7600 series), you can add individual camera channels through the NVR's RTSP endpoint.
# Camera 1 on NVR — main stream
rtsp://admin:[email protected]:554/Streaming/Channels/101
# Camera 2 on NVR — main stream
rtsp://admin:[email protected]:554/Streaming/Channels/201
# Camera 3 on NVR — sub stream
rtsp://admin:[email protected]:554/Streaming/Channels/302
# Camera 4 on NVR — main stream
rtsp://admin:[email protected]:554/Streaming/Channels/401
Add each channel as a separate camera in AgenticEye. The channel numbering follows the pattern: [camera_number][stream_type] where stream type 01 = main, 02 = sub.
The camera rejects the RTSP connection with a 401 Unauthorized error, even though credentials are correct.
Connection times out when trying to reach the camera's RTSP stream from the AgenticEye server.
iptables -A INPUT -p tcp --dport 554 -s [agenticeye-ip] -j ACCEPT. For NVRs behind NAT, set up port forwarding for 554/TCP.AgenticEye's auto-discovery does not find the camera on the network.
The video feed connects but periodically freezes or drops frames.
The RTSP URL connects but shows the wrong camera or a black screen.
Our integration team has connected thousands of Hikvision cameras. We can help with complex NVR setups, multi-site deployments, and custom configurations.
Contact Integration Team →