Fannovel16 / ComfyUI-Frame-Interpolation

A custom node set for Video Frame Interpolation in ComfyUI.
MIT License
405 stars 41 forks source link

Film VFI breaking perfect video loops #44

Open LuisBurdallo opened 7 months ago

LuisBurdallo commented 7 months ago

I was wondering if it could be possible to make the interpolation avoid breaking a perfect loop. I guess by not creating frames after the final frame? Don't know how it works internally but it seems to break the perfect loops I create with AnimateDiff.

smbell1979 commented 6 months ago

I just came here to see if there was any info on this myself! I'd love to see any option that interpolated between the first and last frames as well. I think this might solve the issue.

LuisBurdallo commented 6 months ago

I just came here to see if there was any info on this myself! I'd love to see any option that interpolated between the first and last frames as well. I think this might solve the issue.

Yes interpolating from last and first would be a good option if possible.

saruzaru commented 5 months ago

would it be possible to add a Loop toggle to the VFI nodes? (or at least the FILM VFI) i'm generating loops and then interpolating but there are a few missing frames at the end all it would need internally is adding the first frame after the last frame, generate the missing frames and deleting the last frame so that there's no doubling of the first frame.

ak3dde commented 2 months ago

FilmVFI_fix

Found a solution: By duplicating the first frame of the perfect loop and adding it to the end of the sequence, FilmVFI is keeping the perfect seemless loop in place. That would be a nice addtion to the nodes.