dragonflight/services/capture/deltacast-bridge
OpenCode feeab99a36 feat(bridge): --audio-delay-ms knob for deterministic A/V alignment
The deltacast bridge captures audio (DISJOINED_ANC VHD stream -> FIFO) and
video (VHD stream -> framecache ring -> fc_pipe -> ffmpeg) on separate paths
with independent buffering. The video path is buffered deeper, so audio reaches
the muxer AHEAD of its matching video frame (user-confirmed: audio ahead of
video on lip-sync). --audio-delay-ms / FC_AUDIO_DELAY_MS prepends N ms of real
PCM silence to the audio stream once per reader-attach, shifting the audio
timeline N ms later to re-align. One value, all 8 ports, drift-free (ffmpeg
derives audio PTS from sample count). Default 0 = unchanged (non-destructive).
Operator tunes once against a lip-sync reference. Also fixes promotion worker
to reset orphaned processing assets on failure (was stuck forever).
2026-06-05 11:00:15 +00:00
..
CMakeLists.txt feat(framecache): phase 2 — deltacast-bridge writes to shm ring 2026-06-03 15:13:20 +00:00
fc_writer.c debug(fc_writer): add trace logs for GET slots path 2026-06-04 01:13:19 +00:00
fc_writer.h feat(framecache): phase 2 — deltacast-bridge writes to shm ring 2026-06-03 15:13:20 +00:00
main.c feat(bridge): --audio-delay-ms knob for deterministic A/V alignment 2026-06-05 11:00:15 +00:00