Nodes/ComfyUI-H3-Motion-Context-Auto-Chain-addon/H3 Auto Chain Motion Context Trim
ComfyUI Node

H3 Auto Chain Motion Context Trim

Remove the leading pinned frames from a decoded H3 clip, trimming picture and sound by the same duration.

By Ltamann·Created 2 days ago·Updated about 14 hours ago· 18
H3 Auto Chain Motion Context Trim
  • images
  • audio
  • images
  • audio
trim_frames0
fps24.000
match_tailtrue
Categoryconditioning/minimax

Inputs (5)

NameTypeDefaultDescription
imagesIMAGE
trim_framesINT00–4096
audiooptAUDIODecoded audio for the same clip. Trimmed by the matching duration so sound stays locked to picture. Leave unwired for silent clips.
fpsoptFLOAT24.0001–240Frame rate used to convert the trim into an audio duration. Must match what you feed Create Video.
match_tailoptBOOLEANtrueMake the audio duration equal frames/fps exactly, trimming a long tail or padding a short one with silence. H3 rounds its audio grid to the nearest step, so each clip carries about 8ms too much or too little sound, which accumulates at every join in a chain.

Outputs (2)

NameTypeDescription
imagesIMAGE
audioAUDIO