mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-05 00:56:23 +00:00
analyzeKeyframeIntervalsUncached returned isProblematic: false whenever a video had fewer than two keyframes. A video with exactly one keyframe is the worst case for the failure the check exists to catch: every seek past 0 lands inside a single GOP spanning the whole file, twice as bad as the 5s-interval case the compiler already warns about. The single-keyframe interval is now the video stream's own duration, not the container's, since the two can disagree, and is flagged past the same 2s threshold as the multi-keyframe path. Zero keyframes (still images, failed probes) keeps the prior not-problematic result.