mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 07:50:13 +00:00
feat(producer): render long videos with windowed source frames behind a flag (#7242)
* feat(producer): render long videos with windowed source frames, behind HF_VIDEO_FRAME_WINDOW Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(producer): windowed calibration sees real frames, and the late full extraction reports itself Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(producer): windowed frames match a full extraction, frame for frame Renders ten compositions twice on the segmented route, with and without HF_VIDEO_FRAME_WINDOW, and compares FFmpeg framemd5 of the two outputs: a mid-clip start, NTSC 24000/1001, a loop crossing a slice edge, a playback-rate ramp, a held tail, two clips of one file, a VFR source beside a CFR one, two workers, auto workers (capture calibration runs), and motion blur, which declines the window. Each pair must also report the same capture mode. A separate test samples segment-frames during a four-segment, two-worker render and holds its peak under workers x segment frames x the largest frame file x 1.2, and checks the folder is empty once the render closes. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * test(producer): windowed frames test finds its own work dir and asserts what it claims Find the render's work dir with resolveRenderWorkDirPrefix and the owner record's pid, so the peak test works on Linux and never samples or deletes a concurrent render's dir. Assert the measured worker count, calibration, and the exact up-front frame count of the VFR video. Retry a dead Chrome only with HF_TEST_RETRY_BROWSER_STALL=1, and fail a case whose windowed render alone needed it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(producer): windowed segments honour keep-segments and cleanup never fails a render Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(producer): trim the comments the windowed frames route added Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(producer): the VFR-beside-CFR extraction test moves to the integration lane Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore(producer): raise the package size budget for windowed video frames The new segment frame modules add about 9 KB to the packed producer package. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(producer): windowed frames header says what the real runs measured Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
478ef2f26e
commit
968f97fe95
@@ -36,7 +36,7 @@
|
||||
"unpacked": 541601
|
||||
},
|
||||
"@hyperframes/producer": {
|
||||
"packed": 845000,
|
||||
"packed": 857000,
|
||||
"unpacked": 3081613
|
||||
},
|
||||
"@hyperframes/sdk": {
|
||||
|
||||
Reference in New Issue
Block a user