keshavdv / unifi-cam-proxy

Enable non-Ubiquiti cameras to work with Unifi NVR
MIT License
1.59k stars 223 forks source link

Hikvision motion detection #317

Closed paskovitch closed 10 months ago

paskovitch commented 1 year ago

Camera

DS-2CD2343G0-I

Firmware version of the camera

V5.5.80 build 180911

Description

If I have a Hikvision camera what should I write to the arguments, to detect motion events in Protect?

My config: docker run -itd -v "/home/paskovitch/client.pem:/client.pem" keshavdv/unifi-cam-proxy:dev unifi-cam-proxy --verbose -H 192.168.0.1 -i 192.168.0.64 --model "UVC G3 Pro" -c /client.pem -t ABCDsssss hikvision -u admin -p psw --substream 1

Dev version only has stream, no motion detection. With the latest version, there is no stream, but there is motion detection.

Thanks!

How to reproduce

No response

Expected behaviour

No response

Screenshots

No response

Aditional information

Protect 2.7.34

FialaDavid commented 12 months ago

What stream settings do you use for your camera?

I am unable to go above 1280*720, 15 fps, H.264 Main profile, 512 kbps; AAC, 32 kHz, 32 kbps. Playback stops after that. Thank you!

paskovitch commented 12 months ago

config

stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

FialaDavid commented 11 months ago

Wow, OK. I have to look for my issues more deeply, I’m completely unable to achieve such resolutions and bitrate.

Would be nice to get the motion events passed as you mentioned.