r/ispyconnect • • 25d ago

Using Foscam motion detection to initiate Agent DVR recording- help!

0 Upvotes

Hi, Im just getting started here with setting up home surveilance and struggling with a Foscam G2 HD camera with motion and people detection. Im trying to use the camera's smarts to trigger recording on ADVR. the camera doesnt send detections over onvif, so im using its trigger function to send an alert to http://192.168.1.30:8090/command/record?ot=2&oid=3, which should initiate recording. When ADVR record mode is set to manual, the alert starts the red light, but it stays on, and repeatedly captures 15 sec clips until i shut it off. I have max record time set to 5 sec. I cant figure this out. I captureed the following log: (FoscamC1)

OpenWriter: Foscam C1: StartSaving

CreateWriter: Foscam C1: Creating Raw Writer (SD)

.ctor: Foscam C1: Using stream timestamps for this recording

Open: OPEN RECORD

Open: written header

Open: Foscam C1: Recording (Raw Writer StreamController)

RecorderRecordingOpened: Foscam C1: Recording Opened

RecorderRecordingOpened: Foscam C1: Recording Created

OpenWriter: Dining Room: StartSaving

CreateWriter: Dining Room: Creating Raw Writer (HD)

.ctor: Dining Room: Using stream timestamps for this recording

Open: OPEN RECORD

Open: written header

Open: Dining Room: Recording (Raw Writer StreamController)

RecorderRecordingOpened: Dining Room: Recording Opened

RecorderRecordingOpened: Dining Room: Recording Created

Close: Foscam C1: Record stop

Close: Foscam C1: Closed

RecorderRecordingClosed: Foscam C1: Recording Closed

OpenWriter: Foscam C1: StartSaving

CreateWriter: Foscam C1: Creating Raw Writer (SD)

.ctor: Foscam C1: Using stream timestamps for this recording

Open: OPEN RECORD

Open: written header

Open: Foscam C1: Recording (Raw Writer StreamController)

RecorderRecordingOpened: Foscam C1: Recording Opened

RecorderRecordingOpened: Foscam C1: Recording Created

Close: Foscam C1: Record stop

Close: Foscam C1: Closed

RecorderRecordingClosed: Foscam C1: Recording Closed

Close: Dining Room: Record stop

Close: Dining Room: Closed

RecorderRecordingClosed: Dining Room: Recording Closed


r/ispyconnect • • 26d ago

How to stop recording false motion

1 Upvotes

I have a Reolink doorbell that records well to their android app. My front door has palm trees that seem to trigger recordings. The detector is set to person. Simple and HAAR objects have the same issue. I colored the area below the trees where there is no tree motion. However I get constant alerts / videos every minute. I have to turn it off until it is configured properly if possible.

Note, I am using the free version.


r/ispyconnect • • 26d ago

Linux: Agent never exits after Restart/Update – deadlock in libnvcuvid exit handler while an NVENC live-view encode is in flight (8.2.2.0)

1 Upvotes

Setup: AgentDVR 8.2.2.0 (same hang on 8.1.x), Ubuntu, systemd service running as a non-root user, NVIDIA driver 595.99.02, GPU decoding on all cameras, and NVENC for the live view (H.264 and AV1 sessions).

Symptom: After Restart Agent or an update, DoShutDown completes in about 2 s (DoShutDown: exit, then HandleUnixShutdownRelaunch: Calling: agent-update.sh -restart). .NET then logs Application is shutting down..., and the process never exits. On 8.1.x, systemd's stop timeout killed it after 90 s. 8.2.x's new restart path waits for Agent to exit and relies on Restart=always, so nothing kills it. Agent stayed down for 22 minutes until I killed it by hand.

Stacks (gdb, two captures 20 s apart, identical state):

- Main thread: exit() → __run_exit_handlers → libnvcuvid.so.1 → pthread_join (libnvcuvid worker thread)
- libnvcuvid worker: pthread_mutex_lock (blocked)
- .NET thread-pool worker: avcodec_send_frame (ffmpeg9.0.2-lgpl libavcodec.so.63) → libnvidia-encode.so.1 → libnvcuvid.so.1 → pthread_mutex_lock on the same mutex

Interpretation: the process reaches exit() while a live-view NVENC encode is still running. libnvcuvid's exit handler waits for its worker thread, and the worker is stuck on a lock that the in-flight encode is also waiting for. Neither can proceed.

Suggested fixes:

  1. In DoShutDown, stop and free all live-view encoders and wait for in-flight avcodec_send_frame calls to return before exiting.
  2. After shutdown completes, end the process with _exit(), which skips the library exit handlers, or force-exit if it's still alive N seconds later.
  3. For non-root installs, have agent-update.sh still try systemctl --no-ask-password --no-block restart AgentDVR.service. It fails immediately without a prompt when polkit doesn't allow it, and works where a polkit rule allows it.

I have gdb logs, but I'd rather share them directly. Each one is about 140 KB. let me know if you need them.


r/ispyconnect • • 26d ago

Help with Nest Dropcam

1 Upvotes

Hope you're doing well. It's been two years since I last complained that Nest cameras were causing Agent problems. I'm back again with more bad news!

I'd been running https://ispyfiles.azureedge.net/downloads/Agent_Windows64_6_2_8_0.zip ever since you pushed out the fix in this thread https://www.reddit.com/r/ispyconnect/comments/1jmbt55/updated_from_5540_627_now_get_m3u8_download/ . Today I was forced once again to reinstall after re-imaging windows, and I'm having struggling to establish a connection with the latest version again (and the old version is no longer accessible)

If you wanted to see what I mean, (and check out my Halloween decorations) https://video.nest.com/live/0pPavaSP9W is my current publicly accessible stream, and it works quite when viewed in the browser - and was working quite well in Agent 2 days ago too, before I had re-install, so there may have been a regression. I can send you my exported settings from before the upgrade too, if it helps reproduce the issue.

Logs show this every 10 seconds:

-----

SetState: Camera 1: State Starting -> CoolingDown [setEnabled=True, enabled=True, connecting=True, error=True, epochStale=False, sourceRunning=False]

SetState: Camera 1 mic: State Starting -> Stopped [setEnabled=True, enabled=True, connecting=True, error=True, epochStale=False, sourceRunning=False]

CheckStateDivergence: Camera 1 mic: State divergence: Stopped but IsEnabled [state=Stopped, setEnabled=True, connecting=True, error=True, epochStale=False, sourceRunning=False]

CheckReconnect: Camera 1: Reconnecting

SetState: Camera 1: State CoolingDown -> Starting [setEnabled=True, enabled=False, connecting=True, error=True, epochStale=False, sourceRunning=False]

OnPrimaryStateChanged: Camera 1: Controller SD State Changed: Connecting (Stream starting...)

SetState: Camera 1 mic: State Stopped -> Starting [setEnabled=True, enabled=False, connecting=True, error=True, epochStale=False, sourceRunning=False]

EnableMicrophoneSource: Camera 1 mic: Start audio

EnableDevice: Camera 1 mic: Enabled

EnableDevice: Camera 1: Enabled

ProcessingLoopAsync: Camera 1: The node must be of type 'JsonObject'. at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_NodeWrongType(ReadOnlySpan`1 supportedTypeNames) at System.Text.Json.Nodes.JsonNode.AsObject() at CoreLogic.Sources.Combined.FFAsync.SourceConfigurator.PrepareCameraConnectionAsync() at CoreLogic.Sources.Combined.FFAsync.MediaSource.<ConnectAsync>b__48_0() at StreamController.ProcessingLoopAsync(CancellationToken token)

OnPrimaryStateChanged: Camera 1: Controller SD State Changed: Failed (The node must be of type 'JsonObject'.)

SourcePlayingFinished: Camera 1: Playing finished (SourceError)

NextReconnectTarget: Camera 1: Reconnecting in 10s

----
Gif might be related. I found in trying to set it up from scratch that I can't actually select the video url dropdown, it resets no matter how I try to select it (click, return, tab, etc...)


r/ispyconnect • • 26d ago

YCC365PLUS CAMERA

1 Upvotes

Hello. I have a YCC365plus 360 degrees camera My camera is on wifi, has a memory card. It says it's recording events, but recently it won't let me view video, only live feed; gets an error saying playback failed. Emptied the memory card storage, that didn't help. I already rebooted the router, power-cycled the camera, or checked the app settings. The company has no technical support or customer service. Anyone else experienced this issue and know how to fix it, please help? TIA


r/ispyconnect • • 29d ago

Duplicate Agent DVR Remote Push Notifications

1 Upvotes

Issue

When I dismiss (Clear all or swipe left/right) an Agent DVR Remote push notification on my phone, I immediately receive another Agent DVR Remote push notification. The original push notification is labeled properly (ALERT [Timestamp] [Device Name] [Alert Type]) and the "duplicate" notification after dismissing the first is not (Agent DVR New notification). I receive one-to-one duplicates, so for one notification I'll get one duplicate, if I dismiss 10 at a time I get 10 duplicates. Tapping the original notification will open the app and clear the notification and does NOT result in a duplicate notification. Tapping the duplicate will open the app to the servers list. Logs don't show anything suspicious.

Setup Details

  • Server OS: Windows 11 Pro
  • Agent DVR Server: v8.2.0.0
  • Agent DVR License: Remote
  • Mobile Phone: Pixel 5 | Android 14
  • Android App: Agent DVR Remote 1.6.17

r/ispyconnect • • 29d ago

Two feature requests

2 Upvotes

It would be very nice if the bar that shows the recording details at the bottom (events In recording) was zoom able. I. My particular use case I have 24 hour long clips, it would be very nice to be able to zoom in and out to to fine adjusting as to where the slider is in the playback

Second feature is a jump to time. I could right click or something and select the exact time I want the playback to jump to and the playback jumps to it


r/ispyconnect • • Oct 29 '26

Default view does not work in Firefox

1 Upvotes

I can change my default view and even after entering the restart Agent command the first view on my list always comes up with Firefox, is there a setting for this? Just tried Chrome and got the same, but when I open Agent on the actual server PC and its browser opens it DOES use the selected default view?


r/ispyconnect • • Oct 24 '26

Poor Quality Video

1 Upvotes

Just got some vimtag F1-362c 4k cameras. Installed agentdvr. it found the cameras immediately. In settings set to 3840x2160 for record url. video playback of recordings is really bad. suggestions? Thanks


r/ispyconnect • • Oct 24 '26

Lost object detection

1 Upvotes

Since the update that added analytics I have lost my objection detection.

I have tried to turn analytics off, no effect. I have made sure object detection is on for the cameras, but I'm still not getting any.


r/ispyconnect • • Oct 24 '26

Blink mini 2k cameras work with Agent DVR?

1 Upvotes

Hello all, I have six Blink Mini 2k cameras and was wondering if these would work with Agent DVR. Has anyone here been able to get these to work with Agent DVR? These are from Amazon and so far the research that i have done seems to indicate that these cameras are locked down to the blink home monitoring apps for Android and iOS though it would be great to get these to work if at all possible, using Agent DVR. Are there any workarounds to get them to work with Agent DVR? They work with the blink home monitoring app. I have tried to get them to work with Agent DVR, but when I enter the camera IP address, I get a message that says nothing found.


r/ispyconnect • • Oct 24 '26

Problème installation webcam logitech c920

1 Upvotes

Bonjour, je ne parviens pas à installer ma webcam logitech c920 sur Agent DVR. Mon ordinateur est un Mac mini. Il reconnaît la webcam mais c’est en chargement perpétuel et rien ne s’affiche. La webcam fonctionne parfaitement. Je ne trouve pas la solution. En vous remerciant


r/ispyconnect • • Oct 23 '26

Unable to assign groups under Permissions in Multiview

1 Upvotes

Hello guys,

I am using a licensed version of Agent DVR, currently v.8.1.6.0. Trying to configure the Multiview for remote users. Once I click the + button under Permissions, I have to add the groups there but I can only choose from the list. I have added all my servers to grant access to them, then wanted to add the camera groups, but the list contains only groups from the first server. How to grant access to the groups from the other servers? I understand that the cameras from groups will be shown under their servers where they are assigned, but how to grant the access from the groups from all the licensed servers. Thank you for your guidance.


r/ispyconnect • • Oct 23 '26

Question about subscriptions

1 Upvotes

I am looking to be able to display all of my streams in 4K, it appears that without a subscription, the highest resolution is 720p.

When looking at the subscriptions, I came across this clause: * Annual+ prepayment includes a perpetual local licensefor direct port-forward access, which you retain indefinitely. This license enables all features included in your subscription, excluding services that rely on our hosted infrastructure, such as mobile applications and remote access via our servers.

I just want to make sure I am understanding correctly: if I pay for an annual subscription once, and then cancel after the year is up, I retain all of the added features minus cloud infrastructure, etc?
I have no interest in using the mobile application, or using cloud storage.
Also, just to clarify, the only plan that allows 4k playback is the top tier plan?

Thanks for any information.


r/ispyconnect • • Oct 21 '26

MultiView merger

2 Upvotes

Hello guys,

imagine, you have 2+ Agent DVR servers which you want to see in one dashboard. Sounds easy, use Multiview. But Multiview is just kind of iframe merger, you have to use all these servers separately in the frames. The users want to merge the frames in Multiview to one frame only and be able to see everything from all servers - one list of views merged from all servers. Based on the chosen view they want to see live streams, recordings, timeline... from the remote servers in this one frame. Seems to me the only way currently is to ask for new development. Am I correct or do you know about any possibility to handle this in current version of Agent DVR?

Thank you


r/ispyconnect • • Oct 21 '26

Android-App Live-Video View

Post image
1 Upvotes
Hello spornerama. I’ve noticed something, and I’m not sure why it’s happening. When I access AgentDVR via the Android mobile app, the cameras in the live video view are all jumbled up. Strangely, the layout is correct in the Apple iOS version. I tested it using version 7.7.4.0, and in that version, they appear in the correct order. I’ve already tried reinstalling the Android app, but that didn’t help. Do you have any idea why this is occurring in the new version?

r/ispyconnect • • Oct 20 '26

analytics uses huge cpu

1 Upvotes

running 3 cams constant record and object detection noly i get 30-45% cpu. turnning analytics on as well i am running 90-100% any idea?


r/ispyconnect • • Oct 19 '26

Dynamic decoding configuration change

2 Upvotes

Hello guys,
I am using licensed version of the Agent for up to ~400 cameras on my server. Need to find a way how to reduce the CPU/GPU usage.

Current situation: ASUS TUF Z390-PRO GAMING with integrated Intel UHD Graphics 630. 32GB of RAM. 11TB of data storage available. Windows server. Cameras provide 720p, 10fps live color stream, one stream only, H.264, cannot be changed. Agent DVR is used to record the streams 24x7 as is RAW 1:1 without decoding. Layout shows Interval slot, Grid slot (i would prefer just a simple camera list here, but didn't find such option, it could significantly lower the used resources), Recordings, Timeline and Main Display window. Views are defined to group the cameras per about 100pcs, otherwise all cameras at once are killing the server. All the other not required configuration is turned off, no motion detection, everything is local only, no uploads, no AI...

Expected configuration: Dynamically limit the decoding of live view to cameras showed in the view, only - so max up to these ~100pcs. I have such a strange feeling, it is decoding all the ~400 cameras in the background, which is in fact not needed and it is taking a lot of resources.

Any sensible help with configuration adjustment is welcome.
Thank you


r/ispyconnect • • Oct 18 '26

For edit the camera time (sync with server), camera title change, osd coordinates change for displaying the text on screen whatever we want

0 Upvotes

i have came here for edit the camera time (sync with server), camera title change, osd coordinates change for displaying the text on screen whatever we want that is need in my running current project. i tried camera's api's which ISAI, CGI, SOAP but only i can chnage which is time, not able to edit the camera name, and osd positions.

can anyone has any idea or resources which can help me to fix the issue cause i tried multiple ways but didn't work.


r/ispyconnect • • Oct 17 '26

Analytics question

1 Upvotes

With the analytics in the most recent update do we have to be running object detection and analytics at the same time or can we run only analytics to perform the object detection functions?


r/ispyconnect • • Oct 17 '26

PiP overlay missing from WebRTC live view (8.1.1.0, Linux, GPU H.264 WebRTC)

1 Upvotes

Issue exists for all cameras.

Camera A has Picture-in-Picture enabled with camera B as the source, shown in the upper-left corner.

- The PiP shows in /grab.jpg?oid=A at every size (640x360 to 4K), in /video.mjpg?oids=A, in grid tiles and in third-party clients that use those endpoints (e.g. AgentDVR's Home Assistant integration).

- In the main live view (WebRTC), the PiP image is not displayed. AgentDVR's own timestamp overlay does show in the same stream, so overlays in general reach WebRTC and only PiP is left out.

- When the camera is opened in the main view, the PiP sometimes shows for a split second, then disappears. This is probably the still picture shown before the WebRTC video starts.

- In camera's recordings (played back in AgentDVR WebUI), the PiP is alwo not being displayed, but the timestamp is. Raw recordings are expected to have neither, since they are saved directly to disk from the raw footage, and that's fine.

Expected: the PiP is composited into the WebRTC stream like the other overlays.

Relevant log entry: "Using AV_CODEC_ID_H264 for webrtc stream (GPU Enabled: True)"

This issue is not new, I actually had encountered it since day 1 (AgentDVR 7.x), but I was busy configuring and tuning other aspects, and now got to this one.


r/ispyconnect • • Oct 16 '26

German translation

1 Upvotes
Under "Camera" > "Editing" > "General," there is an option called "Detector." In the server menu, under "Copy Settings," this same item is labeled "Recognizer." It should also be called "Detector" there, to make it easier to understand.

r/ispyconnect • • Oct 15 '26

Bug: Alerts list "Person" filter hides ~33% of person-tagged clips. Category looks like it comes from the first tag only

1 Upvotes

(Note: This post was polished with the help of Claude, part of a longer troubleshooting/optimization project for my AgentDVR instance)

Version: 8.0.8.0, Linux (Ubuntu), SQLite fileDB.db3

Affects: WebUI Alerts list (bell icon): object filter chips and the free-text filter

Not affected: detection itself, AgentFile.Tags, per-grab ImageTag, and the icons shown on the recording in the files list

Summary

A recording that contains a person is only reachable through the Alerts list "Person" filter if person happens to be the first label in its Tags field. If any other label was detected first (car, truck, motorcycle, loiter) the clip is categorized as that instead.

Across my 9 AI-enabled cameras this hides 947 of 2,839 person-tagged recordings (33%).

Minimal example: same camera, 28 minutes apart

Two Gate (<--camera name) clips, both with ContainsAIAlert=1, both 20 s:

11_2026-10-14_22-42-36_645.mkv
  Tags    = "car,person,detected"
  TagJSON = [{"t":"person","s":5},{"t":"alert","s":5},{"t":"detected","s":6}]
  -> shown as Vehicle. NOT returned by the Person filter.

11_2026-10-14_23-10-55_845.mkv
  Tags    = "person,detected"
  TagJSON = [{"t":"alert","s":5},{"t":"detected","s":8}]
  -> shown as Person. Returned by the Person filter.

Note the inversion: the clip the filter misses is the one that has person in both Tags and TagJSON. The clip the filter finds has no person entry in TagJSON at all. So the lookup isn't reading TagJSON, and it isn't searching Tags either. It behaves as though the clip's category is derived from Tags.split(',')[0].

That also explains why the object chip and the free-text filter behave identically for me: if both resolve against the same single derived category, neither can ever reach the buried labels.

The underlying detection is correct. Per-grab rows for that same 22:42 event:

ImageTag: 2026-10-14_22-42-36_265.jpg  ObjectID 11  Tags "car"
ImageTag: 2026-10-14_22-42-37_282.jpg  ObjectID 11  Tags "person,car"

Gate scored person 83% on that second frame. The clip's stored alert thumbnail is the first detection frame (the parked van at car 65%), not the frame that carries the person, so even when you do find the clip, the preview argues against opening it.

Scale, and why I think it confirms the cause

The effect size tracks exactly what "first tag wins" predicts: cameras that only ever see people are barely touched, cameras that also see traffic lose up to half their person clips.

CameraSceneperson-taggedperson listed firsthidden
Hallwayindoor, people only1691643%
Courtyardyard, people only1941893%
Roofwide, mixed33424925%
Streetstreet1,08968737%
Doorbellpath + street25014442%
Gatedriveway + street73042342%
Garagevehicles733651%
All2,8391,89233%

Nine cameras, different resolutions, different confidence thresholds, same proportional behaviour. What varies is only how often a vehicle gets detected before the person does.

Labels that occupy first place when person is present but not first, all cameras:

car 478   truck 171   motorcycle 121   loiter 93   bicycle 27
vehicle 27   bus 10    boat 9    dog 3   cat 3   detected 3   ai down 2

loiter appearing there means loiter events are affected too, which is the one category where you'd least want a person clip to go missing.

Secondary observation: TagJSON is incomplete

In 921 of 2,839 person-tagged clips, Tags contains person but TagJSON has no person entry (the reverse never happens: TagJSON-only is 0 cases). So TagJSON is a lossy subset of Tags. It isn't the cause of the filter bug, but if TagJSON is meant to drive seek-to-detection in the player, those 921 clips can't offer a person seek point.

Expected behaviour

  1. The Person filter should return every recording whose Tags contains person, regardless of position in the tags list.
  2. A clip containing several object classes should be reachable under each or any of them, rather than being assigned one category from whichever fired first.
  3. Ideally the stored alert thumbnail would be the highest-confidence detection frame, or the one matching the active filter, instead of the first frame of the event.

What I ruled out locally

  • Not a confidence threshold issue: the hidden clips contain detections at 72–86%.
  • Not a zone mask: Gate's active zone covers the whole driveway centre.
  • Not a tagging failure: Tags and ImageTag are both correct.
  • Not the files list: the recording's own icons show both objects correctly.

The defect is confined to how the Alerts list derives a clip's object category.

Happy to supply more rows, the AlertDataBlob for either clip, or run a query against fileDB.db3 if that helps narrow it.

Thank you!


r/ispyconnect • • Oct 14 '26

Trial or refund for Agent DVR built-in face recognition before purchasing an annual license?

1 Upvotes

Hi,

I'm evaluating Agent DVR as a replacement for a Hikvision DVR in a commercial environment.

My setup:

  • Windows 11
  • NVIDIA RTX 5060 Ti
  • Hikvision IP cameras, 1920×1080
  • Cameras mounted high, with downward viewing angles
  • Existing facial reference images in JPG format

The Hikvision DVR previously achieved reasonably good recognition results with this camera setup, although there were some false positives.

I tested Frigate 0.17.2, but its face recognition performance was poor. Most face crops were very small (around 30–90 pixels wide), resulting in unreliable recognition.

I'm interested in Agent DVR Basic with an annual payment and a perpetual local license, but facial recognition is the main reason for switching.

Could you clarify:

  1. Is there any way to evaluate the built-in face recognition before purchasing?
  2. If I purchase an annual license and recognition performs poorly, what is the refund policy and time limit?
  3. Can the built-in face recognition use full-resolution 1080p frames, and how does it handle small or angled faces?
  4. Does the perpetual Basic license retain local face recognition and local API/MQTT functionality after the annual subscription is cancelled?

I also plan to integrate the NVR with custom Windows-based Python automation and computer vision services.

Thanks!