Kinect Azure TOP (Orbbec mode): two network Femto Mega + body tracking → camera stream restarts for ~2 s every few minutes

Build: TouchDesigner 2025.32460 (also seen on 2023.11600), Windows 11 Enterprise 26100,
Ryzen 9 7950X, RTX 4090.
Hardware: 2 × Orbbec Femto Mega (FW 1.3.1) over Ethernet / PoE, one gigabit PoE switch.
Setup: two Kinect Azure TOPs, Hardware Type = Orbbec Compatible, Depth Mode NFOV Unbinned
640×576, 30 fps, Body Tracking via Kinect Azure CHOP on each camera (Processing Mode GPU Default).

Symptom. Every 2–5 minutes one of the cameras stops delivering frames for 1.8–2.0 s and then
comes back by itself. The TOP shows no error or warning, it just freezes on the last frame.

What the Orbbec SDK log shows (file log enabled through OrbbecSDKConfig). Every freeze is
preceded by an incomplete depth or IR frame, or by a Metadata size is too large exception
in the RTP receiver. Within ~30 ms the camera’s pipeline is stopped, destroyed and re-created:

[13:37:50.811] [warning] This frame will be dropped because the data size does not match the expectation! size=577692, expected=737280 @OB_SENSOR_IR
[13:37:50.840] Try to stop pipeline!
[13:37:50.903] Pipeline destroyed!
[13:37:51.890] Pipeline created with device: {name: Femto Mega, sn: CL29B53001J}
[13:37:52.794] Start streams done!

When it happens (20-minute runs):

Cameras Body tracking fps Restarts / min
2 off (Sync Image to Body Tracking off, no CHOPs) 30 0
1 on 30 0 (with the full project and Unreal running)
2 on one camera 30 ~0.25, all on the tracked camera
2 on both 30 ~0.35–1.0
2 on both 15 ~0.2
2 on both 5 0

Ruled out: network loss (ping steady at 0–1 ms through every freeze), NIC (USB and on-board
PCIe, new driver, larger buffers), CPU load (~17 % total), process priority, the rest of the
network (reproduces with only the two Kinect Azure TOPs in the project), Sync Image to Body
Tracking on/off. It also reproduces with the stock DLLs in TouchDesigner 2023.11600
(Orbbec SDK 1.9.4) and 2025.32460 (1.10.16). It did not change with OrbbecSDK-K4A-Wrapper
v1.10.5 (SDK 1.10.28) or v2.0.12 (SDK 2.5.5) dropped into bin for testing.

Questions:

  1. Does the Kinect Azure TOP stop and restart the device when k4a_device_get_capture
    (or the body tracker) returns an error or an incomplete capture? If so, could it skip the bad
    capture instead of restarting the device?
  2. Is there a parameter, environment variable or config to change that reaction or the ~1 s wait
    between stop and re-create?
  3. Is two network Femto Mega cameras with body tracking on both in one TouchDesigner process a
    supported setup?

I’ve also reported this to Orbbec: Two network Femto Mega + body tracking: incomplete frames trigger a ~2 s pipeline restart · Issue #115 · orbbec/OrbbecSDK-K4A-Wrapper · GitHub

SDK logs and per-200 ms network logs are attached

issue-attachments.zip (231.6 KB)

Hey @ulf

Thanks for the report. We’ll take a look and get back to you once we find out more.

Update: found the cause, and a workaround on the wrapper side.

It is not the SDK and not the network. Over the network a Femto Mega sometimes delivers a truncated IR frame, and the Orbbec SDK drops it. The TOP starts the device with synchronized_images_only = 0, so the capture comes without IR. The body tracker rejects it,
and the device is closed and reopened. That is the ~2 s gap. The wrapper destroys the pipeline only in k4a_device_close, and only cameras with body tracking restart. Both point to the reopen coming
from the TOP.

I rebuilt k4a_orbbec.dll (wrapper v2.0.12, Orbbec SDK 2.5.5) to drop framesets that are missing depth or IR. Result: 0 restarts in 30 minutes with two cameras at 30 fps, tracking on both, the full project and Unreal running. Each truncated frame now costs one capture instead of two seconds. Details and patch are on github.

So my questions become:

  1. Could the TOP skip a capture without depth or IR, or one the tracker rejects, instead of
    reopening the device?
  2. Could it use synchronized_images_only = 1 when body tracking is on? I could not test it,
    because the TOP does not expose the setting.
  3. Could a reopen show up as a warning on the TOP? Right now it is silent.

Hey @ulf

Thank you for the detailed report and sorry for the delayed response.

I haven’t been able to reproduce this issue on my end. I only have one Femto Mega that’s able to connect via Ethernet. Have you been able to reproduce this behaviour if your cameras are connected using USB or if you’re only using one camera?

Responses to your questions:

  1. When a capture fails, we reboot the camera as you have identified. There doesn’t seem to be a straightforward way to determine if an error is fatal or not. We do have some ideas to change our code to be less sensitive to dropped frames, but I can’t say for certain without being able to reproduce this error.
  2. We can expose synchronized_images_only as a new parameter to the Kinect Azure TOP. As a note, from my testing, it seems like both color and depth sensors must be enabled for a camera to start if this parameter is set to true.
  3. We can also expose a reopen to be a new channel in the Info CHOP. Would this work for you?

Since I’m not able to adequately test your issue, would you be open to testing some builds for us? If you are, can you email us at support@derivative.ca with a link to this forum post?