Nodes/WhiteRabbit/🐇 RIFE Seam Timing Analyzer
ComfyUI Node

🐇 RIFE Seam Timing Analyzer

Finds a smooth loop timing: measures motion in your clip and solves a set of t-values across the wrap [last→first] so the seam blends naturally.

By Artificial-Sweetener·Created 12 months ago·Updated 3 months ago· 75
🐇 RIFE Seam Timing Analyzer
  • full_clip
  • t_list_csv
  • multiplier
ckpt_namerife47.pth
scale_factor1
ensembletrue
multiplier4
use_first_twotrue
use_last_twotrue
use_global_medianfalse
calibrate_metricMSE
calibrate_iters12
t_min0.000
t_max0.960
auto_tmaxfalse
t_cap0.9950
Categoryvideo utils

Inputs (14)

NameTypeDefaultDescription
ckpt_nameCOMBOrife47.pthChoose the RIFE 4.7 or 4.9 model file (used only to test candidate timings).
scale_factorCOMBO1Quality vs speed for the probe renders. 1.0 recommended.
ensembleBOOLEANtrueBlend forward & backward predictions to reduce artifacts (slower).
full_clipIMAGEYour input clip (≥2 frames). Real motion here decides the loop seam timing.
multiplierINT4How many new frames you plan to create at the loop seam [last→first]. Set 0 to skip.
use_first_twoBOOLEANtrueMatch the motion between the first two frames in your clip.
use_last_twoBOOLEANtrueMatch the motion between the last two frames in your clip.
use_global_medianBOOLEANfalseUse the median motion across the whole clip (needs ≥3 frames). Helps ignore outliers.
calibrate_metricCOMBOMSEHow we compare frames while solving: MSE (more sensitive) or L1 (more forgiving).
calibrate_itersINT124–24Search depth per solve. Higher = slower, but a tighter match.
t_minFLOAT0.0000–1Earliest allowed blend point at the seam (0 = exactly the last frame).
t_maxFLOAT0.9600–1Latest allowed blend point at the seam (keep below 1.0 to avoid sticking to the first frame).
auto_tmaxoptBOOLEANfalseAutomatically push the upper limit closer to the next frame to hit the target motion step.
t_capoptFLOAT0.99500.5–0.9999Safety cap used with the auto upper limit (keeps it just shy of 1.0).

Outputs (2)

NameTypeDescription
t_list_csvSTRING
multiplierINT