Long time lurker here.
I got tired of installing giant vendor software just to export a short clip from an NVR, so I made a small tool for it. It's open source so feel free to rummage through the source code:
https://github.com/yashau/nvrclip
It can export exact MP4 clips from Dahua and...