dragonflight/services/playout/src
Zac Gaetano 426273129d fix(playout): video-only HLS preview (broken audio time_base was the black-screen cause)
Definitive root cause of the black preview, found via server-side ffmpeg
decode of the live playlist:

  Error while decoding stream #0:1: Invalid data found (x57)
  [abuffer] Value inf for parameter 'time_base' ... time_base to value 1/0

Stream #0:1 is the AAC audio. CasparCG's real-time channel feeds the HLS
consumer an audio stream whose muxed time_base is 1/0 (infinity). ffmpeg
itself cannot decode the playlist, and hls.js silently fails to append the
fragment after demux, so the <video> stays at readyState 0 (black) even
though the video PTS is perfectly continuous and segments serve 200.

Fix: drop audio from the HLS confidence monitor (-an). The video track is
clean h264 and plays in hls.js. Program audio still rides the primary
SRT/RTMP/SDI/NDI output, which is unaffected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-31 13:44:45 -04:00
..
amcp.js feat(playout): CasparCG sidecar image + Node AMCP shim 2026-05-30 14:02:25 +00:00
index.js feat(playout): CasparCG sidecar image + Node AMCP shim 2026-05-30 14:02:25 +00:00
playout-manager.js fix(playout): video-only HLS preview (broken audio time_base was the black-screen cause) 2026-05-31 13:44:45 -04:00