Sorry to bother, but i tried both this one above and the one @pozzello linked and they both said they failed. Im running the latest amcrest firmware (Amcrest_IPC-HX25(8)XX-Molec_Eng_N_AMCREST_V2.800.00AC001.0.R.201230) so im not 100% sure what happened (did dahua do something to prevent this?)...