Nodes/ComfyUI-FrameUtilitys/Frame Replacer ✂️
ComfyUI Node

Frame Replacer ✂️

Precisely replaces frames in video sequences with advanced targeting and blending

By lum3on·Created about a year ago·Updated 2 months ago· 16
Frame Replacer ✂️
  • source_video
  • replacement_frames
  • modified_video
target_frame0
replace_count1
width512
height512
interpolationbilinear
methodkeep proportion
conditionalways
multiple_of0
blend_edgesfalse
blend_strength0.5
loop_replacementtrue
preserve_lengthtrue
memory_efficienttrue
Categoryimage/video

Inputs (15)

NameTypeDefaultDescription
source_videoIMAGESource video sequence to modify (IMAGE tensor format)
replacement_framesIMAGEFrames to use as replacements
target_frameINT00–10000Starting frame index for replacement (0-based)
replace_countINT11–1000Number of frames to replace
widthINT51264–8192Target width for frame resizing
heightINT51264–8192Target height for frame resizing
interpolationCOMBObilinearInterpolation method for resizing
methodCOMBOkeep proportionResizing method
conditionCOMBOalwaysWhen to apply resizing
multiple_ofINT00–512Round dimensions to multiple of this value (0 = disabled)
blend_edgesoptBOOLEANfalseSmooth blend at replacement boundaries
blend_strengthoptFLOAT0.50–1Strength of edge blending (0.0 = no blend, 1.0 = full blend)
loop_replacementoptBOOLEANtrueLoop replacement frames if fewer than replace_count
preserve_lengthoptBOOLEANtrueMaintain original video length
memory_efficientoptBOOLEANtrueProcess in chunks to save memory

Outputs (1)

NameTypeDescription
modified_videoIMAGE