I've recently got addicted on home assistant and want to get the rtsp stream into home assistant so I can send image notifications. I have 4 cameras and 3 I can view the RTSP stream in VLC. One camera I cannot view the RTSP stream as vlc times out. I have my router set up so I can access the 192.168.254.X address range, allowing direct access to ip cameras via the nvr.
The camera that I cannot stream from RTSP is a DS-2CD2142FWD-IWS at 192.168.254.5. Although I cannot get the RTSP working, I have got this camera in home assistant and home assistant can receive the motion, line crossing and intrusion detection notifications (this works great, home assistant get notified instantly and I have so many ideas, like sending camera image on motion via telegram, hopefully this will work better than hikvisions email feature).
Steps I have tried to get the RTSP working:
These are my current settings in the following imgur album, I have tried to make my camera less secure:
Different firmwares I have tried:
IPC_R6_EN_STD_5.5.82_190909.zip
IPC_R6_EN_STD_5.5.53_180730.zip
IPC_R6_EN_STD_V5.5.5_Build180111.zip
IPC_R6_EN_STD_V5.5.0_Build170725.zip
can't seem to downgrade to v5.4.x unless use TFTP which I havent tried yet
When I do a nmap port scan with this command in Zenmap: nmap -p 80,554 -T4 -A -v -Pn 192.168.254.5
so the 554 port is closed
Then on a camera I can RTSP stream from: nmap -p 80,554 -T4 -A -v -Pn 192.168.254.4
I have followed this video where he enables Hikvision CGI:
The urls I have tried:
These image/MJPEG links don't work either
I have also tried changing the RTSP port, resetting to factory settings, using wireshark to try and get RTSP url (but the web live view uses some kind of HTTP ISAPI way to get live stream i think, which is how home assistant works with hikvision, but have no idea about packet capture and sniffing).
Any other ideas how to get RTSP live stream to work? I'm pretty sure when I brought the camera I could RTSP stream from it. I'm nearly about to swap this camera with with another but this camera is my best camera looking down my driveway so don't really want to!
The camera that I cannot stream from RTSP is a DS-2CD2142FWD-IWS at 192.168.254.5. Although I cannot get the RTSP working, I have got this camera in home assistant and home assistant can receive the motion, line crossing and intrusion detection notifications (this works great, home assistant get notified instantly and I have so many ideas, like sending camera image on motion via telegram, hopefully this will work better than hikvisions email feature).
Steps I have tried to get the RTSP working:
These are my current settings in the following imgur album, I have tried to make my camera less secure:
Different firmwares I have tried:
IPC_R6_EN_STD_5.5.82_190909.zip
IPC_R6_EN_STD_5.5.53_180730.zip
IPC_R6_EN_STD_V5.5.5_Build180111.zip
IPC_R6_EN_STD_V5.5.0_Build170725.zip
can't seem to downgrade to v5.4.x unless use TFTP which I havent tried yet
When I do a nmap port scan with this command in Zenmap: nmap -p 80,554 -T4 -A -v -Pn 192.168.254.5
Code:
PORT STATE SERVICE VERSION
80/tcp open http Hikvision IP camera httpd
554/tcp filtered rtsp
so the 554 port is closed
Then on a camera I can RTSP stream from: nmap -p 80,554 -T4 -A -v -Pn 192.168.254.4
Code:
PORT STATE SERVICE VERSION
80/tcp open http Hikvision IP camera httpd
554/tcp open rtsp Hikvision 7513 POE IP camera rtspd
I have followed this video where he enables Hikvision CGI:
The urls I have tried:
Code:
rtsp:/admin:password@192.168.254.5:554/Streaming/Channels/102/?transportmode=unicast
rtsp:/admin:password@192.168.254.5:554/Streaming/Channels/101/
rtsp:/admin:password@192.168.254.5:554/Streaming/Channels/1/
http://192.168.254.5/ISAPI/Security/capabilities?username=admin
http://192.168.254.5:554/videostream.cgi?rate=0&user=admin&pwd=password
rtsp:/192.168.254.5:554/ISAPI/streaming/channels/101
These image/MJPEG links don't work either
Code:
http://admin:password@192.168.254.5/Streaming/channels/102/httpPreview
http://192.168.254.5/Streaming/channels/1/picture
I have also tried changing the RTSP port, resetting to factory settings, using wireshark to try and get RTSP url (but the web live view uses some kind of HTTP ISAPI way to get live stream i think, which is how home assistant works with hikvision, but have no idea about packet capture and sniffing).
Any other ideas how to get RTSP live stream to work? I'm pretty sure when I brought the camera I could RTSP stream from it. I'm nearly about to swap this camera with with another but this camera is my best camera looking down my driveway so don't really want to!
Last edited: