Nodes/Bart's ComfyUI Nodes/Bart's WAN Latent Trim Start 🎞️
ComfyUI Node

Bart's WAN Latent Trim Start 🎞️

Cut frames from the start of a WAN video latent before VAE decode. The count is in pixel frames, converted to latent frames (4x temporal compression) and snapped to the nearest latent boundary.

By bartenevveΒ·Created 4 months agoΒ·Updated 4 days agoΒ· 1
Bart's WAN Latent Trim Start 🎞️
  • samples
  • samples
  • removed_frames
  • frames_left
β—„trim_start_frames0β–Ί
CategoryBart's nodes/Latent

Inputs (2)

NameTypeDefaultDescription
samplesLATENTβ€”
trim_start_framesINT00–16384Pixel frames to remove from the start. Converted to latent frames as N / 4 rounded to the nearest whole frame, halves up (not Python's round-half-even); multiples of 4 are exact.

Outputs (3)

NameTypeDescription
samplesLATENTβ€”
removed_framesINTβ€”
frames_leftINTβ€”