Nodes/WhiteRabbit/πŸ‡ RIFE VFI FPS Resample
ComfyUI Node

πŸ‡ RIFE VFI FPS Resample

Convert a clip from one FPS to another using RIFE 4.7/4.9. Non-integer changes synthesize in-betweens; exact integer downscales just decimate. Includes optional stabilizers to reduce flicker and protect edges.

By Artificial-SweetenerΒ·Created 12 months agoΒ·Updated 3 months agoΒ· 75
πŸ‡ RIFE VFI FPS Resample
  • frames
  • IMAGE
β—„ckpt_namerife47.pthβ–Ί
β—„fps_in24.00β–Ί
β—„fps_out60.00β–Ί
β—„scale_factor1β–Ί
β—„ensembletrueβ–Ί
β—„linearizefalseβ–Ί
β—„lf_guardrailfalseβ–Ί
β—„lf_sigma13.0β–Ί
β—„source_pair_matchfalseβ–Ί
β—„match_a_cap0.020β–Ί
β—„match_b_cap0.0078β–Ί
β—„edge_band_lockfalseβ–Ί
β—„tau_low0.0059β–Ί
β—„tau_high0.0235β–Ί
β—„band_radius4β–Ί
β—„band_soft_sigma2.0β–Ί
β—„clear_cache_after_n_frames10β–Ί
Categoryvideo utils

Inputs (18)

NameTypeDefaultDescription
ckpt_nameCOMBOrife47.pthChoose the RIFE 4.7 or 4.9 model file from the base pack.
framesIMAGEYour input clip: one image per frame.
fps_inFLOAT24.000.000001–1000Current frame rate of your clip (frames per second).
fps_outFLOAT60.000.000001–2000Target frame rate you want (frames per second).
scale_factorCOMBO1Quality vs speed. 1.0 recommended. Lower = faster/softer; higher = sharper/slower.
ensembleBOOLEANtrueBlend forward & backward predictions to reduce artifacts (slower).
linearizeBOOLEANfalseWork in linear light for more accurate brightness and gradients (slower).
lf_guardrailBOOLEANfalseKeep overall brightness and gradients close to the originals to reduce flicker.
lf_sigmaFLOAT13.00–64How strong the low-frequency smoothing is. Higher = smoother changes.
source_pair_matchBOOLEANfalseMatch exposure and contrast to the source pair to reduce flicker.
match_a_capFLOAT0.0200–0.2Maximum change allowed for exposure scale.
match_b_capFLOAT0.00780–0.1Maximum change allowed for brightness offset.
edge_band_lockBOOLEANfalseProtect sharp edges: near edges, mix in more of the nearest real frame to avoid smearing.
tau_lowFLOAT0.00590–0.25Edge sensitivity: lower threshold (smaller finds more edges).
tau_highFLOAT0.02350–0.5Edge sensitivity: higher threshold (larger finds only strong edges).
band_radiusINT40–64Width of the edge protection band (pixels).
band_soft_sigmaFLOAT2.00–16Soften the edge band. Higher = smoother.
clear_cache_after_n_framesINT101–1000Free up GPU memory every N output frames (advanced). Set 0 to never.

Outputs (1)

NameTypeDescription
IMAGEIMAGEβ€”