ComfyUI Node
H3 Context Trim
Remove the leading pinned frames from a decoded H3 clip, trimming picture and sound by the same duration.
H3 Context Trim
- images
- audio
- images
- audio
◄trim_frames0►
◄fps24.000►
◄match_tailtrue►
Categoryconditioning/minimax
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| trim_frames | INT | 00–4096 | — |
| audioopt | AUDIO | Decoded audio for the same clip. Trimmed by the matching duration so sound stays locked to picture. Leave unwired for silent clips. | |
| fpsopt | FLOAT | 24.0001–240 | Frame rate used to convert the trim into an audio duration. Must match what you feed Create Video. |
| match_tailopt | BOOLEAN | true | Truncate or zero-pad audio so its duration equals frames/fps exactly. H3 rounds its 40 Hz audio grid to the nearest step, producing about 8ms of excess or shortage on some lengths. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| audio | AUDIO | — |