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> |
||
|---|---|---|
| .. | ||
| amcp.js | ||
| index.js | ||
| playout-manager.js | ||