mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 11:26:02 +00:00
Adds a standalone smoke harness for the HDR encode pipeline plus a guard against the silent-decode-failure regression in blitHdrVideoLayer. - packages/producer/scripts/hdr-smoke.ts: end-to-end harness that renders the hdr-pq and mixed-sdr-hdr regression fixtures, then ffprobes both stream-level and frame-level side-data so we can catch missing MasteringDisplay / MaxCLL SEI in CI without hand-running ffprobe. Frame probe uses -show_frames -read_intervals %+#1 since x265 emits HDR metadata as in-band SEI prefix NAL units, not container-level boxes. - renderOrchestrator.test.ts: new "logs decode errors via the supplied logger" test pinning blitHdrVideoLayer's failure path to log.warn (matches production behaviour — silent failures were the original PR-314 review concern). - renderOrchestrator.ts: doc-only — clarify that blitHdrVideoLayer is exported so the time→frame math, last-frame freeze, border- radius detection, and affine-vs-region branch can be unit tested without spinning up the full producer. - .gitignore: ignore packages/producer/tests/hdr-regression/_renders and the generated hdr-full-demo workdir so smoke runs don't pollute git status.