Frame Interpolation - jhogsett/EMA-VFI-WebUI GitHub Wiki
Frame Interpolation - Use AI to create one or more evenly-spaced between frames
![]() |
---|
Example - Interpolated Frames |
Uses
- Recreate a damaged or missing frame
- Reveal hidden motion between frames
How it works
- Drag and drop, or click to upload Before Frame and After Frame PNG files
- Set Split Count to choose the number of new Between Frames
- Each split doubles the frame count
- Click Interpolate
- The Animated Preview panel will show a GIF of the original and newly created frames
- The Download box gives access to
- Animated GIF
- ZIP of original and interpolated frames
- TXT report
Understanding Frame Interpolation
Example: 1 Split Creates 1 New Frame:
- B is the Before frame, A is the After frame
B-------A
- X is the new frame, splitting the time between B and A @ 50%
B---X---A
Example: 3 Splits Create 7 New Frames:
- B is the Before frame, A is the After frame
B-------------------------------A
- X is the frame for the first split, dividing the time between B & A @ 50%
B---------------X---------------A
- Y & Y are the frames for the second split, dividing the times between B & X and X & A @ 25% and 75%
B-------Y-------X-------Y-------A
- Z, Z, Z & Z are the frames for the third split, dividing the times between B & Y, Y & X, X & Y, Y & A @ 12.5%, 37.5%, 62.5% and 87.5%
B---Z---Y---Z---X---Z---Y---Z---A
The number of interpolated frames is computed by this formula:
- F=2**S-1, where
- F is the count of interpolated frames
- S is the split count
Tip: It can help to think of time intervals instead of frames
- At first there's 1 time interval between the before and after frames
- The first split divides time into 2 intervals, creating 1 interpolated frame
- A second split divides those into 4 intervals, creating 2 interpolated frames
- A third split divides those into 8 intervals, creating 4 interpolated frames
- The resulting 8 intervals minus the original one equals 7 new intervals / frames