# Handoff Calibration, Diagnostics & Licensing

> Zero-flash temporal handoff modes, MultiView Self-Healing, Aux Outputs 2–8, mDNS diagnostics, Live Captions checks, and license management.

Source: https://dvefx.com/docs/troubleshooting/handoff-and-diagnostics
Last updated: 2026-12-04

Use this guide when calibrating frame-accurate **DVE FX** transitions or diagnosing network discovery, Live Captions routing, and license activation.

## Zero-Flash Temporal Handoff Modes

When transitioning back from `DVE FX Return` to native vMix inputs via `CutDirect`, OMT 1.0 introduces slight transport buffering relative to raw hardware inputs. Configure the handoff strategy in the diagnostics UI or via `POST /api/v1/handoff`:

| Mode (`mode`) | Description | When to Use |
| :--- | :--- | :--- |
| `motion_masked` *(default)* | Emits calibrated Frame-1 shutter and radial velocity on `CutDirect` to visually mask transport handoff latency. | Recommended default for all vMix shows. |
| `frame_delay_sync` | Aligns vMix camera inputs with `SetFrameDelay` (`frame_delay_frames` `0..=30`, optionally applied via `apply_to_vmix: true`). | Frame-locked studio cameras requiring deterministic delay matching. |
| `unmasked_cut` | Delays animation start by 4 frames so raw OMT handoff timing is visible. | Diagnostic baseline testing only. |

### Avoiding 1–2 Frame MultiView Tile Pops

If you see an unstyled MultiView flash briefly for 1–2 frames on air, make sure operators do **not** click the small per-tile **Cut** button directly inside a vMix MultiView thumbnail. vMix executes per-tile cuts internally before emitting `TALLY OK`. Instead, cue the MultiView input in **Preview** and switch using the center **Cut**, **Fade**, **DVE FX** dock buttons or T-Bars, hotkeys, or `/api/v1/*`.

## MultiView Self-Healing, Aux Outputs & Live Captions Routing

- **MultiView Self-Healing:** If a child camera or graphic assigned to a MultiView overlay is deleted in vMix, **DVE FX** automatically selects a safe replacement input, restores exact coordinates and crops, migrates per-layer overrides, and merges live with zero black flash.
- **Aux Outputs `2–8` & `SnapshotInput` Overflow:** **DVE FX** dynamically routes active slides, videos, and GT titles across vMix Outputs `2–8` while shielding operator Clean Program (`Output`) and `MultiView` slots. If Aux outputs are busy or unavailable on vMix Basic HD / HD, **DVE FX** automatically snapshots up to 6 overflow inputs asynchronously.
- **Live Captions & Feedback-Loop Guard:** Run the free 5-second offline **Test Audio & Captions** check inside **DVE FX Settings → Captions & Translation** before going live. When active, **DVE FX** polls bus assignments every 350 ms to strip any accidental return-to-ingest loop in under 500 ms and protects Outputs `2–4` when CEA-608/708 RTMP injection (`rtmp://127.0.0.1:1935/live`) is enabled.

## Network, mDNS & M0 Wake Diagnostics

- **No vMix Connection (`TCP 8099`):** Confirm **vMix Settings → Web Controller → Enabled** is checked. Verify `curl.exe -s http://127.0.0.1:8088/api/` returns vMix XML on the vMix PC.
- **Missing Cameras or Aux Outputs (`UDP 5353`):** Pause any active VPN client, verify Windows Defender Firewall permits `UDP 5353` (mDNS) and `TCP 6400–6600` (OMT), and click **Rescan Sources** (`POST /api/v1/discover`).
- **M0 Dormant-Socket Wake Benchmark:** From localhost only, run `POST /api/v1/benchmark/m0` (`{ "cycles": 20 }`, clamped `3..=200`, skipped while live on air) or launch `dvefx.exe --headless --self-bench-secs 5` over SSH to measure GPU + transport latency.
- **Live Telemetry & Logs:** Inspect real-time frame times (`upload_ms`, `gpu_render_ms`, `encode_send_ms`, `p99_frame_ms`) at `GET /api/v1/telemetry`, or open the logs folder from the Windows system tray.

## License Activation, Seat Transfers & Config Paths

- **One-Step Workstation Activation:** Open **DVE FX Settings → System** and paste your `DVEFX-XXXX-XXXX-XXXX-XXXX` key (from checkout or email) and click **Activate**. **DVE FX** exchanges the key once with `https://dvefx.com/api/v1/licenses/activate` for a machine-bound Ed25519 token (`DVEFX1.<payload>.<signature>`) tied to your deterministic Machine ID (`PC-...`).
- **Local Show-Day Verification:** After activation, **DVE FX** verifies the signed `DVEFX1` token locally on your workstation with zero internet connection or phone-home required during live shows.
- **Seat Deactivation & Hardware Transfers:** Deactivate retired or rebuilt machines anytime inside the [Customer License Portal](/portal) to immediately free seats for replacement rigs (90-day transfer allowance scales with seats: `6` on 2D Essential and 3D Studio Pro, `18` on Studio Fleet).
- **12-Month Updates & Optional Year-2+ Renewals:** Your owned release remains unlocked forever. Optional Year-2+ update passes cost `$39/yr` (2D Essential), `$79/yr` (3D Studio Pro), or `$179/yr` (Studio Fleet) when renewed on time or within the 30-day grace period (`$49` / `$99` / `$229` if lapsed longer than 30 days). After renewing or upgrading 2D → 3D, click **Refresh License** inside **DVE FX Settings → System**.
- **Local API & Custom Endpoints:** Local automation on `127.0.0.1` can call `POST /api/v1/license` with `{ "license_key": "DVEFX-..." }`, `{ "refresh": true }`, `{ "token": "DVEFX1..." }`, or `{ "clear": true }`.
- **Persistent Config Location:** **DVE FX** stores settings at `%APPDATA%\DVE FX\config.json` on Windows (auto-migrating legacy `C:\dvefx\config.json`). Override the path anytime via `DVEFX_CONFIG_PATH`. Stream keys and YouTube CC URLs are encrypted locally via Windows DPAPI in `%APPDATA%\DVE FX\live_ai_secrets.bin`.
