ZAMPP2: DeckLink Duo Mini — frame=0 despite signal detection, /dev/blackmagic not mounted in sidecar container #10
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixed in commit on main.
Root cause 1 —
/dev/blackmagicnot mounted in sidecar:recorders.jsPOST /:id/startnever added device binds for SDI containers. Fix: whensource_type = 'sdi',/dev/blackmagic:/dev/blackmagicis now appended toHostConfig.Bindsfor local spawns, and the same bind is applied by the node-agent for remote spawns.Root cause 2 — sidecar spawned on wrong host:
All containers were always spawned against the local Docker socket on zampp1, even when the recorder's
node_idpointed to zampp2 (where the card is). Fix:resolveNodeTarget()looks up the recorder's cluster node; if it's a different hostname the sidecar is created viaPOST /sidecar/starton the remote node-agent instead.New node-agent endpoints (talk to local
/var/run/docker.sock):POST /sidecar/start— create + start container (host network, privileged,/dev/blackmagicbind for SDI)DELETE /sidecar/:id— stop + removeGET /sidecar/:id/status— Docker inspect + poll capture servicedocker-compose.worker.yml— node-agent now mounts/var/run/docker.sockand acceptsLIVE_DIRenv var.Deploy steps on zampp2:
ZAMPP2: DeckLink Duo (2) captures 0 video frames — port likely configured as outputto ZAMPP2: DeckLink Duo Mini — frame=0 despite signal detection, /dev/blackmagic not mounted in sidecar container