Skills › HyperFrames › remotion-to-hyperframes › expected.json
expected.json
26 lines · skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/expected.json at a595755
1{
2 "tier": 1,
3 "name": "title-card-fade",
4 "composition_id": "TitleCard",
5 "description": "Solid black background, single 'HELLO' element fades in 0-0.5s, holds 0.5-2.5s, fades out 2.5-3.0s. Tests the most basic Remotion → HyperFrames translation: a single AbsoluteFill, a single useCurrentFrame-driven interpolate, no audio, no media, no custom React components.",
6 "duration_seconds": 3,
7 "fps": 30,
8 "width": 1280,
9 "height": 720,
10 "ssim_threshold": 0.95,
11 "validation": {
12 "measured_mean_ssim": 0.974,
13 "measured_min_ssim": 0.973,
14 "measured_p05_ssim": 0.973,
15 "measured_p95_ssim": 0.984,
16 "measured_at": "2026-09-18",
17 "measured_against": "remotion@4.0 (PNG output, BT.709) vs hyperframes@0.7.71 (sub-composition fixtures)"
18 },
19 "translation_notes": [
20 "Remotion: AbsoluteFill → HF: position:absolute;inset:0 div",
21 "Remotion: interpolate(frame, [0,15,75,90], [0,1,1,0]) at fps=30 → HF: paused GSAP timeline with three keyframed tweens at 0s, 0.5s, 2.5s with ease:'none' (linear matches Remotion's default linear interpolation)",
22 "No fonts loaded; both renderers use system Helvetica/Arial fallback. The Linux fallback diverges between Remotion's bundled Chromium and HyperFrames' chrome-headless-shell — same fontWeight:800 renders perceptibly bolder in HF. This costs ~0.025 mean SSIM and is the dominant non-translation noise floor.",
23 "Remotion config must use setVideoImageFormat('png') + setColorSpace('bt709'); the JPEG default writes yuvj420p (full-range) which costs ~0.05 SSIM vs HF's yuv420p (limited-range)."
24 ],
25 "rationale": "Threshold 0.95 sits ~0.02 below measured p05. A real translation regression (wrong easing, wrong durations) drops mean SSIM by 0.05+. Encoder/font drift between CI runs is bounded at ~0.01."
26}