Amcrest/Dahua Cameras - snapshot api not working

Anyone with any amcrest or dahua gear that they find the snapshot http api call not working?

A Call to http:///cgi-bin/snapshot.cgi?channel=1 should result in an image (on an older camera/nvr this worked fine), but on newer camera/nvr it gets a server error.

The http api, still lists this as a command for this unit, but having no joy with it.

Versions as follows:
Model: DHI-NVR5216-16P-4KS2
Web:3.2.3.1829
System Version:3.210.0002.0, Build Date: 2017-07-

YES!

My Amcrest IP4M-1041 camera is having this same issue. Newer firmware is returning HTTP error 500 when attempting to load http://x.x.x.x/cgi-bin/snapshot.cgi?channel=1

  • Software VersionV2.800.00AC002.0.R, Build Date: 2021-05-18
  • WEB VersionV3.2.1.864542
  • ONVIF Version18.12(V2.4.5.826858)

My Amcrest IP4M-1051 cameras are not having this issue.

  • Software VersionV2.620.00AC000.3.R, Build Date: 2019-09-19
  • WEB Version3.2.1.619604
  • ONVIF Version16.12(V2.4.1.513183)

I cannot find an older firmware version on the Amcrest site for the IP4M-1041.

Did you find any resolution???

yeah maybe. It might have been authentication method. By default you tend to use basic. And newer firmwares do need digest.

Other than that, I haven’t played for a while.

SOLVED! Or at least found a workaround. Documenting for future generations.

Disable the video sub-stream in the camera.

This Amcrest thread discusses this issue with snapshots in newer Amcrest firmware. Some mention success with using H.264 for sub-stream. That did not work for me. I just disabled the sub-stream video as I am not using it and the snapshots work again.