Nodes/Mickmumpitz-Nodes/Boundary Frame Extractor
ComfyUI Node

Boundary Frame Extractor

Extracts the two boundary frames surrounding a broken region in a video batch for external interpolation (RIFE, FILM, etc.). On iteration 0 the images pass through unchanged. On iteration 1+ the node outputs the frame immediately before and the frame immediately after the broken region so an interpolation node can generate replacements. Connect the outputs to BoundaryFrameSplicer to splice the interpolated frames back in.

By mickmumpitz·Created 7 months ago·Updated 22 days ago· 32
Boundary Frame Extractor
  • images
  • images
  • frame_before
  • frame_after
  • enabled
  • num_start_frames
  • frame_offset
  • num_replace
enabledtrue
num_start_frames1
frame_offset1
num_replace1
CategoryMickmumpitz/video/iteration

Inputs (5)

NameTypeDefaultDescription
imagesIMAGE
enabledoptBOOLEANtrue
num_start_framesoptINT11–99Number of overlap/start frames (connect from IterVideoRouter)
frame_offsetoptINT10–99Position of first broken frame relative to end of start frames (1 = first frame after overlap)
num_replaceoptINT11–99Number of consecutive frames to replace

Outputs (7)

NameTypeDescription
imagesIMAGE
frame_beforeIMAGE
frame_afterIMAGE
enabledBOOLEAN
num_start_framesINT
frame_offsetINT
num_replaceINT