xinntao / Real-ESRGAN

Real-ESRGAN aims at developing Practical Algorithms for General Image/Video Restoration.
BSD 3-Clause "New" or "Revised" License
27.44k stars 3.44k forks source link

Not process duplicate frames? #444

Open SwayStar123 opened 1 year ago

SwayStar123 commented 1 year ago

Currently the exe file just runs through every frame and upscales it, even the duplicate frames, i feel like it would be alot faster if it accounted for duplicates

xinntao commented 1 year ago

A good idea~ Will update when we are free~

TechnoMasterBoy commented 1 year ago

Another thing that could speed up the process is to not upscale completely black/white frames. Simply resize them. Though I feel like duplicate frames would give significantly bigger boost in speed due to hentai/anime usually having thousands of identical frames.

SwayStar123 commented 1 year ago

Yes, I feel like with some simple python the whole process could be automated too, I dont think a user needs to seperate the video into frames and then merge it back themselves

Splendide-Imaginarius commented 1 year ago

Looks like https://github.com/xinntao/Real-ESRGAN/pull/252 would help here.

TechnoMasterBoy commented 1 year ago

Looks like #252 would help here.

Now to wait 100 years for a windows build with it.