This Hikvision webcam was a pain to get running on Linux Ubuntu.
After plugging it in all my photo taking apps refused to load or crashed very quickly after opening.
I used this to help solve the issue.
sudo rmmod uvcvideo
sudo modprobe uvcvideo quirks=0x100 trace=1
You may need to run these 2 commands a few times to make them stick, and likely every time before you want to use the webcam.