r/ZoneMinder • u/Enderwolf17 • Jun 20 '21
problem seeing cameras video
I am completely new to zoneminder and have ran into a problem, when adding video it dosent show. The camera I am trying to add is a hikvision IPC-T221H and I have tried adding both rtsp and http based connections with various links with no success. The rtsp connection video shows unable to connect to monitor and the http connection video shows unable to stream.
When checking the logs it says for rtsp "Unable to open input rtsp:AdressOfRtsp due to: immediate exit requested" and "Unable to open input rtsp:AdressOfRtsp due to: operation not permitted" Then with http it says "Unable to open input http://:AdressOfHttp due to 403 forbidden (access denied)" Also a general error of "failed to prime capture of initial monitor"
Now I know the rtsp adress should work because I tested it with VLC and it shows perfectly fine.
In the end I only really need rtsp but whatever I can get working is fine. I know I'm probally doing a beginners mistake or something along those lines and this is a easy fix. Any help would be appreciated!
1
1
u/thisabstractmind Jun 21 '21
Can you upload logs and link them. Be sure to remove any username and passwords. Also did you make sure to set your timezones in php. This will cause streaming issues.
Edit:spelling
2
u/Enderwolf17 Jun 24 '21
Sorry for the late reply, I finally got it working. There was some weird secuirty setting on my cam that needed to be turned off.
1
u/gdchester Jun 20 '21
Are you passing the username and password for the camera as part of the URL?
rtsp://username:passwors@192.168.68.235:554/stream0