The ~2.5s of leading silence at record start was the VHD audio slot QUEUE: while the recorder is idle (no FIFO reader), the bridge blocks on open(O_WRONLY) but the board keeps buffering audio slots. When the record ffmpeg attaches, the bridge streamed that stale backlog first — heard as leading silence and pushing audio out of alignment with the live video. On each reader attach, drain slots that lock FAST (already-queued backlog) and stop at the first lock that takes ~a frame period (= waiting on a live slot), so the reader is handed the live edge, A/V aligned. |
||
|---|---|---|
| .. | ||
| decklink-bridge | ||
| deltacast-bridge | ||
| sdk | ||
| src | ||
| .dockerignore | ||
| decklink-sdk16.patch | ||
| Dockerfile | ||
| package.json | ||
| patch_decklink.py | ||