n00mkrad / flowframes

Flowframes Windows GUI for video interpolation using DAIN (NCNN) or RIFE (CUDA/NCNN)
GNU General Public License v3.0
1.47k stars 114 forks source link

Massively improved the efficiency of Magick based frame de-deuplicati… #181

Closed Hacktank closed 1 year ago

Hacktank commented 1 year ago

…on, as well as the initial importing of files. The dupes.json file generated was naming the wrong filenames as dupes. This is now fixed.

I pretty much rewrote the entirety of RemoveDupeFrames(). It now runs on multiple threads, fully leveraging the CPU. The image cache also served no purpose and added extra overhead.

n00mkrad commented 1 year ago

Yeah that code was kinda messy. Tested yours and it seems to works fine.