Search results

  1. csJosh

    Instantaneous camera metrics - rough UI for Home Assistant

    Thanks. I wrote a custom card in javascript using customElements.define() and subclassing LitElement. Then in render() putting something like html1<ha-card><h1>...`. The guts of it is css grid. For the APIs, I use the Dahua NetSDK at Dahua Partner Alliances . That uses the 37777 interface I...
  2. csJosh

    Instantaneous camera metrics - rough UI for Home Assistant

    Hi All, I pulled together a bunch of instantaneous performance metrics from my Dahua cameras and NVR and made a crude display for them in Home Assistant. Here's what it shows: It looks like it's possible to get the exposure numbers the camera is using, overall ambient brightness, video stream...
  3. csJosh

    IPC-Color4K-T stops snapshotting to SD card

    Just to follow up on this, I ended up doing a hard reset (holding that button by the SD-card for 10 seconds), and now snapshotting seems to be working more consistently. And I've kept SMD disabled so am only using IVS.
  4. csJosh

    IPC-Color4K-T stops snapshotting to SD card

    I managed to read out CPU load and memory usage, (using the 37777 interface). CPU usage hovers around 45%, and not much that I do seems to affect it, including enabling SMD or switching to H264. It's quite possible that it could be the hardware doing the JPEG or H264/H265 processing that's...
  5. csJosh

    IPC-Color4K-T stops snapshotting to SD card

    I turned off SMD and motion detection and all substreams. So I have just H265 on the main stream and two IVS rules on. And it is still stopping snapshotting. I can't believe that that is too much to ask of the CPU. Hrm. Josh
  6. csJosh

    IPC-Color4K-T stops snapshotting to SD card

    I saw your comment in another thread about CPU maxing out causing problems. How can I check the CPU usage? I'm running 10 FPS, with 2 IVS-rules and SMD, and H265 (maybe the H265 is stressing it out?).
  7. csJosh

    IPC-Color4K-T stops snapshotting to SD card

    Hi - I've tried two different SD cards, both U3 / V30. The first was Samsung Pro Plus 128GB. And I just now tried a Samsung Pro Endurance 256 GB. With the Pro Endurance, I just had an IVS event, but it didn't start recording snapshots until about 15 seconds after the start of the event...
  8. csJosh

    Smart camera, smart NVR, or both?

    Great point about flood light interfering with image exposure. I started a different thread about deterrence: Deterrence in urban environment
  9. csJosh

    Deterrence in urban environment

    Hi All, I live on a dense, urban street with neighbors on all sides. The street has people walking down it periodically, even through the night hours. Flashing bright lights or even playing audio probably would annoy the neighbors. And @wittaj makes the good point that flashing a bright...
  10. csJosh

    Triangle privacy mask unavailable on IPC-Color4K-T ?

    Hi All, I just got a IPC-Color4K-T and the web interface only lets me specify rectangles for a privacy mask. On my 5442 camera I could specify triangles or other shapes. Has anyone else had the ability to draw other shapes on their Color4K-T/X ? -Josh
  11. csJosh

    IPC-Color4K-T stops snapshotting to SD card

    Hi, I recently bought the IPC-Color4K-T, updated to the latest firmware V3.120.0000000.39.R, Build Date: 2023-09-18. I have it configured to record video and snapshots to the SD card during SMD or IVS-rule events. I noticed that it sometimes stops recording snapshots during events and won't...
  12. csJosh

    Smart camera, smart NVR, or both?

    Yeah, I could easily believe that the relative performance tradeoff between H265 and H264 varies based on the specific environment, windy-ness, as well as of course the particular camera hardware. We've unfortunately had a few incidents of crime recently that I caught on camera. One ended up...
  13. csJosh

    Smart camera, smart NVR, or both?

    In the experiment I did today, the H265 clip was about 1/4 the size of the H264 clip (roughly 2100 kb/s vs 8200 kb/s). I'm using VBR with H265. I just took a closer look at the frames. I can't tell a different between the non-motion areas of both clips. I do think I can see a slight difference...
  14. csJosh

    Smart camera, smart NVR, or both?

    I just played around my 5442 camera settings, comparing: H265, smart-codec, VBR, quality 6 (best), 8192 max bit rate H264, General, CBR, 8192 constant bit rate Both at 10fps. I then walked in to the side of the frame, and alternated between moving around and being still. I downloaded the AVI...
  15. csJosh

    Smart camera, smart NVR, or both?

    Yeah, I'd read on this forum cautioning against H265. But when I tried walking down my street, recording in H265+VBR vs H264+CBR, both recordings looked basically the same I think. Is there something I could try doing in front of my camera while recording that would highlight the problem with...
  16. csJosh

    Smart camera, smart NVR, or both?

    Thanks for the suggestion, @steve1225 . The NVR4208-EI looks like a decent candidate for replacement NVR at ~$200. Also, my bandwidth demand on an NVR seems very low. At present, I'm seeing only 7 Mbps into my 4-channel NVR. That's with 4 x 4MP cameras (3x 5442's and 1x wizsense camera) . I...
  17. csJosh

    Smart camera, smart NVR, or both?

    @bigredfish, so you saw a bandwidth drop using AI cameras and switching from a dumb to AI-enabled NVR? I have the 4-channel NVR4104HS-4KS2. I monitor the event stream from the cameras directly. I want to add another channel or two, so am thinking of getting a second 4ch one, or a larger 8ch one.
  18. csJosh

    Smart camera, smart NVR, or both?

    Hi, For IVS rule-based monitoring, if the camera supports IVS (e.g., 5442), is there any reason to get a smart NVR vs a dumb NVR? I currently have a Dahua-based system I'm thinking of expanding. I've been using IVS rules on 5442 cameras and record with a Dahua NVR with no smarts. I figured since...
  19. csJosh

    Bug in Dahua SDK for CLIENT_DownloadByRecordFile

    On the off chance that anyone on this forum has a line to Dahua tech folks or this helps someone else: There's a bug in the General_NetSDK_Eng_Linux64_IS_V3.057.0000002.0.R.230814, in the dhnetsdk.h file. I believe the declarations of the CLIENT_DownloadByRecordFile and...
  20. csJosh

    How exposure settings work - some experiments

    Hi All, I found an API in the SDK to get cameras to tell you the actual gain & shutter value they are using at the moment. Playing around gave me a bit more insight into how the exposure settings work, which I wanted to share in case anyone finds it useful. The API reports the current gain and...
  21. csJosh

    Instantaneous gain & exposure

    The web ui gives you the ability to overlay textual messages on the video. The current gain information I think is only available via the SDK api. Theoretically you could write a script that regularly reads the gain information and then calls an API to update the text overlay to show the current...
  22. csJosh

    Instantaneous gain & exposure

    Hi All, Digging in to some Dahua API interfaces, I found one (NET_QUERY_VIDEO_IN_STATUS from the SDK) that I think reports the specific gain & exposure number the camera is currently using. That web UI lets you set a range for gain & exposure, but doesn't tell you what value is currently being...
  23. csJosh

    Linux tool to download video clips and convert to AVI

    Hi All, I created a linux command-line tool to download video clips from Dahua cameras or NVR and convert them to AVI. I can put the source up on github if people find it helpful. My intention is to expand it and hook it into HomeAssistant. Background: My home setup is Dahua smart cameras (5442...
  24. csJosh

    Spec for jpeg or dav file format returned from Dahua HTTP API?

    Hi, I have an EmpireTech IPC-T5442TM-AS running firmware V2.840.15OG00D.0.R. Does anyone know if there's any documentation on what kind of jpeg the HTTP API RPC_Loadfile returns? It looks like it's returning a slightly non-standard jpeg format, which I'm guessing includes some non-standard...
  25. csJosh

    What is the DGSErrorReport event?

    Hi, I recently got a IPC-HDBW3541E-S-S2 camera to see what SMD 4.0 was like. I have a few IPC-HDW5442TM-ASE, which I believe run SMD 3.0. I monitor camera events using the CGI interface and periodically see DGSErrorReport events on the new SMD 4.0 camera, but not the older SMD 3.0 ones. Does...
  26. csJosh

    Api to download file (Http api RPC_Loadfile)

    Hi, Has anyone gotten the HTTP api method RPC_Loadfile to work? Other methods work for me to find files on my NVR, like mediaFileFind.cgi, but when I try RPC_Loadfile, it returns code 200 with empty data. The code I've been using is: import requests from requests.auth import HTTPDigestAuth # # [...
Top