Navigation Menu

Skip to content

Mr-Z-2697/ddfi-rife

Repository files navigation

中文说明

ddfi

dedup frame interpolate

A clumsy video auto duplication remove and frame interpolate script (mainly for 24fps cfr animation with dup-frames (by dup-frames I mean the shot on twos, threes and etc. things)

The basic idea:

  1. Remove duplicated frames (resulting a vfr video that technically has minimal fps 8)
  2. Interpolate 8x (to ensure minimal fps parts will be above 60fps after interpolation)
  3. Extract timestamps from de-dupped video, then calculate the timestamps of interpolated frames
  4. "Correct" the interpolated video with caculated timestamps
  5. Convert to 60fps cfr video

(yeah, its basically just simply excuting commands automatically except new-timestamps calculating part)

Usage:

run ddfi2.py -h or python ddfi2.py -h for detail

Example:

left: this script(rife ver.) | right: use rife directly (2-pass, with mvtools to make 24->96->60)

comp.mp4

Downsides:

more visible artifacts

rife ver.: IMG svp ver.: IMG

About

A clumsy video auto duplication remove and frame interpolate script (mainly for 24fps cfr animation with dup-frames)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages