The 2026-10-16 user crash report (544x960 project, reshape '[1, 24, 1, 1,
15, 2, 8, 2]' invalid for input of size 12240) decodes to a keyframe
conditioning latent of 272x480/16: the raw, unaligned half-res first pass
that e83beb1 already floors onto the 32px grid. The crashing install runs
a pre-fix pack build (the workflow's embedded pack hash is not on main),
so the reported trace itself is stale-build behavior - users must update
the pack and restart ComfyUI.
This commit closes the two remaining paths that could still feed an odd
latent to comfy's patchify_video:
- EasyMultiTrackProject now floors info width/height onto CANVAS_MULTIPLE
right after parsing tracks_info. The MultiTrack Editor only offers grid
sizes, but external app clients inject project dimensions through the
ComfyUI API and could send any value; media loading, reference encoding,
both sampling passes and exports now agree on one aligned canvas
(no-op for every editor-selected size).
- MiniMaxH3ReferenceToVideoFallback grid-aligns reference video frames
before vae.encode, matching what comfy core's native node already does
on builds that ship H3 (the fallback only registers on older builds).
Adds regression tests: the 544x960 single-pass first pass must condition
at 256x480, off-grid API dimensions (530x964) must align to 512x960 with
a 1.25x second pass at 640x1216, and the reference fallback must encode
off-grid ref videos on the grid.