dthpham / sminterpolate

Make motion interpolated and fluid slow motion videos from the command line.
MIT License
1.38k stars 91 forks source link

[Feature Request] Mode for replacing duplicate frames with interpolated #76

Open OstrichRider opened 6 years ago

OstrichRider commented 6 years ago

Two modes actually. Both will check the next frame if it's a duplicate before interpolating to it.

First mode keeps the first frame in the sequence of duplicates and discards the rest, replacing them with interpolated ones up until the next differing frame (Ideal for repairing live streamed content where dropped frames will end up being a repeated version of the last available frame).

Second mode will still discard all but one of the duplicate frames in a sequence, however it will place that one frame in the center of the sequence instead of at the beginning. This retains the timing of the source video (Ideal for drawn animation).