Dahua PTZ IP Camera having 5+ secs delay

Forum for questions and support relating to the 1.28.x releases only.
Post Reply
wambs
Posts: 3
Joined: Mon Aug 03, 2015 5:37 pm

Dahua PTZ IP Camera having 5+ secs delay

Post by wambs » Mon Aug 03, 2015 5:48 pm

Hi All,

I'm using Zoneminder 1.28.x, latest stable version.
Thxs for the Devs/users for this great tool.

I have integrated a Dahua Mini-Dome PTZ Camera.

I have setup a dahua.pm perl file with the http commands to control it.
I had to use a spec I found online and wireshark IP packet sniffer to figure out the correct commands.
I'm still working on the control file.

One thing I have noticed is that when I tell the camera to pan , tilt, or zoom,
the video is delayed by 5+ secs. I thought this might be due to the number of buffers assigned to the camera.

The camera responds quickly but the video is delay.

Is there a way to make the video display much quicker.
I have reduced the buffer size, but that helps a little, but it makes motion detection not reliable,
and the number of frames before/after alarm too small.

Thxs!!,
Kevin

wambs
Posts: 3
Joined: Mon Aug 03, 2015 5:37 pm

Re: Dahua PTZ IP Camera having 5+ secs delay

Post by wambs » Fri Aug 14, 2015 7:13 pm

Sadly, no response to my question. :(

mikb
Posts: 349
Joined: Mon Mar 25, 2013 12:34 pm

Re: Dahua PTZ IP Camera having 5+ secs delay

Post by mikb » Fri Aug 14, 2015 7:27 pm

Maybe because no-one has had that problem with that camera?

Just as a check: What frame rate (FPS) have you got set on the settings in Zoneminder for this camera?

If the answer is anything other than "blank" ... that could give you problems (delays).

Control the frame rate at the camera's end, with it being an IP camera.

That's all I've got :(

SteveGilvarry
Posts: 408
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: Dahua PTZ IP Camera having 5+ secs delay

Post by SteveGilvarry » Sat Aug 15, 2015 9:48 am

I have a Dahua 3MP non PTZ camera, and I have noticed delay in the cameras stream, gets worse on high res like a second or two. I was using the cameras web server to view not ZM. In the end I use low res stream direct from camera for watching it live, for zm I don't mind the delay as it still works fine, as zm is detecting motion and recording it as it appears. But I guess if you are moving the camera the delay would cause issues.
Production Zoneminder 1.30.0 + feature-h264-videostorage
3 Cameras (Dahua and Hikvision)
More Dev VM's than I care to count.

pperry76
Posts: 2
Joined: Fri Apr 28, 2017 3:14 pm

Re: Dahua PTZ IP Camera having 5+ secs delay

Post by pperry76 » Mon Jul 24, 2017 3:40 pm

Any way you could post your dahua.pm perl file. I have an Older Dahua PTZ and the commands to control it, but no idea how to structure the file.

Thanks in advance.

bobylapointe69300
Posts: 10
Joined: Wed Feb 14, 2018 6:51 pm

Re: Dahua PTZ IP Camera having 5+ secs delay

Post by bobylapointe69300 » Wed Feb 14, 2018 9:37 pm

pperry76 wrote:
Mon Jul 24, 2017 3:40 pm
Any way you could post your dahua.pm perl file. I have an Older Dahua PTZ and the commands to control it, but no idea how to structure the file.

Thanks in advance.
I posted a DAHUA PTZ control file here : viewtopic.php?f=9&t=27000

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests