trim windows on every media input, and a per-reference pixel budget
Sandpies
a2cfa42
Using the soundtrack for the first time exposed the gap: a 173 s track under a
9.4 s chain, and `loop` silently takes the first 9.4 s -- which for a mastered
track is the intro. There was no way to say WHICH 9.4 seconds.
The same hole was on the other two inputs, and on one of them it is not a
convenience issue. MiniMaxH3ReferenceToVideo hands the whole voice file to
`_encode_ref_audio` with no cap, and every latent frame that produces is a
token the DiT attends over on every step of every hop. An untrimmed
three-minute voice reference is a large, silent, permanent tax on the render.
The reference clip is truncated to the hop length, but only from frame 0, so
you could not point at the motion you wanted.
Six FLOAT widgets, appended last: voice / reference_video / music, start+end.
An end of 0.0 means "to the end of the file", so the default pair is untrimmed
and a longer replacement file still plays out. `media.clip_window` is the ONE
definition of what a window means -- four readers…