interesting, but that's different hardware than the T2499EW ( 8mp aluminum-bodied eyeball/turret) that DanTappan was asking about, so may not be directly comparable...
I have afeeling they really skimped on the IP5M-T1179E ...
3.5 out of 4 possible is not bad. out of 10, not so much...
@DanTappan, on my converted T2499EW, I can fetch an 8MP snapshot from the CGI interface in less than 1/2 sec on my test bench (short ethernet):
you might compare to the numbers you're getting on your stock Amcrest unit to see if the Dahua FW is doing this any faster.
(i only have the one unit, so i can;t compare to stock any more)
View attachment 79170View attachment 79171
Yes, that's pretty much the symptom of the bug. At lower resolutions, generally between 4MP and 8MP, the snapshot URLs will work for awhile and then hang, eventually returning the 400 error. As you reduce the resolution and possibly the image quality, it works more reliably. So I'm not surprised that that's what you saw with a 5MP camera.I just ran a bash script against my IP5M-T1179EW-28MM (stock Amcrest firmware) to curl 60 jpgs as fast as possible over wired Ethernet, and it took about 60 seconds. Each jpg is 5 MPix and about 770Kbytes.
I tried running a longer test, but the camera hangs up if I do more than about 80.
What I use is a python script which fetches images once a second, so it's doing essentially what your shell script test did. But, with the stock Amcrest firmware configured to 8MP resolution even a simple browser fetch fails soldily: 400 errors 99% of the time.still not quite apples-to-apples, given different hardware has varying amounts of processing 'headroom'....
I was suggesting you run the same browser-based test i did (or @TheWaterbug's scripted fetch) against a stock AMCREST T2499EW cam to see if mine with Dahua FW is any faster,
but yeah, it might just not work reliably on any HW/FW...
(or @TheWaterbug's scripted fetch)
#!/bin/bash
NumShots=$1
PauseBeforeShot=$2
for i in `seq 1 $NumShots`
do
sleep $PauseBeforeShot
outfile=jpg/Snapshot
outfile+=$i
outfile+=.jpg
sudo curl -o $outfile --digest --user user:Password -O "http://192.168.1.45/cgi-bin/snapshot.cgi"
done
An an example: The camera out of the box, when uploading via ftp creates a path of the form <date>/001/dav/<hour> for video and <date>/001/jpg/<hour>/<minute> for snapshots.
After the NVR configuration, the ftp path is of the form, <date>/video_001 and <date>/pic_001.
There is no option that I know of to control the ftp path. Yet nothing seems to reset it. What is the ftp path written by default with the Dahua firmware?
I prefer the shorter path, but other functions are not working or working inconsistently. In particular, if the camera is set to 8mp video, snapshots, either scheduled or from event, occur inconsistently, usually ok over night but stop during the day. So far, with the Dahua firmware, it seems to be working, but I've thought that before with Amcrest as well.
I've also noticed that there's an option missing. On the Amcrest, you can choose, 1, 3 or 5 snapshots when motion activated. There is no choice of how many with Dahua, only snapshots or not.
you have to use DH_NVR4XXX-4KS2 FW
here is the latest one
Awesome, thanks! Got the IP5M-T1179 flashed over last night